Skip to content

Commit 86010d8

Browse files
committed
Drop support for Python 3.6
1 parent 42aa9bf commit 86010d8

File tree

7 files changed

+16
-35
lines changed

7 files changed

+16
-35
lines changed

.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 & 2 deletions
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,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
@@ -35,7 +35,7 @@ jobs:
3535
- {python-version: "3.10", testenvs: "py310,build", experimental: False}
3636
- {python-version: "3.11", testenvs: "py311,build", experimental: False}
3737
- {python-version: "3.12", testenvs: "py312,build", experimental: False}
38-
- {python-version: "3.13", testenvs: "py313-dev,build", experimental: True}
38+
- {python-version: "3.13", testenvs: "py313,build", experimental: False}
3939
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: False}
4040
- {python-version: "pypy-3.8", testenvs: "pypy38,build", experimental: False}
4141
- {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-${{ matrix.config.os-ver }}"
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", 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
- {python-version: "3.9", os-ver: "14", testenvs: "py39,build", experimental: False}
3534
- {python-version: "3.10", os-ver: "14", testenvs: "py310,build", experimental: False}
3635
- {python-version: "3.11", os-ver: "14", testenvs: "py311,build", experimental: False}
3736
- {python-version: "3.12", os-ver: "14", testenvs: "py312,build", experimental: False}
38-
- {python-version: "3.13", os-ver: "14", testenvs: "py313-dev,build", experimental: True}
37+
- {python-version: "3.13", os-ver: "14", testenvs: "py313,build", experimental: False}
3938
- {python-version: "pypy-3.7", os-ver: "13", testenvs: "pypy37,build", experimental: False}
4039
- {python-version: "pypy-3.8", os-ver: "14", testenvs: "pypy38,build", experimental: False}
4140
- {python-version: "pypy-3.9", os-ver: "14", testenvs: "pypy39,build", experimental: True}

CONTRIBUTING.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ Automated tests
3838
-------------------
3939

4040
Tests are run with ``tox`` and ``pytest``.
41-
To run tests for a specific Python version, such as Python 3.6:
41+
To run tests for a specific Python version, such as Python 3.10:
4242

4343
.. code-block:: bash
4444
45-
$ tox -e py36
45+
$ tox -e py310
4646
4747
4848
To run tests for all Python versions, simply run:

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "deprecation-alias"
77
version = "0.4.0"
88
description = "A wrapper around 'deprecation' providing support for deprecated aliases."
99
readme = "README.rst"
10-
requires-python = ">=3.6.1"
10+
requires-python = ">=3.7"
1111
keywords = [ "deprecation",]
1212
classifiers = [
1313
"Development Status :: 4 - Beta",
@@ -16,13 +16,13 @@ classifiers = [
1616
"Operating System :: OS Independent",
1717
"Programming Language :: Python",
1818
"Programming Language :: Python :: 3 :: Only",
19-
"Programming Language :: Python :: 3.6",
2019
"Programming Language :: Python :: 3.7",
2120
"Programming Language :: Python :: 3.8",
2221
"Programming Language :: Python :: 3.9",
2322
"Programming Language :: Python :: 3.10",
2423
"Programming Language :: Python :: 3.11",
2524
"Programming Language :: Python :: 3.12",
25+
"Programming Language :: Python :: 3.13",
2626
"Programming Language :: Python :: Implementation :: CPython",
2727
"Programming Language :: Python :: Implementation :: PyPy",
2828
"Topic :: Software Development :: Libraries :: Python Modules",
@@ -55,7 +55,7 @@ base-classifiers = [
5555
"Topic :: Software Development :: Libraries :: Python Modules",
5656
"Typing :: Typed",
5757
]
58-
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12",]
58+
python-versions = [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13",]
5959
python-implementations = [ "CPython", "PyPy",]
6060
platforms = [ "Windows", "macOS", "Linux",]
6161
license-key = "Apache-2.0"

repo_helper.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,13 @@ min_coverage: 85
1717
use_hatch: true
1818

1919
python_versions:
20-
- 3.6
2120
- 3.7
2221
- 3.8
2322
- 3.9
2423
- "3.10"
2524
- "3.11"
2625
- "3.12"
27-
- 3.13-dev
28-
- pypy36
26+
- "3.13"
2927
- pypy37
3028
- pypy38
3129
- pypy39

tox.ini

Lines changed: 4 additions & 18 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,19 +44,7 @@ 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
6349
cov = py38, coverage
6450

@@ -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
@@ -201,7 +187,7 @@ inline-quotes = "
201187
multiline-quotes = """
202188
docstring-quotes = """
203189
count = True
204-
min_python_version = 3.6.1
190+
min_python_version = 3.7
205191
unused-arguments-ignore-abstract-functions = True
206192
unused-arguments-ignore-overload-functions = True
207193
unused-arguments-ignore-magic-methods = True

0 commit comments

Comments
 (0)