Skip to content

Commit 539074a

Browse files
committed
Drop support for Python 3.6
1 parent 1766d23 commit 539074a

File tree

7 files changed

+20
-41
lines changed

7 files changed

+20
-41
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/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
@@ -31,7 +31,7 @@ base-classifiers = [
3131
"Topic :: Utilities",
3232
"Typing :: Typed",
3333
]
34-
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12",]
34+
python-versions = [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13",]
3535
python-implementations = [ "CPython", "PyPy",]
3636
platforms = [ "Windows", "macOS", "Linux",]
3737
license-key = "MIT"
@@ -126,7 +126,7 @@ autodoc_exclude_members = [
126126
]
127127

128128
[tool.mypy]
129-
python_version = "3.6"
129+
python_version = "3.7"
130130
namespace_packages = true
131131
check_untyped_defs = true
132132
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
@@ -22,15 +22,13 @@
2222

2323
[tox]
2424
envlist =
25-
py36
2625
py37
2726
py38
2827
py39
2928
py310
3029
py311
3130
py312
32-
py313-dev
33-
pypy36
31+
py313
3432
pypy37
3533
pypy38
3634
pypy39
@@ -45,21 +43,9 @@ requires =
4543
virtualenv!=20.16.0
4644

4745
[envlists]
48-
test =
49-
py36
50-
py37
51-
py38
52-
py39
53-
py310
54-
py311
55-
py312
56-
py313-dev
57-
pypy36
58-
pypy37
59-
pypy38
60-
pypy39
46+
test = py37, py38, py39, py310, py311, py312, py313, pypy37, pypy38, pypy39
6147
qa = mypy, lint
62-
cov = py36, coverage
48+
cov = py37, coverage
6349

6450
[testenv]
6551
setenv =
@@ -76,7 +62,7 @@ setenv =
7662
PYTHONDEVMODE=1
7763
PIP_DISABLE_PIP_VERSION_CHECK=1
7864

79-
[testenv:py313-dev]
65+
[testenv:py313]
8066
download = True
8167
setenv =
8268
PYTHONDEVMODE=1
@@ -116,7 +102,7 @@ commands =
116102
check-wheel-contents dist/
117103

118104
[testenv:lint]
119-
basepython = python3.6
105+
basepython = python3.7
120106
changedir = {toxinidir}
121107
ignore_errors = True
122108
skip_install = False
@@ -146,15 +132,15 @@ deps =
146132
commands = python3 -m flake8_rst_docstrings_sphinx flake8_helper tests --allow-toolbox {posargs}
147133

148134
[testenv:perflint]
149-
basepython = python3.6
135+
basepython = python3.7
150136
changedir = {toxinidir}
151137
ignore_errors = True
152138
skip_install = True
153139
deps = perflint
154140
commands = python3 -m perflint flake8_helper {posargs}
155141

156142
[testenv:mypy]
157-
basepython = python3.6
143+
basepython = python3.7
158144
ignore_errors = True
159145
changedir = {toxinidir}
160146
deps =
@@ -163,15 +149,15 @@ deps =
163149
commands = mypy flake8_helper tests {posargs}
164150

165151
[testenv:pyup]
166-
basepython = python3.6
152+
basepython = python3.7
167153
skip_install = True
168154
ignore_errors = True
169155
changedir = {toxinidir}
170156
deps = pyupgrade-directories
171157
commands = pyup_dirs flake8_helper tests --py36-plus --recursive
172158

173159
[testenv:coverage]
174-
basepython = python3.6
160+
basepython = python3.7
175161
skip_install = True
176162
ignore_errors = True
177163
whitelist_externals = /bin/bash
@@ -208,7 +194,7 @@ inline-quotes = "
208194
multiline-quotes = """
209195
docstring-quotes = """
210196
count = True
211-
min_python_version = 3.6.1
197+
min_python_version = 3.7
212198
unused-arguments-ignore-abstract-functions = True
213199
unused-arguments-ignore-overload-functions = True
214200
unused-arguments-ignore-magic-methods = True

0 commit comments

Comments
 (0)