Skip to content

Commit

Permalink
Bump minimum version of packaging
Browse files Browse the repository at this point in the history
19.0 incorrectly interprets Python version constraints
resulting in venv being used in pref to virtualenv when
an outer pip is too old.
  • Loading branch information
layday authored and gaborbernat committed Mar 10, 2024
1 parent 3b9bffc commit 7a4f092
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ urls.issues = "https://github.com/pypa/build/issues"
urls.source = "https://github.com/pypa/build"

dependencies = [
"packaging >= 19.0",
"packaging >= 19.1",
"pyproject_hooks",
# not actually a runtime dependency, only supplied as there is not "recommended dependency" support
'colorama; os_name == "nt"',
Expand Down
2 changes: 1 addition & 1 deletion tests/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
importlib-metadata==4.6
packaging==19.0
packaging==19.1
pyproject_hooks==1.0
setuptools==42.0.0; python_version < "3.10"
setuptools==56.0.0; python_version == "3.10"
Expand Down

0 comments on commit 7a4f092

Please sign in to comment.