Skip to content

Commit 07ec54d

Browse files
committed
Update the CI actions, test on Python 3.14 and move the publish job to Python 3.13
actions/checkout@v4 and actions/setup-python@v5 run on Node 20, which GitHub has deprecated on its runners; both move to their current major versions, which run on Node 24. Python 3.14 joins the test matrix and the classifiers. The publish job no longer pins the 2022 patch release 3.10.4; it uses 3.13, a version the test matrix covers, and installs build without --user. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
1 parent 9d42f29 commit 07ec54d

2 files changed

Lines changed: 10 additions & 13 deletions

File tree

‎.github/workflows/python-publish.yml‎

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
19+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
2020
steps:
21-
- uses: actions/checkout@v4
21+
- uses: actions/checkout@v7
2222
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@v5
23+
uses: actions/setup-python@v7
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626
- name: Install dependencies
@@ -34,14 +34,14 @@ jobs:
3434
build-n-publish:
3535
name: Build and publish to PyPI
3636
if: github.event_name == 'push'
37-
# the pinned Python 3.10.4 below has no build for Ubuntu 26.04 either
37+
# kept on the same image as the test job
3838
runs-on: ubuntu-24.04
3939
steps:
40-
- uses: actions/checkout@v4
41-
- name: Set up Python 3.10.4
42-
uses: actions/setup-python@v5
40+
- uses: actions/checkout@v7
41+
- name: Set up Python 3.13
42+
uses: actions/setup-python@v7
4343
with:
44-
python-version: 3.10.4
44+
python-version: "3.13"
4545
- name: Install dependencies
4646
run: |
4747
python -m pip install --upgrade pip
@@ -53,11 +53,7 @@ jobs:
5353
env:
5454
IPDATA_API_KEY: ${{ secrets.IPDATA_API_KEY }}
5555
- name: Install build
56-
run: >-
57-
python -m
58-
pip install
59-
build
60-
--user
56+
run: python -m pip install build
6157
- name: Build a binary wheel and a source tarball
6258
run: >-
6359
python -m

‎setup.cfg‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ classifiers =
1515
Programming Language :: Python :: 3.11
1616
Programming Language :: Python :: 3.12
1717
Programming Language :: Python :: 3.13
18+
Programming Language :: Python :: 3.14
1819
License :: OSI Approved :: MIT License
1920
Operating System :: OS Independent
2021

0 commit comments

Comments
 (0)