Poetry: Bump Python to 3.11 and update build system to poetry-core
The oldest still-supported version of Blender is 4.2-LTS, which uses Python 3.11, so that's what's now the required Python version for BAT. Make the build system depend on `poetry-core` instead of `poetry`, to make package builds faster (especially important when using Tox for testing in various environments). This also re-generates the `poetry.lock` file, so updates the dependencies to their latest version compatible with the `project.toml` file.
This commit is contained in:
parent
3b61399f7f
commit
7322c0772a
@ -5,6 +5,7 @@ changed functionality, fixed bugs).
|
||||
|
||||
# Version 1.21 (in development)
|
||||
|
||||
- Require Python version 3.11 or newer.
|
||||
- Skip packed blend files. BAT will assume that the packed file is self-contained, i.e. any asset used by a packed blend file should also be packed.
|
||||
- Support Geometry Node simulation caches ([#92890](https://projects.blender.org/blender/blender-asset-tracer/pulls/92890)).
|
||||
- Add a `py.typed` marker file, such that tooling like mypy know BAT has type annotations ([#92895](https://projects.blender.org/blender/blender-asset-tracer/pulls/92895)).
|
||||
|
||||
1699
poetry.lock
generated
1699
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
@ -24,7 +24,7 @@ s3 = ["boto3"]
|
||||
zstandard = ["zstandard"]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.9"
|
||||
python = ">=3.11,<4.0"
|
||||
requests = "^2.11"
|
||||
|
||||
# For S3 storage support:
|
||||
@ -55,5 +55,5 @@ bat = 'blender_asset_tracer.cli:cli_main'
|
||||
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry>=0.12"]
|
||||
build-backend = "poetry.masonry.api"
|
||||
requires = ["poetry-core>=2.0.0,<3.0.0"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
||||
@ -6,7 +6,7 @@ max-line-length = 100
|
||||
|
||||
[mypy]
|
||||
# This should match pyproject.toml
|
||||
python_version = 3.9
|
||||
python_version = 3.11
|
||||
|
||||
warn_redundant_casts = True
|
||||
ignore_missing_imports = True
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user