Skip to content

Commit 66fd9eb

Browse files
Callum Dickinsonadrianjarvis
authored andcommitted
Require aodhclient v2.1.1 or later
Update the `aodhclient` dependency definition to require at least version 2.1.1 or higher. v2.1.1 is the oldest version of the library that supports our deployment of Aodh.
1 parent 73f882b commit 66fd9eb

5 files changed

Lines changed: 2062 additions & 1000 deletions

File tree

.github/workflows/tag.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@ on:
77

88
jobs:
99
build:
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-24.04
1111
steps:
1212
- name: Clone full tree, and checkout tag
13-
uses: actions/checkout@v4
13+
uses: actions/checkout@v6
1414
with:
1515
fetch-depth: 0
1616
- name: Setup Python
17-
uses: actions/setup-python@v5
17+
uses: actions/setup-python@v6
1818
with:
19-
python-version: "3.12"
19+
python-version: "3.14"
2020
cache: "pip"
2121
- name: Setup uv
22-
uses: astral-sh/setup-uv@v6
22+
uses: astral-sh/setup-uv@v7
2323
with:
24-
version: "0.8.3"
24+
version: "0.9.26"
2525
- name: Build source dist and wheels
2626
run: uv build
2727
- name: Upload source dist and wheels to artifacts
28-
uses: actions/upload-artifact@v4
28+
uses: actions/upload-artifact@v6
2929
with:
3030
name: dist
3131
path: dist/
@@ -34,42 +34,42 @@ jobs:
3434

3535
publish-pypi:
3636
needs: build
37-
runs-on: ubuntu-22.04
37+
runs-on: ubuntu-24.04
3838
environment: pypi
3939
permissions:
4040
id-token: write
4141
steps:
4242
- name: Clone full tree, and checkout tag
43-
uses: actions/checkout@v4
43+
uses: actions/checkout@v6
4444
with:
4545
fetch-depth: 0
4646
- name: Download source dist and wheels from artifacts
47-
uses: actions/download-artifact@v4
47+
uses: actions/download-artifact@v7
4848
with:
4949
name: dist
5050
path: dist/
5151
- name: Setup Python
52-
uses: actions/setup-python@v5
52+
uses: actions/setup-python@v6
5353
with:
54-
python-version: "3.12"
54+
python-version: "3.14"
5555
cache: "pip"
5656
- name: Setup uv
57-
uses: astral-sh/setup-uv@v6
57+
uses: astral-sh/setup-uv@v7
5858
with:
59-
version: "0.8.3"
59+
version: "0.9.26"
6060
- name: Publish source dist and wheels to PyPI
6161
run: uv publish
6262

6363
publish-github-release:
6464
needs: build
65-
runs-on: ubuntu-22.04
65+
runs-on: ubuntu-24.04
6666
permissions:
6767
contents: write
6868
steps:
6969
- name: Clone and checkout tag
70-
uses: actions/checkout@v4
70+
uses: actions/checkout@v6
7171
- name: Download source dist and wheels from artifacts
72-
uses: actions/download-artifact@v4
72+
uses: actions/download-artifact@v7
7373
with:
7474
name: dist
7575
path: dist/

.github/workflows/test.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,39 +8,39 @@ on:
88

99
jobs:
1010
pre-commit:
11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-24.04
1212
steps:
1313
- name: Clone and checkout branch
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v6
1515
- name: Setup Python
16-
uses: actions/setup-python@v5
16+
uses: actions/setup-python@v6
1717
with:
18-
python-version: "3.12"
18+
python-version: "3.14"
1919
cache: "pip"
2020
- name: Run pre-commit hooks
2121
uses: pre-commit/action@v3.0.1
2222

2323
build:
2424
needs: pre-commit
25-
runs-on: ubuntu-22.04
25+
runs-on: ubuntu-24.04
2626
steps:
2727
- name: Clone full tree, and checkout branch
28-
uses: actions/checkout@v4
28+
uses: actions/checkout@v6
2929
with:
3030
fetch-depth: 0
3131
- name: Setup Python
32-
uses: actions/setup-python@v5
32+
uses: actions/setup-python@v6
3333
with:
34-
python-version: "3.12"
34+
python-version: "3.14"
3535
cache: "pip"
3636
- name: Setup uv
37-
uses: astral-sh/setup-uv@v6
37+
uses: astral-sh/setup-uv@v7
3838
with:
39-
version: "0.8.3"
39+
version: "0.9.26"
4040
- name: Build source dist and wheels
4141
run: uv build
4242
- name: Upload source dist and wheels to artifacts
43-
uses: actions/upload-artifact@v4
43+
uses: actions/upload-artifact@v6
4444
with:
4545
name: dist
4646
path: dist/

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
repos:
88
- repo: https://github.com/pre-commit/pre-commit-hooks
9-
rev: "v5.0.0"
9+
rev: "v6.0.0"
1010
hooks:
1111
- id: trailing-whitespace
1212
- id: mixed-line-ending
@@ -15,23 +15,23 @@ repos:
1515
- id: check-added-large-files
1616
- id: check-merge-conflict
1717
- repo: https://github.com/crate-ci/typos
18-
rev: "v1.34.0"
18+
rev: "v1.42.1"
1919
hooks:
2020
- id: typos
2121
- repo: https://github.com/tox-dev/pyproject-fmt
22-
rev: "v2.6.0"
22+
rev: "v2.8.0"
2323
hooks:
2424
- id: pyproject-fmt
2525
- repo: https://github.com/astral-sh/uv-pre-commit
26-
rev: "0.8.3"
26+
rev: "0.9.26"
2727
hooks:
2828
- id: uv-lock
2929
- repo: https://github.com/astral-sh/ruff-pre-commit
30-
rev: "v0.12.7"
30+
rev: "v0.14.13"
3131
hooks:
3232
- id: ruff-check
3333
- id: ruff-format
3434
- repo: https://github.com/pre-commit/mirrors-mypy
35-
rev: "v1.17.0"
35+
rev: "v1.19.1"
3636
hooks:
3737
- id: mypy

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,14 @@ classifiers = [
4646
"Programming Language :: Python :: 3.11",
4747
"Programming Language :: Python :: 3.12",
4848
"Programming Language :: Python :: 3.13",
49+
"Programming Language :: Python :: 3.14",
4950
"Topic :: Software Development :: Libraries",
5051
]
5152
dynamic = [
5253
"version",
5354
]
5455
dependencies = [
55-
"aodhclient",
56+
"aodhclient>=2.1.1", # Oldest version that supports modern Aodh versions.
5657
"gnocchiclient>=7.0.7", # Oldest version that supports modern Gnocchi versions.
5758
"openstacksdk<3.1.0", # Newest version before app cred access rule support was introduced.
5859
"python-adjutantclient",

0 commit comments

Comments
 (0)