Skip to content

Commit 8fa0e67

Browse files
committed
Drop support for Python 3.6
1 parent 6cefa23 commit 8fa0e67

File tree

9 files changed

+16
-23
lines changed

9 files changed

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

4545
- name: Install dependencies 🔧
4646
run: |

.github/workflows/python_ci.yml

Lines changed: 1 addition & 2 deletions
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'
25+
USING_COVERAGE: '3.7,3.8'
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

.github/workflows/python_ci_linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: "ubuntu-22.04"
2424
continue-on-error: ${{ matrix.config.experimental }}
2525
env:
26-
USING_COVERAGE: '3.6,3.7,3.8'
26+
USING_COVERAGE: '3.7,3.8'
2727

2828
strategy:
2929
fail-fast: False

.github/workflows/python_ci_macos.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,12 @@ jobs:
2222
runs-on: "macos-${{ matrix.config.os-ver }}"
2323
continue-on-error: ${{ matrix.config.experimental }}
2424
env:
25-
USING_COVERAGE: '3.6,3.7,3.8'
25+
USING_COVERAGE: '3.7,3.8'
2626

2727
strategy:
2828
fail-fast: False
2929
matrix:
3030
config:
31-
- {python-version: "3.6", os-ver: "13", testenvs: "py36,build", experimental: False}
3231
- {python-version: "3.7", os-ver: "13", testenvs: "py37,build", experimental: False}
3332
- {python-version: "3.8", os-ver: "14", testenvs: "py38,build", experimental: False}
3433

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@ name = "dummy_wx"
77
version = "0.3.0"
88
description = "This module does nothing."
99
readme = "README.rst"
10-
requires-python = ">=3.6.1"
10+
requires-python = ">=3.7"
1111
keywords = [ "sphinx", "wxpython",]
1212
classifiers = [
1313
"Intended Audience :: Developers",
1414
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
1515
"Operating System :: OS Independent",
1616
"Programming Language :: Python",
1717
"Programming Language :: Python :: 3 :: Only",
18-
"Programming Language :: Python :: 3.6",
1918
"Programming Language :: Python :: 3.7",
2019
"Programming Language :: Python :: 3.8",
2120
"Programming Language :: Python :: Implementation :: CPython",
@@ -44,7 +43,7 @@ platforms = [ "Windows", "macOS", "Linux",]
4443

4544
[tool.whey]
4645
base-classifiers = [ "Intended Audience :: Developers", "Operating System :: OS Independent", "Topic :: Utilities",]
47-
python-versions = [ "3.6", "3.7", "3.8",]
46+
python-versions = [ "3.7", "3.8",]
4847
python-implementations = [ "CPython",]
4948
platforms = [ "Windows", "macOS", "Linux",]
5049
license-key = "LGPL-3.0-or-later"
@@ -60,7 +59,7 @@ additional-files = [
6059
]
6160

6261
[tool.mypy]
63-
python_version = "3.6"
62+
python_version = "3.8"
6463
namespace_packages = true
6564
check_untyped_defs = true
6665
warn_unused_ignores = true

repo_helper.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,8 @@ additional_ignore:
1616
- "**/dist"
1717

1818

19-
python_deploy_version: 3.6
20-
2119
# Versions to run tests for
2220
python_versions:
23-
- '3.6'
2421
- '3.7'
2522
- '3.8'
2623

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,13 @@ classifiers =
2626
Operating System :: OS Independent
2727
Programming Language :: Python
2828
Programming Language :: Python :: 3 :: Only
29-
Programming Language :: Python :: 3.6
3029
Programming Language :: Python :: 3.7
3130
Programming Language :: Python :: 3.8
3231
Programming Language :: Python :: Implementation :: CPython
3332
Topic :: Utilities
3433

3534
[options]
36-
python_requires = >=3.6.1
35+
python_requires = >=3.7
3736
zip_safe = False
3837
include_package_data = True
3938
packages = find:

tox.ini

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

2121
[tox]
22-
envlist = py36, py37, py38, mypy, build
22+
envlist = py37, py38, 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
32+
test = py37, py38
3333
qa = mypy, lint
3434

3535
[testenv]
@@ -66,7 +66,7 @@ commands =
6666
check-wheel-contents dist/
6767

6868
[testenv:lint]
69-
basepython = python3.6
69+
basepython = python3.8
7070
changedir = {toxinidir}
7171
ignore_errors = True
7272
skip_install = True
@@ -96,22 +96,22 @@ deps =
9696
commands = python3 -m flake8_rst_docstrings_sphinx wx --allow-toolbox {posargs}
9797

9898
[testenv:perflint]
99-
basepython = python3.6
99+
basepython = python3.8
100100
changedir = {toxinidir}
101101
ignore_errors = True
102102
skip_install = True
103103
deps = perflint
104104
commands = python3 -m perflint wx {posargs}
105105

106106
[testenv:mypy]
107-
basepython = python3.6
107+
basepython = python3.8
108108
ignore_errors = True
109109
changedir = {toxinidir}
110110
deps = mypy==0.971
111111
commands = mypy wx {posargs}
112112

113113
[testenv:pyup]
114-
basepython = python3.6
114+
basepython = python3.8
115115
skip_install = True
116116
ignore_errors = True
117117
changedir = {toxinidir}
@@ -170,7 +170,7 @@ inline-quotes = "
170170
multiline-quotes = """
171171
docstring-quotes = """
172172
count = True
173-
min_python_version = 3.6.1
173+
min_python_version = 3.7
174174
unused-arguments-ignore-abstract-functions = True
175175
unused-arguments-ignore-overload-functions = True
176176
unused-arguments-ignore-magic-methods = True

0 commit comments

Comments
 (0)