Skip to content

Commit 4da8e10

Browse files
committed
Drop support for Python 3.6
1 parent ef7d297 commit 4da8e10

File tree

8 files changed

+21
-42
lines changed

8 files changed

+21
-42
lines changed

.github/workflows/flake8.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
if: steps.changes.outputs.code == 'true'
3636
uses: "actions/setup-python@v5"
3737
with:
38-
python-version: "3.6"
38+
python-version: "3.7"
3939

4040
- name: Install dependencies 🔧
4141
if: steps.changes.outputs.code == 'true'

.github/workflows/mypy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
if: steps.changes.outputs.code == 'true'
4141
uses: "actions/setup-python@v5"
4242
with:
43-
python-version: "3.6"
43+
python-version: "3.7"
4444

4545
- name: Install dependencies 🔧
4646
run: |

.github/workflows/python_ci.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,21 +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,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
25+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13,pypy-3.7,pypy-3.8,pypy-3.9'
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}
39-
- {python-version: "pypy-3.6", testenvs: "pypy36", experimental: False}
37+
- {python-version: "3.13", testenvs: "py313,build", experimental: False}
4038
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
4139
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
4240
- {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39,build", experimental: True}

.github/workflows/python_ci_linux.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +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,pypy-3.6,pypy-3.7,pypy-3.8,pypy-3.9'
26+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13,pypy-3.7,pypy-3.8,pypy-3.9'
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}
40-
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
38+
- {python-version: "3.13", testenvs: "py313,build", experimental: False}
4139
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
4240
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
4341
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}

.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,pypy-3.7,pypy-3.8,pypy-3.9'
25+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13,pypy-3.7,pypy-3.8,pypy-3.9'
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
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
4039
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
4140
- {python-version: "pypy-3.9", testenvs: "pypy39,build", experimental: True}

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ base-classifiers = [
3434
"Topic :: Utilities",
3535
"Typing :: Typed",
3636
]
37-
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12",]
37+
python-versions = [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13",]
3838
python-implementations = [ "CPython", "PyPy",]
3939
platforms = [ "Windows", "macOS", "Linux",]
4040
license-key = "MIT"
@@ -125,7 +125,7 @@ autodoc_exclude_members = [
125125
]
126126

127127
[tool.mypy]
128-
python_version = "3.6"
128+
python_version = "3.7"
129129
namespace_packages = true
130130
check_untyped_defs = true
131131
warn_unused_ignores = true

repo_helper.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,13 @@ conda_channels:
2222

2323
# Versions to run tests for
2424
python_versions:
25-
- '3.6'
2625
- '3.7'
2726
- '3.8'
2827
- '3.9'
2928
- "3.10"
3029
- "3.11"
3130
- "3.12"
32-
- 3.13-dev
33-
- pypy36
31+
- "3.13"
3432
- pypy37
3533
- pypy38
3634
- pypy39

tox.ini

Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,13 @@
2323

2424
[tox]
2525
envlist =
26-
py36
2726
py37
2827
py38
2928
py39
3029
py310
3130
py311
3231
py312
33-
py313-dev
34-
pypy36
32+
py313
3533
pypy37
3634
pypy38
3735
pypy39
@@ -46,21 +44,9 @@ requires =
4644
virtualenv!=20.16.0
4745

4846
[envlists]
49-
test =
50-
py36
51-
py37
52-
py38
53-
py39
54-
py310
55-
py311
56-
py312
57-
py313-dev
58-
pypy36
59-
pypy37
60-
pypy38
61-
pypy39
47+
test = py37, py38, py39, py310, py311, py312, py313, pypy37, pypy38, pypy39
6248
qa = mypy, lint
63-
cov = py36, coverage
49+
cov = py37, coverage
6450

6551
[testenv]
6652
setenv =
@@ -77,7 +63,7 @@ setenv =
7763
PYTHONDEVMODE=1
7864
PIP_DISABLE_PIP_VERSION_CHECK=1
7965

80-
[testenv:py313-dev]
66+
[testenv:py313]
8167
download = True
8268
setenv =
8369
PYTHONDEVMODE=1
@@ -117,7 +103,7 @@ commands =
117103
check-wheel-contents dist/
118104

119105
[testenv:lint]
120-
basepython = python3.6
106+
basepython = python3.7
121107
changedir = {toxinidir}
122108
ignore_errors = True
123109
skip_install = False
@@ -147,15 +133,15 @@ deps =
147133
commands = python3 -m flake8_rst_docstrings_sphinx flake8_slots tests --allow-toolbox {posargs}
148134

149135
[testenv:perflint]
150-
basepython = python3.6
136+
basepython = python3.7
151137
changedir = {toxinidir}
152138
ignore_errors = True
153139
skip_install = True
154140
deps = perflint
155141
commands = python3 -m perflint flake8_slots {posargs}
156142

157143
[testenv:mypy]
158-
basepython = python3.6
144+
basepython = python3.7
159145
ignore_errors = True
160146
changedir = {toxinidir}
161147
deps =
@@ -164,15 +150,15 @@ deps =
164150
commands = mypy flake8_slots tests {posargs}
165151

166152
[testenv:pyup]
167-
basepython = python3.6
153+
basepython = python3.7
168154
skip_install = True
169155
ignore_errors = True
170156
changedir = {toxinidir}
171157
deps = pyupgrade-directories
172158
commands = pyup_dirs flake8_slots tests --py36-plus --recursive
173159

174160
[testenv:coverage]
175-
basepython = python3.6
161+
basepython = python3.7
176162
skip_install = True
177163
ignore_errors = True
178164
whitelist_externals = /bin/bash
@@ -209,7 +195,7 @@ inline-quotes = "
209195
multiline-quotes = """
210196
docstring-quotes = """
211197
count = True
212-
min_python_version = 3.6.1
198+
min_python_version = 3.7
213199
unused-arguments-ignore-abstract-functions = True
214200
unused-arguments-ignore-overload-functions = True
215201
unused-arguments-ignore-magic-methods = True

0 commit comments

Comments
 (0)