Drop support for Python 3.6 (EOL).

This commit is contained in:
Dain Nilsson 2022-04-21 11:25:44 +02:00
parent 7985a4966a
commit f18f815a47
No known key found for this signature in database
GPG Key ID: F04367096FBA95E8
2 changed files with 3 additions and 8 deletions

View File

@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python: ['3.6', '3.7', '3.8', '3.9', '3.10', 'pypy3']
python: ['3.7', '3.8', '3.9', '3.10', 'pypy3']
architecture: [x86, x64]
exclude:
- os: ubuntu-latest
@ -18,12 +18,8 @@ jobs:
architecture: x86
- os: windows-latest
python: pypy3
- os: windows-latest
python: '3.6'
- os: macos-latest
python: pypy3
- os: macos-latest
python: '3.6'
name: ${{ matrix.os }} Py ${{ matrix.python }} ${{ matrix.architecture }}
steps:
@ -41,7 +37,7 @@ jobs:
poetry update
- name: Run pre-commit
if: "!startsWith(matrix.python, 'pypy') && matrix.python != '3.6'"
if: "!startsWith(matrix.python, 'pypy')"
run: |
python -m pip install pre-commit
pre-commit run --all-files

View File

@ -29,9 +29,8 @@ include = [
]
[tool.poetry.dependencies]
python = "^3.6"
python = "^3.7"
cryptography = ">=2.1, !=35, <39"
dataclasses = {version = "^0.8", python = "<3.7"}
pyscard = {version = "^1.9 || ^2.0.0", optional = true}
[tool.poetry.extras]