Skip to content

Commit

Permalink
Drop Python 3.8 support. Test 3.12 final and 3.13-dev (#448)
Browse files Browse the repository at this point in the history
  • Loading branch information
hukkin authored Oct 7, 2024
1 parent 10a31ec commit 63bd6b6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12-dev']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13-dev']
os: [ubuntu-latest, macos-latest, windows-latest]
continue-on-error: ${{ matrix.python-version == '3.12-dev' }}
continue-on-error: ${{ matrix.python-version == '3.13-dev' }}

steps:
- uses: actions/checkout@v3
Expand All @@ -54,7 +54,7 @@ jobs:
pytest --cov --cov-fail-under=100
- name: Report coverage
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8'
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'
uses: codecov/codecov-action@v2

allgood:
Expand All @@ -74,7 +74,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.8'
python-version: '3.x'
- name: Install build and publish tools
run: |
pip install build twine
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ authors = [
{ name = "Taneli Hukkinen", email = "[email protected]" },
]
license = { file = "LICENSE" }
requires-python = ">=3.8"
requires-python = ">=3.9"
dependencies = [
'markdown-it-py >=1.0.0,<4.0.0',
'tomli >=1.1.0; python_version < "3.11"',
Expand Down Expand Up @@ -63,10 +63,10 @@ xfail_strict = true
legacy_tox_ini = '''
[tox]
# Only run pytest envs when no args given to tox
envlist = py{38,39,310,311}
envlist = py{39,310,311,312,313}
isolated_build = True
[testenv:py{38,39,310,311}]
[testenv:py{39,310,311,312,313}]
description = run tests
deps =
-r tests/requirements.txt
Expand All @@ -90,7 +90,7 @@ commands = pre-commit run {posargs:--all}
[testenv:mypy]
description = run mypy
basepython = python3.8
basepython = python3.11
deps =
-r tests/requirements.txt
mypy==1.11.2
Expand Down

0 comments on commit 63bd6b6

Please sign in to comment.