Skip to content

fix: pin constraints to sapcc/requirements stable/2025.2-m3#134

Merged
notque merged 1 commit into
masterfrom
fix/update-upper-constraints-url
May 18, 2026
Merged

fix: pin constraints to sapcc/requirements stable/2025.2-m3#134
notque merged 1 commit into
masterfrom
fix/update-upper-constraints-url

Conversation

@notque

@notque notque commented May 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Pin upper-constraints to sapcc/requirements/stable/2025.2-m3 instead of upstream openstack/requirements master, which pins unreleased packages (e.g. keystoneauth1===5.14.0) and causes install failures
  • Rename env var from UPPER_CONSTRAINTS_FILE to TOX_CONSTRAINTS_FILE to match the convention used by all other SAP CC OpenStack services

Context

The previous default URL (git.openstack.org) was decommissioned in 2019 and redirects via 302. The opendev.org master branch pins packages that haven't been released to PyPI yet. Using sapcc/requirements stable releases (the same constraints consumed by nova, neutron, keystone, ironic, glance, etc.) ensures reproducible installs.

Test plan

  • tox -e py3 — 76 tests pass
  • tox -e pep8 — flake8 + bandit clean

Switch from upstream openstack/requirements master (which pins
unreleased packages) to sapcc/requirements stable/2025.2-m3.
This aligns with the constraint branch used by other SAP CC
OpenStack services (ironic, glance, keystone, etc.).

Also rename the env var from UPPER_CONSTRAINTS_FILE to
TOX_CONSTRAINTS_FILE, matching the convention used across
all SAP CC service repos.
@notque notque merged commit 0fcb527 into master May 18, 2026
1 check passed
@notque notque deleted the fix/update-upper-constraints-url branch May 18, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants