Skip to content

Commit c086559

Browse files
authored
Merge pull request #1493 from stackhpc/upper-constraints
Switch to StackHPC python upper constraints
2 parents 3e453bb + 05392bb commit c086559

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/overcloud-host-image-upload.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
- name: Install OpenStack client
8181
run: |
8282
source venvs/kayobe/bin/activate &&
83-
pip install python-openstackclient -c https://releases.openstack.org/constraints/upper/${{ steps.openstack_release.outputs.openstack_release }}
83+
pip install python-openstackclient -c https://raw.githubusercontent.com/stackhpc/requirements/refs/heads/stackhpc/${{ steps.openstack_release.outputs.openstack_release }}/upper-constraints.txt
8484
8585
- name: Output Rocky Linux 9 image tag
8686
id: rocky_9_image_tag

.github/workflows/stackhpc-ci-cleanup.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
3535
- name: Install OpenStack client
3636
run: |
37-
pip install python-openstackclient -c https://releases.openstack.org/constraints/upper/${{ steps.openstack_release.outputs.openstack_release }}
37+
pip install python-openstackclient -c https://raw.githubusercontent.com/stackhpc/requirements/refs/heads/stackhpc/${{ steps.openstack_release.outputs.openstack_release }}/upper-constraints.txt
3838
3939
- name: Clean up aio instances over 3 hours old
4040
run: |

etc/kayobe/pip.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Upper constraints file for installation of python packages.
44
# Default value is
55
# "https://releases.openstack.org/constraints/upper/{{ openstack_release }}"
6-
#pip_upper_constraints_file:
6+
pip_upper_constraints_file: "https://raw.githubusercontent.com/stackhpc/requirements/refs/heads/stackhpc/{{ openstack_release }}/upper-constraints.txt"
77

88
# Use a local PyPi mirror for installing Pip packages
99
#pip_local_mirror: false

tox.ini

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ skipsdist = True
66
[testenv]
77
install_command = pip install {opts} {packages}
88
deps =
9-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1}
9+
-c{env:TOX_CONSTRAINTS_FILE:https://raw.githubusercontent.com/stackhpc/requirements/refs/heads/stackhpc/2024.1/upper-constraints.txt}
1010
-r{toxinidir}/test-requirements.txt
1111

1212
[testenv:pep8]
@@ -20,7 +20,7 @@ commands =
2020
allowlist_externals = rm
2121
skip_install = true
2222
deps =
23-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1}
23+
-c{env:TOX_CONSTRAINTS_FILE:https://raw.githubusercontent.com/stackhpc/requirements/refs/heads/stackhpc/2024.1/upper-constraints.txt}
2424
-r{toxinidir}/releasenotes/requirements.txt
2525
commands =
2626
rm -rf releasenotes/build/html
@@ -30,7 +30,7 @@ commands =
3030
allowlist_externals = rm
3131
skip_install = true
3232
deps =
33-
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1}
33+
-c{env:TOX_CONSTRAINTS_FILE:https://raw.githubusercontent.com/stackhpc/requirements/refs/heads/stackhpc/2024.1/upper-constraints.txt}
3434
-r{toxinidir}/doc/requirements.txt
3535
commands =
3636
rm -rf doc/build/html

0 commit comments

Comments
 (0)