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 support for Python 3.13 #17

Merged
merged 2 commits into from
Sep 10, 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
13 changes: 7 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,12 @@ jobs:
os: ["ubuntu-22.04"]
include:
- { python-version: "3.12", os: "ubuntu-latest" }
- { python-version: "3.13", os: "ubuntu-latest" }
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
with:
ref: ${{ inputs.tag || github.ref }}
- uses: "actions/setup-python@v4"
- uses: "actions/setup-python@v5"
with:
python-version: "${{ matrix.python-version }}"
allow-prereleases: true
Expand All @@ -63,10 +64,10 @@ jobs:
runs-on: "ubuntu-latest"
needs: tests
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
with:
ref: ${{ inputs.tag || github.ref }}
- uses: "actions/setup-python@v4"
- uses: "actions/setup-python@v5"
with:
python-version: "3.x"
cache: "pip"
Expand All @@ -77,14 +78,14 @@ jobs:
- name: "Run 'build'"
run: "python -m build"
- name: "Upload sdist artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sdist
path: |
dist/pyasn1*.tar.gz
if-no-files-found: error
- name: "Upload wheel artifact"
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheel
path: |
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ classifiers =
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
Topic :: Communications
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
minversion = 3.5.0
envlist =
py{38, 39, 310, 311, 312, py38, py39}
py{38, 39, 310, 311, 312, 313, py38, py39}
cover, bandit, build
isolated_build = true
skip_missing_interpreters = true
Expand Down Expand Up @@ -44,5 +44,6 @@ python =
3.10: py310, cover, build, bandit
3.11: py311
3.12: py312
3.13: py313
pypy-3.8: pypy38
pypy-3.9: pypy39