From ce4b136f60af44fe8af3ccc140712cd012f4d142 Mon Sep 17 00:00:00 2001 From: Alex Kavanagh <567675+ajkavanagh@users.noreply.github.com> Date: Thu, 9 Feb 2023 10:56:32 +0000 Subject: [PATCH] Fix a couple of pip requirement lines (#651) A change in the strictness of how pip requirements lines are parsed means that the lib needs a tactical fix to enable testing to move forwards. A more complete fix is to remove the upper bounds and the main development branch. --- setup.py | 2 +- tests/test_build.py | 2 +- tests/wh-over.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index ce024103..20e0b8d7 100755 --- a/setup.py +++ b/setup.py @@ -52,7 +52,7 @@ 'pathspec<0.11;python_version >= "3.7"', 'otherstuf<=1.1.0', 'path.py>=10.5,<13', - 'pip>=1.5.4<23', + 'pip>=1.5.4,<23', 'jujubundlelib<0.6', 'virtualenv>=1.11.4,<21', 'colander<1.9', diff --git a/tests/test_build.py b/tests/test_build.py index d5350b6a..481f6be8 100644 --- a/tests/test_build.py +++ b/tests/test_build.py @@ -486,7 +486,7 @@ def _store_wheelhouses(args, **kwargs): '', '# --wheelhouse-overrides', 'git+https://github.com/me/qux#egg=qux', - 'setuptools_scm>=3.0<=3.4.1', + 'setuptools_scm>=3.0,<=3.4.1', '', ]) diff --git a/tests/wh-over.txt b/tests/wh-over.txt index 73f53e54..7a653774 100644 --- a/tests/wh-over.txt +++ b/tests/wh-over.txt @@ -1,2 +1,2 @@ git+https://github.com/me/qux#egg=qux -setuptools_scm>=3.0<=3.4.1 +setuptools_scm>=3.0,<=3.4.1