Skip to content

Commit 1b81927

Browse files
committed
Drop support for Python 3.6
1 parent 42d9766 commit 1b81927

6 files changed

Lines changed: 23 additions & 26 deletions

File tree

.github/workflows/python_ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,19 @@ jobs:
2222
runs-on: "windows-2019"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13'
25+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13'
2626

2727
strategy:
2828
fail-fast: False
2929
matrix:
3030
config:
31-
- {python-version: "3.6", testenvs: "py36,build", experimental: False}
3231
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
3332
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3433
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3534
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3635
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
3736
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
38-
- {python-version: "3.13", testenvs: "py313-dev,build", experimental: True}
37+
- {python-version: "3.13", testenvs: "py313,build", experimental: False}
3938

4039
steps:
4140
- name: Checkout 🛎️

.github/workflows/python_ci_linux.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,19 @@ jobs:
2323
runs-on: "ubuntu-20.04"
2424
continue-on-error: ${{ matrix.config.experimental }}
2525
env:
26-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13'
26+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13'
2727

2828
strategy:
2929
fail-fast: False
3030
matrix:
3131
config:
32-
- {python-version: "3.6", testenvs: "py36,build", experimental: False}
3332
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
3433
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3534
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3635
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3736
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
3837
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
39-
- {python-version: "3.13", testenvs: "py313-dev,build", experimental: True}
38+
- {python-version: "3.13", testenvs: "py313,build", experimental: False}
4039

4140
steps:
4241
- name: Checkout 🛎️

.github/workflows/python_ci_macos.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,19 @@ jobs:
2222
runs-on: "macos-13"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10,3.11,3.12,3.13'
25+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13'
2626

2727
strategy:
2828
fail-fast: False
2929
matrix:
3030
config:
31-
- {python-version: "3.6", testenvs: "py36,build", experimental: False}
3231
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
3332
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
3433
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
3534
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3635
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
3736
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
38-
- {python-version: "3.13", testenvs: "py313-dev,build", experimental: True}
37+
- {python-version: "3.13", testenvs: "py313,build", experimental: False}
3938

4039
steps:
4140
- name: Checkout 🛎️

pyproject.toml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@ readme = "README.rst"
1010
keywords = [ "backport", "pprint", "prettyprint",]
1111
dynamic = [ "requires-python", "classifiers", "dependencies",]
1212

13-
[project.license]
14-
file = "LICENSE"
15-
1613
[[project.authors]]
1714
name = "Python Software Foundation"
1815
email = "dominic@davis-foster.co.uk"
1916

17+
18+
[project.license]
19+
file = "LICENSE"
20+
2021
[project.urls]
2122
Homepage = "https://github.com/domdfcoding/pprint36"
2223
"Issue Tracker" = "https://github.com/domdfcoding/pprint36/issues"
@@ -29,7 +30,7 @@ base-classifiers = [
2930
"Topic :: Software Development :: Libraries :: Python Modules",
3031
"Typing :: Typed",
3132
]
32-
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12",]
33+
python-versions = [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13",]
3334
python-implementations = [ "CPython",]
3435
platforms = [ "Windows", "macOS", "Linux",]
3536
license-key = "PSFLicense"
@@ -45,6 +46,13 @@ show_error_codes = true
4546
[tool.snippet-fmt]
4647
directives = [ "code-block",]
4748

49+
[tool.dependency-dash."requirements.txt"]
50+
order = 10
51+
52+
[tool.dependency-dash."tests/requirements.txt"]
53+
order = 20
54+
include = false
55+
4856
[tool.snippet-fmt.languages.python]
4957
reformat = true
5058

@@ -54,10 +62,3 @@ reformat = true
5462
[tool.snippet-fmt.languages.ini]
5563

5664
[tool.snippet-fmt.languages.json]
57-
58-
[tool.dependency-dash."requirements.txt"]
59-
order = 10
60-
61-
[tool.dependency-dash."tests/requirements.txt"]
62-
order = 20
63-
include = false

repo_helper.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,13 @@ enable_docs: False
1414
use_whey: true
1515

1616
python_versions:
17-
- 3.6
1817
- 3.7
1918
- 3.8
2019
- 3.9
2120
- "3.10"
2221
- "3.11"
2322
- "3.12"
24-
- 3.13-dev
23+
- "3.13"
2524

2625
exclude_files:
2726
- pre-commit

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# * pytest
2121

2222
[tox]
23-
envlist = py36, py37, py38, py39, py310, py311, py312, py313-dev, mypy, build
23+
envlist = py37, py38, py39, py310, py311, py312, py313, mypy, build
2424
skip_missing_interpreters = True
2525
isolated_build = True
2626
requires =
@@ -30,7 +30,7 @@ requires =
3030
virtualenv!=20.16.0
3131

3232
[envlists]
33-
test = py36, py37, py38, py39, py310, py311, py312, py313-dev
33+
test = py37, py38, py39, py310, py311, py312, py313
3434
qa = mypy, lint
3535
cov = py38, coverage
3636

@@ -49,7 +49,7 @@ setenv =
4949
PYTHONDEVMODE=1
5050
PIP_DISABLE_PIP_VERSION_CHECK=1
5151

52-
[testenv:py313-dev]
52+
[testenv:py313]
5353
download = True
5454
setenv =
5555
PYTHONDEVMODE=1
@@ -143,7 +143,7 @@ inline-quotes = "
143143
multiline-quotes = """
144144
docstring-quotes = """
145145
count = True
146-
min_python_version = 3.6.1
146+
min_python_version = 3.7
147147
unused-arguments-ignore-abstract-functions = True
148148
unused-arguments-ignore-overload-functions = True
149149
unused-arguments-ignore-magic-methods = True

0 commit comments

Comments
 (0)