332 Commits

Author SHA1 Message Date
Paul Golter
d520f6bb33 Bumped version to 1.5 v1.5 2021-07-22 12:36:15 +02:00
Sybren A. Stüvel
97b1a4d922 Drop support for Python 3.5 and 3.6, add support for 3.8 and 3.9
Python 3.5 is EOL already, and Blender never used version 3.6 (it went
straight to 3.7), hence 3.6 was never tested explicitly.

Python 3.7 or newer is required from now on.
2021-07-22 12:03:27 +02:00
Sybren A. Stüvel
4e51b82e4c Bumped version to 1.5b0 2021-07-22 12:03:27 +02:00
Sybren A. Stüvel
113db18211 Bumped version to 1.4.1 v1.4.1 2021-07-22 11:40:15 +02:00
Sybren A. Stüvel
70a56d45b9 Document rollback of Python version bump in CHANGELOG.md 2021-07-22 11:40:10 +02:00
Sybren A. Stüvel
2fe39fb347 Revert "Bump Python version to 3.9"
This reverts commit 46466de7db924d374a97c74219db9694b9a67bbd.

Tox wasn't set up correctly for this bump, and we may want to keep
compatibility with older Blenders as well.
2021-07-22 11:37:04 +02:00
Sybren A. Stüvel
b36effa6ec Bumped version to 1.4 v1.4 2021-07-22 11:26:03 +02:00
Sybren A. Stüvel
8927461dbf Document dev-environment setup instructions
MyPy wants some extra love nowadays, and Black needs special handling as
well. The latter is only available as beta-release, and Poetry only has "allow
pre-release versions" as global flag, installing way too many beta packages
for my taste.
2021-07-22 11:24:13 +02:00
Sybren A. Stüvel
46466de7db Bump Python version to 3.9
Blender uses Python 3.9 nowadays, so it can be required in BAT as well.
2021-07-22 11:24:13 +02:00
Sybren A. Stüvel
e792f31ced Add Strict Pointer Mode to CHANGELOG.md 2021-07-22 10:54:56 +02:00
Sybren A. Stüvel
bd9ec7ddc7 Control Strict Pointer Mode from the CLI, defaulting to OFF
Due to issues with library overrides and unsynced pointers, it's quite
common for the Blender Animation Studio to get crashes of BAT. To avoid
these, Strict Pointer Mode is disabled when using BAT from the CLI.

Blender Cloud add-on will also get a similar update, so that there also
the Strict Pointer Mode is disabled.
2021-07-22 10:47:50 +02:00
Sybren A. Stüvel
087ff25c76 Add 'strict pointer mode' to BlendFile
Add a 'strict pointer mode' to the `BlendFile` class, which is enabled
by default. This allows users of the `BlendFile` class to decide whether
a bad pointer (i.e. one that points to a non-existing datablock) returns
`None` or raises a `SegmentationFault` exception.
2021-07-22 10:28:48 +02:00
Sybren A. Stüvel
803c38dac1 Cleanup: reformat with Black 2021-07-22 10:14:43 +02:00
Sybren A. Stüvel
99389e8ece Bumped version to 1.3.1 v1.3.1 2021-02-04 12:01:53 +01:00
Sybren A. Stüvel
dd257bad6f Remove assertion that library blend files always exist
Remove an assertion that would cause BAT to raise and exception and halt
when a library blend file is missing. This assertion was fine for aiding
the coding of the library, but now gets in the way of tracing dependencies
of partially checked-out projects.
2021-02-04 11:15:27 +01:00
Sybren A. Stüvel
0a5a50ccf0 Bumped version to 1.3 v1.3 2021-02-02 13:42:09 +01:00
Sybren A. Stüvel
23dea91572 Add support for indirectly linked Geometry Nodes node trees 2021-02-02 13:41:39 +01:00
Sybren A. Stüvel
e4bf2e8e35 Improved path handling
This commit fixes a bunch of issues at the same time, as they are all
related to path handling:

- `pathlib.Path.resolve()` or `.absolute()` are replaced by
  `bpathlib.make_absolute()`. The latter does NOT follow symlinks and does
  NOT network mounts from a drive letter to UNC notation. This also has
  advantages on non-Windows sytems, as it allows BAT-packing a directory
  structure with symlinked files (such as a Shaman checkout).
- Better handling of drive letters, and of paths that cross drive
  boundaries.
- Better testing of Windows-specific cases when running the tests on
  Windows, and of POSIX-specific cases on other platforms.

Thanks to @wisaac for starting this patch in D6676.

Thanks to @jbakker for pointing out the drive letter issue. This fixes
T70655.
2020-03-17 17:15:19 +01:00
Sybren A. Stüvel
3fa4389658 Bumped version to 1.3-dev0 2020-03-17 17:14:00 +01:00
Sybren A. Stüvel
504d2aae0c Test options: don't show logging output
The logging is sent to stdout already (which is captured and printed by
PyTest), so having PyTest also capture and print logging just doubles
the output.

