From 44b72c052a0a75d843beca006f3f5e7fbb88982b Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Fri, 12 Jan 2024 16:43:42 +0000 Subject: [PATCH 1/3] tox deps: set basepython to python3.10 The minimum supported Python version is now python3.10, so we should use that to generate the constraints file. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index f49f866..c631cef 100644 --- a/tox.ini +++ b/tox.ini @@ -56,7 +56,7 @@ extras = description = Update dependency lock files # Force it to use oldest supported version of python or we would lose ability # to get pinning correctly. -basepython = python3.9 +basepython = python3.10 deps = pip-tools >= 6.12.3 setenv = From b77d37dc3e28ea9bdec6dd3dbab0adfa4fa4834d Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Fri, 12 Jan 2024 16:45:19 +0000 Subject: [PATCH 2/3] tox deps: use skip_install We don't need to install the package itself to run pip-compile. --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index c631cef..982f3e1 100644 --- a/tox.ini +++ b/tox.ini @@ -57,6 +57,7 @@ description = Update dependency lock files # Force it to use oldest supported version of python or we would lose ability # to get pinning correctly. basepython = python3.10 +skip_install = true deps = pip-tools >= 6.12.3 setenv = From 06d344e0a2c0f7a1569cde691cf132f006abf673 Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Sun, 21 Jan 2024 16:57:35 +0000 Subject: [PATCH 3/3] constraints: regenerate file with tox -e deps --- .config/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/constraints.txt b/.config/constraints.txt index 1a6fe5c..eb74d69 100644 --- a/.config/constraints.txt +++ b/.config/constraints.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.9 +# This file is autogenerated by pip-compile with Python 3.10 # by the following command: # # pip-compile --all-extras --no-annotate --output-file=.config/constraints.txt --strip-extras pyproject.toml