Skip to content
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
16 changes: 7 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "pypy3.9"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.9"]
os: [ubuntu-latest, macos-latest, windows-latest]
exclude:
- os: macos-latest
python-version: "pypy3.9"
- os: macos-latest
python-version: "3.7"
python-version: "pypy3.9"
- os: windows-latest
python-version: "pypy3.9"
runs-on: ${{ matrix.os }}
Expand All @@ -36,8 +34,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install -U "pip>=23.1.2"
pip install -U "tox-gh-actions==3.1.0" coverage
pip install -U "pip>=25.1.1"
pip install -U "tox-gh-actions==3.3.0" coverage
- name: Log python & pip versions
run: |
python --version
Expand All @@ -56,11 +54,11 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
python-version: "3.12"
- name: Install dependencies
run: |
pip install -U setuptools
pip install -U "tox>=4.5.1,<5"
pip install -U "tox>=4.26.0,<5"
- run: tox -e lint
package:
name: Build & verify package
Expand All @@ -69,7 +67,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
python-version: "3.12"
- name: Install build, check-wheel-content, and twine
run: "python -m pip install build twine check-wheel-contents"
- name: Build package
Expand Down
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
[build-system]
requires = [
"setuptools >= 39.2.0",
"wheel >= 0.29.0",
]
requires = ["setuptools >= 39.2.0", "wheel >= 0.29.0"]
build-backend = 'setuptools.build_meta'


Expand All @@ -18,4 +15,4 @@ line_length = 120

[tool.black]
line-length = 120
target-version = ["py38"]
target-version = ["py311", "py312", "py313"]
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PyYAML==5.4.1
cov-core==1.15.0
coverage==5.5
coveralls==1.5.1
cryptography==43.0.1
cryptography==45.0.3
docopt==0.6.2
pytest==6.2.3
pytest-cov==2.11.1
Expand Down
6 changes: 3 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ classifiers =
License :: OSI Approved :: MIT License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3 :: Only
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 :: PyPy
Topic :: Utilities

Expand Down
12 changes: 6 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[tox]
min_version = 4.4
envlist =
py{37,38,39,310,311,py3}-{base,cryptography-only,pycryptodome-norsa,compatibility},
py{39,310,311,312,313,py3}-{base,cryptography-only,pycryptodome-norsa,compatibility},
lint
skip_missing_interpreters = True

[gh-actions]
python =
3.7: py37-{base,cryptography-only,pycryptodome-norsa,compatibility}
3.8: py38-{base,cryptography-only,pycryptodome-norsa,compatibility}
python =
3.9: py39-{base,cryptography-only,pycryptodome-norsa,compatibility}
3.10: py310-{base,cryptography-only,pycryptodome-norsa,compatibility}
3.11: py311-{base,cryptography-only,pycryptodome-norsa,compatibility}
3.12: py312-{base,cryptography-only,pycryptodome-norsa,compatibility}
3.13: py313-{base,cryptography-only,pycryptodome-norsa,compatibility}
pypy-3.9: pypy3-{base,cryptography-only,pycryptodome-norsa,compatibility}

[testenv:basecommand]
Expand Down Expand Up @@ -56,7 +56,7 @@ extras =
compatibility: {[testenv:compatibility]extras}

[testenv:lint]
basepython = python3.10
basepython = python3.12
skip_install= True
deps =
flake8
Expand All @@ -69,7 +69,7 @@ commands =


[testenv:lintfix]
basepython = python3.10
basepython = python3.12
skip_install= True
deps =
isort
Expand Down