From 7a4f09217e7052dc6371de7945135c5203560315 Mon Sep 17 00:00:00 2001 From: layday Date: Fri, 8 Mar 2024 14:45:04 +0200 Subject: [PATCH] Bump minimum version of packaging 19.0 incorrectly interprets Python version constraints resulting in venv being used in pref to virtualenv when an outer pip is too old. --- pyproject.toml | 2 +- tests/constraints.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1ba6544a..a6d2dbc6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"', diff --git a/tests/constraints.txt b/tests/constraints.txt index 6fae7ac8..89272b73 100644 --- a/tests/constraints.txt +++ b/tests/constraints.txt @@ -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"