Skip to content

Commit b77ddc2

Browse files
authored
Merge pull request #21 from stackhpc/2023.1-upper-constraints
Unify upper constraints to 2023.1 Antelope
2 parents e6b1b07 + 4c9b029 commit b77ddc2

File tree

9 files changed

+16
-11
lines changed

9 files changed

+16
-11
lines changed

roles/os_container_clusters/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ os_container_clusters_auth: {}
99
# mapping container cluster template attribute names to their values.
1010
os_container_clusters_templates: []
1111
# Upper constraints file for installation of python dependencies.
12-
os_container_clusters_upper_constraints_file:
12+
os_container_clusters_upper_constraints_file: https://releases.openstack.org/constraints/upper/2023.1
1313
# Whether to make templates public
1414
os_container_clusters_public: false
1515
# Whether to hide templates by default

roles/os_deploy_templates/defaults/main.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
---
22
# Path to a directory in which to create a virtualenv.
33
os_deploy_templates_venv:
4-
# Upper constraints file for installation of python dependencies.
5-
#
6-
# Use Yoga upper constraints, to avoid incompatibility with openstacksdk
7-
# 0.99.0 and include support for deploy templates (included since openstacksdk
8-
# 0.53).
9-
os_deploy_templates_upper_constraints_file: https://releases.openstack.org/constraints/upper/yoga
4+
5+
# Upper constraints file for installation of Python dependencies.
6+
os_deploy_templates_upper_constraints_file: https://releases.openstack.org/constraints/upper/2023.1
107

118
# Authentication type.
129
os_deploy_templates_auth_type:

roles/os_openstackclient/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ os_openstackclient_state: present
1010
# Version of python-openstackclient to install, or unrestricted if empty.
1111
os_openstackclient_version:
1212
# Upper constraints file for installation of openstackclient.
13-
os_openstackclient_upper_constraints_file:
13+
os_openstackclient_upper_constraints_file: https://releases.openstack.org/constraints/upper/2023.1

roles/os_openstacksdk/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ os_openstacksdk_state: present
1313
# Version of openstacksdk to install, or unrestricted if empty.
1414
os_openstacksdk_version:
1515
# Upper constraints file for installation of openstacksdk.
16-
os_openstacksdk_upper_constraints_file:
16+
os_openstacksdk_upper_constraints_file: https://releases.openstack.org/constraints/upper/2023.1

roles/os_projects/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ resources.
7777
roles:
7878
- role: stackhpc.openstack.os_projects
7979
os_projects_venv: "~/os-projects-venv"
80-
os_projects_upper_constraints: "https://opendev.org/openstack/requirements/raw/branch/stable/2023.1/upper-constraints.txt"
80+
os_projects_upper_constraints: "https://releases.openstack.org/constraints/upper/2023.1"
8181
os_projects_auth_type: "password"
8282
os_projects_auth:
8383
project_name: <keystone project>

roles/os_projects/defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ os_projects_domains: []
3838
# - 'public_key_file': Path to the SSH public key on the control host.
3939
# 'quotas': Optional dict mapping quota names to their values.
4040
os_projects: [] # noqa var-naming[no-role-prefix]
41-
os_projects_upper_constraints:
41+
os_projects_upper_constraints: https://releases.openstack.org/constraints/upper/2023.1

roles/os_volumes/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ dict containing the following items:
4141
- `extra_specs`: Optional dict of additional specifications for the volume
4242
type.
4343

44+
`os_volumes_upper_constraints_file` is a file or URL containing Python upper
45+
constraints.
46+
4447
Dependencies
4548
------------
4649

roles/os_volumes/defaults/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,6 @@ os_volumes: [] # noqa: var-naming[no-role-prefix]
3232
# - 'extra_specs': Optional dict of additional specifications for the volume
3333
# type.
3434
os_volumes_types: []
35+
36+
# A file or URL containing Python upper constraints.
37+
os_volumes_upper_constraints_file: https://releases.openstack.org/constraints/upper/2023.1

roles/os_volumes/meta/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,7 @@
22
dependencies:
33
- role: stackhpc.openstack.os_openstacksdk
44
os_openstacksdk_venv: "{{ os_volumes_venv }}"
5+
os_openstacksdk_upper_constraints_file: "{{ os_volumes_upper_constraints_file }}"
56
- role: stackhpc.openstack.os_openstackclient
67
os_openstackclient_venv: "{{ os_volumes_venv }}"
8+
os_openstackclient_upper_constraints_file: "{{ os_volumes_upper_constraints_file }}"

0 commit comments

Comments
 (0)