Skip to content

Commit f5b81a4

Browse files
joamagclaude
andcommitted
chore: update CI workflows for Python 3.13 and 3.14
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent fc04a7c commit f5b81a4

3 files changed

Lines changed: 15 additions & 11 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
timeout-minutes: 10
1010
strategy:
1111
matrix:
12-
python-version: [2.7]
12+
python-version: ["3.14"]
1313
runs-on: ubuntu-latest
1414
container: python:${{ matrix.python-version }}
1515
steps:
@@ -26,15 +26,16 @@ jobs:
2626
- run: |
2727
pip install black
2828
black . --check
29-
if: matrix.python-version == '3.12'
29+
if: matrix.python-version == '3.14'
3030
- run: |
3131
pip install pytest
3232
ADAPTER=tiny HTTPBIN=httpbin.bemisc.com pytest
3333
- run: ADAPTER=tiny HTTPBIN=httpbin.bemisc.com python setup.py test
34-
if: ${{ !contains(fromJson('["3.9", "3.10", "3.11", "3.12", "latest"]'), matrix.python-version) }}
35-
- run: pip install twine wheel
36-
- run: python setup.py sdist bdist_wheel
37-
- run: python -m twine upload -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} dist/*
34+
if: ${{ !contains(fromJson('["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "latest"]'), matrix.python-version) }}
35+
- run:
36+
pip install twine build
37+
python -m build
38+
python -m twine upload -u ${PYPI_USERNAME} -p ${PYPI_PASSWORD} dist/*
3839
env:
3940
PYPI_USERNAME: ${{ secrets.PYPI_USERNAME }}
4041
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}

.github/workflows/main.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ jobs:
1919
"3.10",
2020
"3.11",
2121
"3.12",
22+
"3.13",
23+
"3.14",
2224
latest,
2325
rc
2426
]
@@ -66,12 +68,12 @@ jobs:
6668
- run: |
6769
pip install black
6870
black . --check
69-
if: matrix.python-version == '3.12'
71+
if: matrix.python-version == '3.14'
7072
- run: |
7173
pip install pytest
7274
ADAPTER=${{ matrix.adapter }} HTTPBIN=httpbin.bemisc.com pytest
7375
- run: ADAPTER=${{ matrix.adapter }} HTTPBIN=httpbin.bemisc.com python setup.py test
74-
if: ${{ !contains(fromJson('["3.9", "3.10", "3.11", "3.12", "latest"]'), matrix.python-version) }}
76+
if: ${{ !contains(fromJson('["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "latest"]'), matrix.python-version) }}
7577
build-pypy:
7678
name: Build PyPy
7779
timeout-minutes: 10
@@ -122,9 +124,9 @@ jobs:
122124
- run: |
123125
pip install black
124126
black . --check
125-
if: matrix.python-version == '3.12'
127+
if: matrix.python-version == '3.14'
126128
- run: |
127129
pip install pytest
128130
ADAPTER=${{ matrix.adapter }} HTTPBIN=httpbin.bemisc.com pytest
129131
- run: ADAPTER=${{ matrix.adapter }} HTTPBIN=httpbin.bemisc.com pypy setup.py test
130-
if: ${{ !contains(fromJson('["3.9", "3.10", "3.11", "3.12", "latest"]'), matrix.python-version) }}
132+
if: ${{ !contains(fromJson('["3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "latest"]'), matrix.python-version) }}

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Changed
1515

16-
*
16+
* Updated CI workflows to support Python 3.13 and 3.14
17+
* Switched deploy pipeline to use `python -m build` instead of `setup.py sdist bdist_wheel`
1718

1819
### Fixed
1920

0 commit comments

Comments
 (0)