File tree Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Expand file tree Collapse file tree 4 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ def to_ood_regex(items):
41
41
eg {{ [compute-001, compute-002, control] | to_regex }} -> '(compute-\d+)|(control)'
42
42
"""
43
43
44
+ # NB: for python3.12+ the \d in this function & docstring
45
+ # need to be raw strings. See https://docs.python.org/3/reference/lexical_analysis.html
46
+
44
47
# There's a python bug which means re.sub() can't use '\d' in the replacement so
45
48
# have to do replacement in two stages:
46
49
r = [re .sub (r"\d+" , 'XBACKSLASHX' , v ) for v in items ]
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ PYTHON_VERSION=""
17
17
if [[ " $OS " == " ubuntu" && " $MAJOR_VERSION " == " 22" ]]; then
18
18
PYTHON_VERSION=" /usr/bin/python3.10"
19
19
elif [[ " $OS " == " rocky" && " $MAJOR_VERSION " == " 8" ]]; then
20
+ # python3.9+ doesn't have selinux bindings
20
21
PYTHON_VERSION=" /usr/bin/python3.8" # use `sudo yum install python38` on Rocky Linux 8 to install this
21
22
elif [[ " $OS " == " rocky" && " $MAJOR_VERSION " == " 9" ]]; then
22
23
PYTHON_VERSION=" /usr/bin/python3.9"
Original file line number Diff line number Diff line change 1
- ansible == 8.0.0
1
+ ansible == 6.7.0 # cloudalchemy.prometheus uses ansible.builtin.include, removed in ansible-core==2.16 => ansible==9
2
2
openstacksdk
3
3
python-openstackclient == 6.6.1 # v7.0.0 has a bug re. rebuild
4
4
python-manilaclient
@@ -9,4 +9,4 @@ cookiecutter
9
9
selinux # this is a shim to avoid having to use --system-site-packages, you still need sudo yum install libselinux-python3
10
10
netaddr
11
11
matplotlib
12
- pulp-cli == 0.29 .2
12
+ pulp-cli == 0.23 .2
Original file line number Diff line number Diff line change @@ -49,6 +49,10 @@ collections:
49
49
- name : https://github.com/azimuth-cloud/ansible-collection-image-utils
50
50
type : git
51
51
version : 0.4.0
52
+ # stackhpc.pulp has pulp.squeezer as dependency, any version, but latest
53
+ # requires newer ansible than can install
54
+ - name : pulp.squeezer
55
+ version : 0.0.15
52
56
- name : stackhpc.pulp
53
57
version : 0.5.5
54
58
...
You can’t perform that action at this time.
0 commit comments