Skip to content

Commit 87c4f3b

Browse files
authored
🔧 MAINTAIN: Drop support for EOL Python 3.6 (#4)
1 parent 21e6928 commit 87c4f3b

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

‎.github/workflows/tests.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
runs-on: ${{ matrix.os }}
2525
strategy:
2626
matrix:
27-
python-version: [3.6, 3.7, 3.8, 3.9.0-rc.1]
27+
python-version: [3.7, 3.8, 3.9, '3.10']
2828
os: [ubuntu-latest, windows-latest]
2929

3030
steps:

‎mdformat_footnote/plugin.py‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
from __future__ import annotations
2+
3+
from collections.abc import Mapping
14
import textwrap
2-
from typing import Mapping
35

46
from markdown_it import MarkdownIt
57
from mdformat.renderer import RenderContext, RenderTreeNode

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ classifiers = [
1818
]
1919
keywords = "mdformat,markdown,markdown-it"
2020

21-
requires-python=">=3.6"
21+
requires-python=">=3.7"
2222
requires=["mdformat >=0.7.8,<0.8.0",
2323
"mdit-py-plugins",
2424
]

‎tox.ini‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
[tox]
2-
envlist = py{36,37,38,39}
2+
envlist = py{37,38,39,310}
33
isolated_build = True
44

5-
[testenv:py{36,37,38,39}]
5+
[testenv:py{37,38,39,310}]
66
extras = test
77
commands = pytest {posargs}
88

9-
[testenv:py{36,37,38,39}-cov]
9+
[testenv:py{37,38,39,310}-cov]
1010
extras = test
1111
commands = pytest --cov={envsitepackagesdir}/mdformat_footnote {posargs}
1212

13-
[testenv:py{36,37,38,39}-pre-commit]
13+
[testenv:py{37,38,39,310}-pre-commit]
1414
extras = dev
1515
commands = pre-commit run {posargs}
1616

17-
[testenv:py{36,37,38,39}-hook]
17+
[testenv:py{37,38,39,310}-hook]
1818
extras = dev
1919
commands = pre-commit run --config .pre-commit-test.yaml {posargs:--all-files --verbose --show-diff-on-failure}
2020

0 commit comments

Comments
 (0)