Skip to content

Commit 1965f85

Browse files
committed
Drop support for Python 3.6
1 parent 46ce1a3 commit 1965f85

File tree

8 files changed

+14
-20
lines changed

8 files changed

+14
-20
lines changed

.github/workflows/flake8.yml

+1-1
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.8"
3939

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

.github/workflows/mypy.yml

+1-1
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.8"
4444

4545
- name: Install dependencies 🔧
4646
run: |

.github/workflows/python_ci.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,12 @@ 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'
25+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12'
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}

.github/workflows/python_ci_linux.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,12 @@ 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'
26+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12'
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}

.github/workflows/python_ci_macos.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,12 @@ 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'
25+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12'
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}

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ base-classifiers = [
3434
"Topic :: Software Development :: Libraries :: Python Modules",
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",]
3838
python-implementations = [ "CPython",]
3939
platforms = [ "Windows", "macOS", "Linux",]
4040
license-key = "BSD-3-Clause"
@@ -119,7 +119,7 @@ autodoc_exclude_members = [
119119
]
120120

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

repo_helper.yml

-3
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@ use_whey: true
1212
enable_conda: false
1313
enable_tests: false
1414

15-
python_deploy_version: 3.6
16-
1715
# Versions to run tests for
1816
python_versions:
19-
- 3.6
2017
- 3.7
2118
- 3.8
2219
- 3.9

tox.ini

+7-7
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# * pytest
2020

2121
[tox]
22-
envlist = py36, py37, py38, py39, py310, py311, py312, mypy, build
22+
envlist = py37, py38, py39, py310, py311, py312, mypy, build
2323
skip_missing_interpreters = True
2424
isolated_build = True
2525
requires =
@@ -29,7 +29,7 @@ requires =
2929
virtualenv!=20.16.0
3030

3131
[envlists]
32-
test = py36, py37, py38, py39, py310, py311, py312
32+
test = py37, py38, py39, py310, py311, py312
3333
qa = mypy, lint
3434

3535
[testenv]
@@ -80,7 +80,7 @@ commands =
8080
check-wheel-contents dist/
8181

8282
[testenv:lint]
83-
basepython = python3.6
83+
basepython = python3.8
8484
changedir = {toxinidir}
8585
ignore_errors = True
8686
skip_install = True
@@ -110,22 +110,22 @@ deps =
110110
commands = python3 -m flake8_rst_docstrings_sphinx whiptail --allow-toolbox {posargs}
111111

112112
[testenv:perflint]
113-
basepython = python3.6
113+
basepython = python3.8
114114
changedir = {toxinidir}
115115
ignore_errors = True
116116
skip_install = True
117117
deps = perflint
118118
commands = python3 -m perflint whiptail {posargs}
119119

120120
[testenv:mypy]
121-
basepython = python3.6
121+
basepython = python3.8
122122
ignore_errors = True
123123
changedir = {toxinidir}
124124
deps = mypy==0.971
125125
commands = mypy whiptail {posargs}
126126

127127
[testenv:pyup]
128-
basepython = python3.6
128+
basepython = python3.8
129129
skip_install = True
130130
ignore_errors = True
131131
changedir = {toxinidir}
@@ -151,7 +151,7 @@ inline-quotes = "
151151
multiline-quotes = """
152152
docstring-quotes = """
153153
count = True
154-
min_python_version = 3.6.1
154+
min_python_version = 3.7
155155
unused-arguments-ignore-abstract-functions = True
156156
unused-arguments-ignore-overload-functions = True
157157
unused-arguments-ignore-magic-methods = True

0 commit comments

Comments
 (0)