Skip to content

Commit

Permalink
chore: Add Python 3.13 support, Drop Python 3.8 support, bump github …
Browse files Browse the repository at this point in the history
…actions versions
  • Loading branch information
Laerte committed Oct 31, 2024
1 parent 3f0e393 commit 849ece8
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 20 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ jobs:
fail-fast: false
matrix:
include:
- python-version: 3.8
env:
TOXENV: py
- python-version: 3.9
env:
TOXENV: py
Expand All @@ -23,20 +20,23 @@ jobs:
- python-version: "3.12"
env:
TOXENV: py
- python-version: "3.13"
env:
TOXENV: py

# PyPy
- python-version: pypy3.8
- python-version: pypy3.9
env:
TOXENV: pypy3
- python-version: pypy3.10
env:
TOXENV: pypy3

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -47,30 +47,30 @@ jobs:
tox
- name: Upload coverage to Codecov
if: ${{ matrix.python-version == 3.10 && matrix.env.TOXENV == 'py' }}
uses: codecov/codecov-action@v3
if: ${{ matrix.python-version == 3.13 && matrix.env.TOXENV == 'py' }}
uses: codecov/codecov-action@v4

checks:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- python-version: "3.10"
- python-version: "3.13"
env:
TOXENV: docs
- python-version: "3.10"
- python-version: "3.13"
env:
TOXENV: linter
- python-version: "3.10"
- python-version: "3.13"
env:
TOXENV: twinecheck

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.13
- run: |
pip install --upgrade build twine
python -m build
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Python implementation of AES with CBC/ECB mode and padding scheme PKCS5.
============
Requirements
============
* Python 3.8+
* Python 3.9+

Install
=======
Expand Down
2 changes: 1 addition & 1 deletion docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Installation guide
Supported Python versions
=========================

AESPKCS5 requires Python 3.8+ and depends only of ``cryptography`` package.
AESPKCS5 requires Python 3.9+ and depends only of ``cryptography`` package.

Installing AESPKCS5
====================
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ classifiers =
License :: OSI Approved :: BSD License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
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 :: Software Development :: Libraries :: Python Modules

[options]
packages = find:
python_requires = >=3.8
python_requires = >=3.9
install_requires =
cryptography >= 41.0.2

Expand Down

0 comments on commit 849ece8

Please sign in to comment.