Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Python 3.13 support #171

Merged
merged 2 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
- "pypy-3.7"
- "3.13"
- "pypy3.10"
vcs:
- bzr
- git
Expand Down
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Changelog
0.50 (unreleased)
-----------------

- Add Python 3.12 support.
- Add Python 3.12 and 3.13 support.


0.49 (2022-12-05)
Expand Down
48 changes: 48 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,54 @@ isort: ##: check for incorrect import ordering
mypy: ##: check for type errors
tox -e mypy

##: GitHub maintenance

.PHONY: update-github-branch-protection-rules

update-github-branch-protection-rules: ##: update GitHub branch protection rules
gh api -X PUT -H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/repos/mgedmin/check-manifest/branches/master/protection/required_status_checks/contexts \
-f "contexts[]=check-manifest" \
-f "contexts[]=check-python-versions" \
-f "contexts[]=flake8" \
-f "contexts[]=isort" \
-f "contexts[]=mypy" \
-f "contexts[]=Python 3.7, bzr" \
-f "contexts[]=Python 3.7, git" \
-f "contexts[]=Python 3.7, hg" \
-f "contexts[]=Python 3.7, svn" \
-f "contexts[]=Python 3.8, bzr" \
-f "contexts[]=Python 3.8, git" \
-f "contexts[]=Python 3.8, hg" \
-f "contexts[]=Python 3.8, svn" \
-f "contexts[]=Python 3.9, bzr" \
-f "contexts[]=Python 3.9, git" \
-f "contexts[]=Python 3.9, hg" \
-f "contexts[]=Python 3.9, svn" \
-f "contexts[]=Python 3.10, bzr" \
-f "contexts[]=Python 3.10, git" \
-f "contexts[]=Python 3.10, hg" \
-f "contexts[]=Python 3.10, svn" \
-f "contexts[]=Python 3.11, bzr" \
-f "contexts[]=Python 3.11, git" \
-f "contexts[]=Python 3.11, hg" \
-f "contexts[]=Python 3.11, svn" \
-f "contexts[]=Python 3.12, bzr" \
-f "contexts[]=Python 3.12, git" \
-f "contexts[]=Python 3.12, hg" \
-f "contexts[]=Python 3.12, svn" \
-f "contexts[]=Python 3.13, bzr" \
-f "contexts[]=Python 3.13, git" \
-f "contexts[]=Python 3.13, hg" \
-f "contexts[]=Python 3.13, svn" \
-f "contexts[]=Python pypy3.10, bzr" \
-f "contexts[]=Python pypy3.10, git" \
-f "contexts[]=Python pypy3.10, hg" \
-f "contexts[]=Python pypy3.10, svn" \
-f "contexts[]=continuous-integration/appveyor/branch" \
-f "contexts[]=continuous-integration/appveyor/pr"

##: Releasing

.PHONY: distcheck
Expand Down
1 change: 1 addition & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ environment:
- PYTHON: "C:\\Python310"
- PYTHON: "C:\\Python311"
- PYTHON: "C:\\Python312"
- PYTHON: "C:\\Python313"

init:
- "echo %PYTHON%"
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
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]
envlist =
py37,py38,py39,py310,py311,py312,pypy3,flake8
py37,py38,py39,py310,py311,py312,py313,pypy3,flake8

[testenv]
passenv =
Expand Down