Skip to content

Commit

Permalink
Clean up tox deps env (#185)
Browse files Browse the repository at this point in the history
* 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 deps: use skip_install

We don't need to install the package itself to run pip-compile.

* constraints: regenerate file with tox -e deps
  • Loading branch information
gotmax23 authored Jan 21, 2024
1 parent b6b4fef commit 821259e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .config/constraints.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ 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
skip_install = true
deps =
pip-tools >= 6.12.3
setenv =
Expand Down

0 comments on commit 821259e

Please sign in to comment.