Skip to content

Commit

Permalink
Add support for Python 3.13, drop Python 3.8
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Finucane <[email protected]>
  • Loading branch information
stephenfin committed Oct 23, 2024
1 parent f9fa21c commit 6547b77
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
- name: Install dependencies
run: python -m pip install tox
- name: Run tox
Expand All @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- name: Checkout source code
uses: actions/checkout@v4
Expand All @@ -49,7 +49,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
- name: Install dependencies
run: python -m pip install tox
- name: Build docs (via tox)
Expand All @@ -73,7 +73,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
python-version: '3.13'
- name: Install dependencies
run: python -m pip install build
- name: Build a binary wheel and a source tarball
Expand Down
7 changes: 7 additions & 0 deletions releasenotes/notes/python-313-054fa37d696d4a87.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
features:
- |
Python 3.13 is now officially supported and tested.
upgrade:
- |
Python 3.8 is no longer supported.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ project_urls =
Bug Tracker = https://github.com/getpatchwork/git-pw/issues
Source Code = https://github.com/getpatchwork/git-pw
Documentation = https://git-pw.readthedocs.io
python_requires = >=3.8
python_requires = >=3.9

[files]
packages =
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
minversion = 3.1
envlist = pep8,mypy,clean,py{38,39,310,311,312},report
envlist = pep8,mypy,clean,py{39,310,311,312,313},report

[testenv]
deps =
Expand Down

0 comments on commit 6547b77

Please sign in to comment.