Skip to content

Commit

Permalink
Add support for Python 3.13 (#17)
Browse files Browse the repository at this point in the history
Bump GitHub Actions
  • Loading branch information
hugovk authored Sep 10, 2024
1 parent 98b1e26 commit b0d8497
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
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

0 comments on commit b0d8497

Please sign in to comment.