tomli: Don't worry about specific alpha releases (#3448)

This prevents bugs due to pypa/packaging#522.

Fixes #3447.
This commit is contained in:
Jelle Zijlstra 2022-12-17 19:02:01 -08:00 committed by GitHub
parent 23b92b48a5
commit cd9fef8bab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -35,6 +35,9 @@
- Upgrade mypyc from `0.971` to `0.991` so mypycified _Black_ can be built on armv7 - Upgrade mypyc from `0.971` to `0.991` so mypycified _Black_ can be built on armv7
(#3380) (#3380)
- Drop specific support for the `tomli` requirement on 3.11 alpha releases, working
around a bug that would cause the requirement not to be installed on any non-final
Python releases (#3448)
### Parser ### Parser

View File

@ -67,7 +67,7 @@ dependencies = [
"mypy_extensions>=0.4.3", "mypy_extensions>=0.4.3",
"pathspec>=0.9.0", "pathspec>=0.9.0",
"platformdirs>=2", "platformdirs>=2",
"tomli>=1.1.0; python_full_version < '3.11.0a7'", "tomli>=1.1.0; python_version < '3.11'",
"typed-ast>=1.4.2; python_version < '3.8' and implementation_name == 'cpython'", "typed-ast>=1.4.2; python_version < '3.8' and implementation_name == 'cpython'",
"typing_extensions>=3.10.0.0; python_version < '3.10'", "typing_extensions>=3.10.0.0; python_version < '3.10'",
] ]