No functional changes.
2020-03-17 16:48:30 +01:00
Sybren A. Stüvel
782293b360 MyPy test fix
Newer versions of MyPy aren't silent any more when they complete succesfully,
so test for 'Success' in the message before failing the test.
2020-03-17 12:29:40 +01:00
Sybren A. Stüvel
d3be952a77 Added Arcanist config file 2020-01-06 11:24:35 +01:00
Sybren A. Stüvel
ad14de92a8 Bumped version to 1.2.2 v1.2.2 2019-10-10 10:35:41 +02:00
Sybren A. Stüvel
b3bbee25f5 Marked version 1.2 as released 2019-10-10 10:34:54 +02:00
Sybren A. Stüvel
0b92037973 Bumped version to 1.2.1
Version 1.2 already existed on pypi by accident.
2019-10-09 08:58:55 +02:00
Sybren A. Stüvel
2e0cfa968b Bumped version to 1.2 2019-10-09 08:56:49 +02:00
Sybren A. Stüvel
625ce0a217 Updated dependencies in poetry.lock 2019-09-27 12:21:19 +02:00
Sybren A. Stüvel
23643ace13 Remove unnecessary dictionary lookup
This may also fix a Windows compatibility issue related to path
normalisation. Untested as it's hard to reproduce, but at least it
shouldn't hurt either.
2019-09-27 12:20:15 +02:00
Sybren A. Stüvel
cb83192e1e Mention T-number in changelog 2019-09-27 12:19:31 +02:00
Sybren A. Stüvel
e7cd6ab70d Fix external smoke caches not being packed 2019-09-27 12:19:22 +02:00
Sybren A. Stüvel
5988f3599a Fix T69976: BAT does not work with FluidSimModifier in Blender 2.81
The `point_cache` pointer was removed from Blender in
{rBd663ec48c06a083de74e90dd9c605e98b28baa37}, and was unused before that
commit.
2019-09-26 12:26:42 +02:00
Sybren A. Stüvel
af63f9c3c8 Allow setting Shaman JWT token in SHAMAN_JWT_TOKEN environment variable
I also removed the unused `shaman/auth.py` file.
2019-09-24 11:49:48 +02:00
Sybren A. Stüvel
910945e44d Added note about RNA and DNA in README.md 2019-08-12 11:47:06 +02:00
Sybren A. Stüvel
40c27641e5 Extended the code example in README.md a bit 2019-08-12 11:38:41 +02:00
Sybren A. Stüvel
a07c25597f Added a code example to the README.md 2019-08-12 10:55:41 +02:00
Sybren A. Stüvel
113b0c9bb8 Fix T65904: External files with same path on different drives are packed once
External files with the same path on different drives are packed as a
single file. In this commit the drive letter is taken into account when
determining the path inside `_outside_project`, so that they are distinct.
2019-06-26 14:37:29 +02:00
Sybren A. Stüvel
f0836417a4 Bumped version to 1.2-dev0 2019-06-12 11:49:27 +02:00
Sybren A. Stüvel
3ae8b512df Updated changelog 2019-06-12 11:49:18 +02:00
Sybren A. Stüvel
b48978f067 Moved from Pipenv to Poetry
All the Blender Institute Python webprojects are moving to Poetry; it works
better than Pipenv in various regards.
2019-06-07 12:49:59 +02:00
Sybren A. Stüvel
f40f7585ed Prevent error when modifying actions dict 2019-06-07 12:35:41 +02:00
Sybren A. Stüvel
37fc7f467a Fix exception when having project on a mapped network drive in Windows 2019-06-07 12:35:41 +02:00
Sybren A. Stüvel
a864ccdf70 Updated changelog 2019-06-05 14:14:00 +02:00
Sybren A. Stüvel
c2e3aea3f6 Bumped version to 1.1.1 v1.1.1 2019-04-18 12:04:51 +02:00
Sybren A. Stüvel
acd5a18bed Import urllib3 from requests.packages.urllib3
This is for compatibility with Blender 2.79.
2019-04-18 12:04:03 +02:00
Sybren A. Stüvel
24eaacff84 Declare requests as dependency
It's used by the Shaman interface only, so other BAT functions could be
used without it as well.
2019-04-18 11:47:28 +02:00
Sybren A. Stüvel
5d376a8054 Allow testing with Tox 2019-04-18 11:43:18 +02:00
Sybren A. Stüvel
9fdfbc9bb3 Bumped version to 1.1 v1.1 2019-03-25 17:46:53 +01:00
Sybren A. Stüvel
be9798cb1c Marked version 1.1 as released 2019-03-25 17:46:38 +01:00
Sybren A. Stüvel
4f05b2d481 Updated URL to Shaman
The Shaman server as standalone component is no more, it's been integrated
into Flamenco Manager.
2019-03-25 17:46:28 +01:00
Sybren A. Stüvel
b418aaf3c4 Bumped version to 1.1.dev2 2019-03-20 13:58:23 +01:00