Skip to content

Commit

Permalink
🔧 Drop support for EOL Python 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
hukkin committed Nov 18, 2024
1 parent 8d6784e commit 502ff79
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
os: [ubuntu-latest, windows-latest]

steps:
Expand All @@ -48,10 +48,10 @@ jobs:
# FYI: Requires token to continue usage
# - name: Upload to Codecov
# if: matrix.python-version == 3.8
# if: matrix.python-version == 3.9
# uses: codecov/codecov-action@v1
# with:
# name: pytests-py3.8
# name: pytests-py3.9
# flags: pytests
# file: ./coverage.xml
# fail_ci_if_error: true
Expand All @@ -64,7 +64,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
python-version: '3.9'

- name: Installation (deps and package)
run: |
Expand All @@ -83,10 +83,10 @@ jobs:
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: '3.8'
python-version: '3.9'
- name: install flit
run: |
pip install flit~=3.0
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ classifiers = [
]
keywords = "mdformat,markdown,markdown-it"

requires-python=">=3.8"
requires-python=">=3.9"
requires=["mdformat>=0.7.5,<0.8.0", "wcwidth>=0.2.13"]

[tool.flit.metadata.requires-extra]
Expand Down
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[tox]
envlist = py{38,39,310,311,312,313}
envlist = py{39,310,311,312,313}
isolated_build = True

[testenv:py{38,39,310,311,312,313}]
[testenv:py{39,310,311,312,313}]
extras = test
commands = pytest --cov={envsitepackagesdir}/mdformat_tables {posargs}

[testenv:py{38,39,310,311,312,313}-pre-commit]
[testenv:py{39,310,311,312,313}-pre-commit]
deps = pre-commit
commands = pre-commit run {posargs}

[testenv:py{38,39,310,311,312,313}-hook]
[testenv:py{39,310,311,312,313}-hook]
deps = pre-commit
commands = pre-commit run --config .pre-commit-test.yaml {posargs:--all-files --verbose --show-diff-on-failure}

Expand Down

0 comments on commit 502ff79

Please sign in to comment.