Skip to content

Commit aad737f

Browse files
authored
‼️ BREAKING: drop Python 3.8 (#42)
1 parent 7a40415 commit aad737f

4 files changed

Lines changed: 13 additions & 12 deletions

File tree

.github/workflows/tests.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Tests
33
on:
44
push:
55
branches: [ master ]
6-
tags: [ '*.*.*' ]
6+
tags: [ '[0-9]+.[0-9]+.[0-9]+*' ]
77
pull_request:
88
branches: [ master ]
99

@@ -24,8 +24,9 @@ jobs:
2424
runs-on: ${{ matrix.os }}
2525
strategy:
2626
matrix:
27-
python-version: [3.7, 3.11]
28-
os: [ubuntu-latest, windows-latest]
27+
python-version: ['3.9', '3.13', '3.14-dev']
28+
os: [ubuntu-latest, macos-latest, windows-latest]
29+
continue-on-error: ${{ matrix.python-version == '3.14-dev' }}
2930

3031
steps:
3132
- uses: actions/checkout@v4
@@ -48,7 +49,7 @@ jobs:
4849
4950
# FYI: Requires token to continue usage
5051
# - name: Upload to Codecov
51-
# if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.8
52+
# if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.9
5253
# uses: codecov/codecov-action@v1
5354
# with:
5455
# name: pytests
@@ -64,7 +65,7 @@ jobs:
6465
- name: Set up Python
6566
uses: actions/setup-python@v2
6667
with:
67-
python-version: 3.8
68+
python-version: 3.9
6869

6970
- name: Installation (deps and package)
7071
run: |
@@ -86,7 +87,7 @@ jobs:
8687
- name: Set up Python
8788
uses: actions/setup-python@v5
8889
with:
89-
python-version: 3.8
90+
python-version: 3.9
9091
- name: install flit
9192
run: |
9293
pip install flit~=3.0

mdformat_myst/py.typed

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Marker file for PEP 561

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
requires = ["flit_core >=2,<4"]
33
build-backend = "flit_core.buildapi"
44

5-
65
[tool.flit.metadata]
76
module = "mdformat_myst"
87
author = "Taneli Hukkinen"
@@ -19,9 +18,9 @@ classifiers = [
1918
]
2019
keywords = "mdformat,markdown,formatter,gfm"
2120

22-
requires-python=">=3.7"
21+
requires-python=">=3.9"
2322
requires=[
24-
"mdformat >=0.7.0,<0.8.0",
23+
"mdformat >=0.7.0",
2524
"mdit-py-plugins >=0.3.0",
2625
"mdformat-tables >=0.4.0",
2726
"mdformat-frontmatter >=0.3.2",

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
[tox]
2-
envlist = py38
2+
envlist = py39
33
isolated_build = True
44

5-
[testenv:py{37,38,39}]
5+
[testenv:py{39,311,313}]
66
extras = test
77
deps =
88
black
99
flake8
1010
commands = pytest {posargs}
1111

12-
[testenv:py{37,38,39}-hook]
12+
[testenv:py{39,311,313}-hook]
1313
commands = pre-commit run --config .pre-commit-test.yaml {posargs:--all-files --verbose --show-diff-on-failure}
1414

1515
[flake8]

0 commit comments

Comments
 (0)