From c25dbfa3868eacd56ce559bbb5cd75ccabc64373 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Wed, 14 Aug 2024 17:27:42 +0300 Subject: [PATCH 1/2] Bump GitHub Actions --- .github/workflows/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 52b39b7..9d4022b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,10 +43,10 @@ jobs: include: - { python-version: "3.12", 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 @@ -63,10 +63,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" @@ -77,14 +77,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: | From e8a5fd9bdcf62b59ef394350ccf13416505ec18d Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Wed, 14 Aug 2024 17:33:00 +0300 Subject: [PATCH 2/2] Add support for Python 3.13 --- .github/workflows/main.yml | 1 + setup.cfg | 1 + tox.ini | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9d4022b..51b55ef 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,6 +42,7 @@ jobs: os: ["ubuntu-22.04"] include: - { python-version: "3.12", os: "ubuntu-latest" } + - { python-version: "3.13", os: "ubuntu-latest" } steps: - uses: "actions/checkout@v4" with: diff --git a/setup.cfg b/setup.cfg index 877be42..e5db9d0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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 diff --git a/tox.ini b/tox.ini index 2e4d3ad..ee8971d 100644 --- a/tox.ini +++ b/tox.ini @@ -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 @@ -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