Skip to content

Commit 2b48fed

Browse files
authored
Cleanup build (#110)
* Add trove classifier for Python 3.13 * Bump Poetry version in CI * Bump Ubuntu version in CI
1 parent 0a0a998 commit 2b48fed

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

Diff for: .github/workflows/ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ on:
88

99
env:
1010
python-version: "3.9"
11-
poetry-version: "1.7.1"
11+
poetry-version: "1.8.3"
1212

1313
jobs:
1414
test:
1515
strategy:
1616
matrix:
1717
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
18-
runs-on: ubuntu-22.04
18+
runs-on: ubuntu-24.04
1919
steps:
2020
- name: Checkout repo
2121
uses: actions/checkout@v4
@@ -39,7 +39,7 @@ jobs:
3939
if-no-files-found: error
4040
coverage:
4141
needs: test
42-
runs-on: ubuntu-22.04
42+
runs-on: ubuntu-24.04
4343
steps:
4444
- name: Checkout repo
4545
uses: actions/checkout@v4
@@ -65,7 +65,7 @@ jobs:
6565
token: ${{ secrets.CODECOV_TOKEN }}
6666
fail_ci_if_error: true
6767
lint:
68-
runs-on: ubuntu-22.04
68+
runs-on: ubuntu-24.04
6969
steps:
7070
- name: Checkout repo
7171
uses: actions/checkout@v4
@@ -81,7 +81,7 @@ jobs:
8181
- name: Run code quality checks
8282
run: poetry run nox -s lint
8383
poetry-check:
84-
runs-on: ubuntu-22.04
84+
runs-on: ubuntu-24.04
8585
steps:
8686
- uses: actions/checkout@v4
8787
- name: Install Poetry

Diff for: .github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ on:
77

88
env:
99
python-version: "3.9"
10-
poetry-version: "1.7.1"
10+
poetry-version: "1.8.3"
1111

1212
jobs:
1313
pypi-publish:
1414
name: Publish release to PyPI
15-
runs-on: ubuntu-22.04
15+
runs-on: ubuntu-24.04
1616
environment: release
1717
permissions:
1818
id-token: write

Diff for: pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ classifiers = [
1313
"Intended Audience :: Developers",
1414
"Topic :: Software Development :: Libraries :: Python Modules",
1515
"Operating System :: OS Independent",
16+
# Remove classifier for Python 3.13 after next release of Poetry
17+
# https://github.com/python-poetry/poetry-core/pull/747
18+
"Programming Language :: Python :: 3.13",
1619
]
1720

1821

0 commit comments

Comments
 (0)