Fix build

- Make tox.ini compatible with tox>=4.0
- Update constraints url
- Pin setuptools<71.0.0

Related-PR: https://github.com/pypa/setuptools/issues/4483
Change-Id: Iabccec77607b9981617bd4339ef459b308d1b780
This commit is contained in:
Felipe Reyes 2025-04-08 11:53:45 -04:00
parent 59caba4c56
commit fb9bf388cb
2 changed files with 5 additions and 5 deletions

View File

@ -175,12 +175,13 @@ parts:
- python-openstackclient
- gnocchiclient
- python-octaviaclient
- "setuptools<71.0.0" # https://github.com/pypa/setuptools/issues/4483
- setuptools_scm
- toml
- setuptools-rust
- Cython
python-constraints:
- https://raw.githubusercontent.com/openstack/requirements/stable/zed/upper-constraints.txt
- https://raw.githubusercontent.com/openstack/requirements/zed-eom/upper-constraints.txt
build-packages:
- libffi-dev
- libssl-dev

View File

@ -7,10 +7,9 @@ basepython = python3
install_command = pip install {opts} {packages}
setenv =
PATH = /snap/bin:{env:PATH}
passenv = HOME TERM
whitelist_externals =
sudo
/snap/bin/snapcraft
passenv = HOME, TERM
allowlist_externals =
{toxinidir}/tools/lxd_build.sh
[testenv:snap]
deps = -r{toxinidir}/requirements.txt