From: Jelle Zijlstra Date: Sun, 18 Dec 2022 03:02:01 +0000 (-0800) Subject: tomli: Don't worry about specific alpha releases (#3448) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/cd9fef8bab3a39dfba494f1917e4158faba439f9?ds=sidebyside tomli: Don't worry about specific alpha releases (#3448) This prevents bugs due to pypa/packaging#522. Fixes #3447. --- diff --git a/CHANGES.md b/CHANGES.md index 50c0f5d..f786f1a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -35,6 +35,9 @@ - Upgrade mypyc from `0.971` to `0.991` so mypycified _Black_ can be built on armv7 (#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 diff --git a/pyproject.toml b/pyproject.toml index aede497..ab38908 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -67,7 +67,7 @@ dependencies = [ "mypy_extensions>=0.4.3", "pathspec>=0.9.0", "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'", "typing_extensions>=3.10.0.0; python_version < '3.10'", ]