Skip to content

Commit

Permalink
Drop support for Python 3.7 (EoL)
Browse files Browse the repository at this point in the history
  • Loading branch information
elibon99 committed Dec 4, 2023
1 parent 786c42b commit 91a8b88
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python: ['3.7', '3.8', '3.9', '3.10', '3.11', 'pypy3.9']
python: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.9']
architecture: [x86, x64]
exclude:
- os: ubuntu-latest
Expand Down Expand Up @@ -38,7 +38,7 @@ jobs:
poetry install
- name: Run pre-commit
if: "!startsWith(matrix.python, 'pypy') && !startsWith(matrix.python, '3.7')"
if: "!startsWith(matrix.python, 'pypy')"
run: |
python -m pip install pre-commit
pre-commit run --all-files --verbose
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
with:
name: python-yubihsm-sdist
path: dist

docs:
runs-on: ubuntu-latest
name: Build sphinx documentation
Expand All @@ -131,7 +131,7 @@ jobs:
python -m pip install --upgrade pip
python -m pip install poetry
poetry install -E http -E usb
- name: Build sphinx documentation
run: poetry run make -C docs/ html

Expand Down
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
* Version 3.0.0 (unreleased)
** NOTE: Backwards incompatible release.
** Dropped Python 2 support, new minimum requirement: Python 3.7.
** Dropped Python 2 support, new minimum requirement: Python 3.8.
** Added type hints.
** Bumped minimum supported Cryptography version to 2.6.
** Dropped yubihsm.eddsa package, in favor of EdDSA support in Cryptography.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ include = [
]

[tool.poetry.dependencies]
python = "^3.7"
python = "^3.8"
cryptography = ">=2.6"
requests = {version = "^2.0", optional = true}
pyusb = {version = "^1.0", optional = true}
Expand Down

0 comments on commit 91a8b88

Please sign in to comment.