Update setuptools pinning

The Ironic API charm is using a very old version of setuptools
due to an old configuration in the build.lock file. Update
build.lock to use a new version of setuptools, remove an
unnecessary setuptools pin from requirements.in, and
ensure the charm builds with the correct requirements pinning.
This should fix a failure in Ironic API that is blocking
testing for Ironic Conductor.

Change-Id: Ic6434cdecb68f2b6df59acde785f1e7a34bf7b2c
This commit is contained in:
Jadon Naas
2024-06-11 22:06:32 -04:00
parent 1c7855b3cc
commit 4e80906770
4 changed files with 5 additions and 3 deletions

View File

@@ -4,6 +4,9 @@ parts:
charm:
source: src/
plugin: reactive
reactive-charm-build-arguments:
- --verbose
- --use-lock-file-branches
build-packages:
- libpython3-dev
build-snaps:

View File

@@ -6,7 +6,6 @@
# NOTE(lourot): This might look like a duplication of test-requirements.txt but
# some tox targets use only test-requirements.txt whereas charm-build uses only
# requirements.txt
setuptools<50.0.0 # https://github.com/pypa/setuptools/commit/04e3df22df840c6bb244e9b27bc56750c44b7c85
# NOTE: newer versions of cryptography require a Rust compiler to build,
# see

View File

@@ -182,7 +182,7 @@
"type": "python_module",
"package": "setuptools",
"vcs": null,
"version": "49.6.0"
"version": "62.1.0"
},
{
"type": "python_module",

View File

@@ -4,7 +4,7 @@
# https://github.com/openstack-charmers/release-tools
#
pyparsing<3.0.0 # aodhclient is pinned in zaza and needs pyparsing < 3.0.0, but cffi also needs it, so pin here.
setuptools<50.0.0 # https://github.com/pypa/setuptools/commit/04e3df22df840c6bb244e9b27bc56750c44b7c85
stestr>=2.2.0