Skip to content

Commit

Permalink
[stable-only] Cap setuptools <71.0.0
Browse files Browse the repository at this point in the history
py38 jobs (on ubuntu-focal) started to fail (see the relevant github
issue [1]) due to recent virtualenv release (20.26.4; which bundles
setuptools).

setuptools is bundled in virtualenv, so it has to be capped via the
virtualenv package. tox also needed to be capped (<4) as gate uses
tox 3.28.0, but with capping virtualenv we pull in latest tox as well,
which would cause other errors.

Furthermore, lower-constraints jobs are not supported anymore and are
removed from most of the branches, so let's remove here as well to
unblock the gate.

[1] pypa/setuptools#4483

Change-Id: I9c361dfee3a219cf566db95895e119ccff9ff0d5
  • Loading branch information
Elod Illes committed Feb 14, 2025
1 parent 80c4f13 commit ac2bdc3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 0 additions & 1 deletion .zuul.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
- check-requirements
- lib-forward-testing-python3
- openstack-cover-jobs
- openstack-lower-constraints-jobs
- openstack-python3-victoria-jobs
- periodic-stable-jobs
- publish-openstack-docs-pti
Expand Down
6 changes: 6 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ minversion = 3.1.0
skipsdist = False
envlist = py38,pep8
ignore_basepython_conflict = True
# Cap setuptools via virtualenv to prevent compatibility issue with yoga
# branch's upper constraint of 'packaging' package (21.3).
requires =
virtualenv<20.26.4
tox<4
setuptools<71.0.0

[testenv]
basepython = python3
Expand Down

0 comments on commit ac2bdc3

Please sign in to comment.