Skip to content

Commit 5bf942c

Browse files
committed
Drop support for Python 3.6
1 parent f64c747 commit 5bf942c

File tree

8 files changed

+28
-38
lines changed

8 files changed

+28
-38
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-click{7.1,8.0},build", experimental: False}
3231
- {python-version: "3.7", testenvs: "py37-click{7.1,8.0,8.1},build", experimental: False}
3332
- {python-version: "3.8", testenvs: "py38-click{7.1,8.0,8.1},build", experimental: False}
3433
- {python-version: "3.9", testenvs: "py39-click{7.1,8.0,8.1},build", experimental: False}
3534
- {python-version: "3.10", testenvs: "py310-click{7.1,8.0,8.1},build", experimental: False}
3635
- {python-version: "3.11", testenvs: "py311-click{7.1,8.0,8.1},build", experimental: False}
3736
- {python-version: "3.12", testenvs: "py312-click{7.1,8.0,8.1},build", experimental: False}
38-
- {python-version: "3.13", testenvs: "py313-dev-click{7.1,8.0,8.1},build", experimental: True}
39-
- {python-version: "pypy-3.6", testenvs: "pypy36-click{7.1,8.0}", experimental: False}
37+
- {python-version: "3.13", testenvs: "py313-click{7.1,8.0,8.1},build", experimental: False}
4038
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7.1,8.0,8.1},build", experimental: False}
4139
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7.1,8.0,8.1},build", experimental: False}
4240
- {python-version: "pypy-3.9-v7.3.15", testenvs: "pypy39-click{7.1,8.0,8.1},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-click{7.1,8.0},build", experimental: False}
3332
- {python-version: "3.7", testenvs: "py37-click{7.1,8.0,8.1},build", experimental: False}
3433
- {python-version: "3.8", testenvs: "py38-click{7.1,8.0,8.1},build", experimental: False}
3534
- {python-version: "3.9", testenvs: "py39-click{7.1,8.0,8.1},build", experimental: False}
3635
- {python-version: "3.10", testenvs: "py310-click{7.1,8.0,8.1},build", experimental: False}
3736
- {python-version: "3.11", testenvs: "py311-click{7.1,8.0,8.1},build", experimental: False}
3837
- {python-version: "3.12", testenvs: "py312-click{7.1,8.0,8.1},build", experimental: False}
39-
- {python-version: "3.13", testenvs: "py313-dev-click{7.1,8.0,8.1},build", experimental: True}
40-
- {python-version: "pypy-3.6", testenvs: "pypy36-click{7.1,8.0},build", experimental: False}
38+
- {python-version: "3.13", testenvs: "py313-click{7.1,8.0,8.1},build", experimental: False}
4139
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7.1,8.0,8.1},build", experimental: False}
4240
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7.1,8.0,8.1},build", experimental: False}
4341
- {python-version: "pypy-3.9", testenvs: "pypy39-click{7.1,8.0,8.1},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-click{7.1,8.0},build", experimental: False}
3231
- {python-version: "3.7", testenvs: "py37-click{7.1,8.0,8.1},build", experimental: False}
3332
- {python-version: "3.8", testenvs: "py38-click{7.1,8.0,8.1},build", experimental: False}
3433
- {python-version: "3.9", testenvs: "py39-click{7.1,8.0,8.1},build", experimental: False}
3534
- {python-version: "3.10", testenvs: "py310-click{7.1,8.0,8.1},build", experimental: False}
3635
- {python-version: "3.11", testenvs: "py311-click{7.1,8.0,8.1},build", experimental: False}
3736
- {python-version: "3.12", testenvs: "py312-click{7.1,8.0,8.1},build", experimental: False}
38-
- {python-version: "3.13", testenvs: "py313-dev-click{7.1,8.0,8.1},build", experimental: True}
37+
- {python-version: "3.13", testenvs: "py313-click{7.1,8.0,8.1},build", experimental: False}
3938
- {python-version: "pypy-3.7", testenvs: "pypy37-click{7.1,8.0,8.1},build", experimental: False}
4039
- {python-version: "pypy-3.8", testenvs: "pypy38-click{7.1,8.0,8.1},build", experimental: False}
4140
- {python-version: "pypy-3.9", testenvs: "pypy39-click{7.1,8.0,8.1},build", experimental: True}

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ base-classifiers = [
3333
"Intended Audience :: Developers",
3434
"Typing :: Typed",
3535
]
36-
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12",]
36+
python-versions = [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13",]
3737
python-implementations = [ "CPython", "PyPy",]
3838
platforms = [ "Windows", "macOS", "Linux",]
3939
license-key = "MIT"
@@ -119,7 +119,7 @@ autodoc_exclude_members = [
119119
]
120120

121121
[tool.mypy]
122-
python_version = "3.6"
122+
python_version = "3.7"
123123
namespace_packages = true
124124
check_untyped_defs = true
125125
warn_unused_ignores = true

repo_helper.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,13 @@ standalone_contrib_guide: true
1919
docs_fail_on_warning: true
2020

2121
python_versions:
22-
3.6:
23-
matrix_exclude:
24-
click:
25-
- 8.1
2622
3.7:
2723
3.8:
2824
3.9:
2925
'3.10':
3026
'3.11':
3127
'3.12':
32-
3.13-dev:
33-
pypy36:
34-
matrix_exclude:
35-
click:
36-
- 8.1
28+
'3.13':
3729
pypy37:
3830
pypy38:
3931
pypy39:

tox.ini

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

2424
[tox]
2525
envlist =
26-
py36-click{7.1,8.0}
2726
py37-click{7.1,8.0,8.1}
2827
py38-click{7.1,8.0,8.1}
2928
py39-click{7.1,8.0,8.1}
3029
py310-click{7.1,8.0,8.1}
3130
py311-click{7.1,8.0,8.1}
3231
py312-click{7.1,8.0,8.1}
33-
py313-dev-click{7.1,8.0,8.1}
34-
pypy36-click{7.1,8.0}
32+
py313-click{7.1,8.0,8.1}
3533
pypy37-click{7.1,8.0,8.1}
3634
pypy38-click{7.1,8.0,8.1}
3735
pypy39-click{7.1,8.0,8.1}
@@ -47,20 +45,18 @@ requires =
4745

4846
[envlists]
4947
test =
50-
py36-click{7.1,8.0}
5148
py37-click{7.1,8.0,8.1}
5249
py38-click{7.1,8.0,8.1}
5350
py39-click{7.1,8.0,8.1}
5451
py310-click{7.1,8.0,8.1}
5552
py311-click{7.1,8.0,8.1}
5653
py312-click{7.1,8.0,8.1}
57-
py313-dev-click{7.1,8.0,8.1}
58-
pypy36-click{7.1,8.0}
54+
py313-click{7.1,8.0,8.1}
5955
pypy37-click{7.1,8.0,8.1}
6056
pypy38-click{7.1,8.0,8.1}
6157
pypy39-click{7.1,8.0,8.1}
6258
qa = mypy, lint
63-
cov = py36-click7.1, coverage
59+
cov = py37-click7.1, coverage
6460

6561
[testenv]
6662
setenv =
@@ -81,7 +77,7 @@ setenv =
8177
PYTHONDEVMODE=1
8278
PIP_DISABLE_PIP_VERSION_CHECK=1
8379

84-
[testenv:py313-dev]
80+
[testenv:py313]
8581
download = True
8682
setenv =
8783
PYTHONDEVMODE=1
@@ -121,7 +117,7 @@ commands =
121117
check-wheel-contents dist/
122118

123119
[testenv:lint]
124-
basepython = python3.6
120+
basepython = python3.7
125121
changedir = {toxinidir}
126122
ignore_errors = True
127123
skip_install = True
@@ -151,15 +147,15 @@ deps =
151147
commands = python3 -m flake8_rst_docstrings_sphinx importcheck tests --allow-toolbox {posargs}
152148

153149
[testenv:perflint]
154-
basepython = python3.6
150+
basepython = python3.7
155151
changedir = {toxinidir}
156152
ignore_errors = True
157153
skip_install = True
158154
deps = perflint
159155
commands = python3 -m perflint importcheck {posargs}
160156

161157
[testenv:mypy]
162-
basepython = python3.6
158+
basepython = python3.7
163159
ignore_errors = True
164160
changedir = {toxinidir}
165161
deps =
@@ -169,15 +165,15 @@ deps =
169165
commands = mypy importcheck tests {posargs}
170166

171167
[testenv:pyup]
172-
basepython = python3.6
168+
basepython = python3.7
173169
skip_install = True
174170
ignore_errors = True
175171
changedir = {toxinidir}
176172
deps = pyupgrade-directories
177173
commands = pyup_dirs importcheck tests --py36-plus --recursive
178174

179175
[testenv:coverage]
180-
basepython = python3.6
176+
basepython = python3.7
181177
skip_install = True
182178
ignore_errors = True
183179
whitelist_externals = /bin/bash
@@ -215,7 +211,7 @@ inline-quotes = "
215211
multiline-quotes = """
216212
docstring-quotes = """
217213
count = True
218-
min_python_version = 3.6.1
214+
min_python_version = 3.7
219215
unused-arguments-ignore-abstract-functions = True
220216
unused-arguments-ignore-overload-functions = True
221217
unused-arguments-ignore-magic-methods = True
@@ -251,6 +247,13 @@ setenv =
251247
PYTHONDEVMODE=1
252248
PIP_DISABLE_PIP_VERSION_CHECK=1
253249
250+
[testenv:py313-click{7.1,8.0,8.1}]
251+
download = True
252+
setenv =
253+
PYTHONDEVMODE=1
254+
PIP_DISABLE_PIP_VERSION_CHECK=1
255+
UNSAFE_PYO3_SKIP_VERSION_CHECK=1
256+
254257
[testenv:py313-dev-click{7.1,8.0,8.1}]
255258
download = True
256259
setenv =

0 commit comments

Comments
 (0)