Skip to content

Commit d35bae6

Browse files
committed
Drop support for Python 3.6
1 parent b1a7273 commit d35bae6

File tree

9 files changed

+20
-23
lines changed

9 files changed

+20
-23
lines changed

.github/workflows/python_ci.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +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'
25+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13'
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

4039
steps:
4140
- name: Checkout 🛎️

.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'
26+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13'
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

4040
steps:
4141
- name: Checkout 🛎️

.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'
25+
USING_COVERAGE: '3.7,3.8,3.9,3.10,3.11,3.12,3.13'
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

4039
steps:
4140
- name: Checkout 🛎️

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:

doc-source/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
.. prompt:: 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 = "create_redirect"
77
version = "0.2.1"
88
description = "Python script for creating HTML redirects."
99
readme = "README.rst"
10-
requires-python = ">=3.6.1"
10+
requires-python = ">=3.7"
1111
keywords = []
1212
classifiers = [
1313
"Development Status :: 3 - Alpha",
@@ -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
"Topic :: Software Development :: Libraries :: Python Modules",
2828
"Topic :: Text Processing :: Markup :: HTML",
@@ -137,7 +137,7 @@ base-classifiers = [
137137
"Topic :: Software Development :: Libraries :: Python Modules",
138138
"Topic :: Text Processing :: Markup :: HTML",
139139
]
140-
python-versions = [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12",]
140+
python-versions = [ "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13",]
141141
python-implementations = [ "CPython",]
142142
platforms = [ "Windows", "macOS", "Linux",]
143143
license-key = "MIT"

repo_helper.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@ short_desc: 'Python script for creating HTML redirects.'
1212
enable_conda: False
1313

1414
python_versions:
15-
- 3.6
1615
- 3.7
1716
- 3.8
1817
- 3.9
1918
- "3.10"
2019
- "3.11"
2120
- "3.12"
22-
- "3.13-dev"
21+
- "3.13"
2322

2423
classifiers:
2524
- 'Development Status :: 3 - Alpha'

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@ classifiers =
2828
Operating System :: OS Independent
2929
Programming Language :: Python
3030
Programming Language :: Python :: 3 :: Only
31-
Programming Language :: Python :: 3.6
3231
Programming Language :: Python :: 3.7
3332
Programming Language :: Python :: 3.8
3433
Programming Language :: Python :: 3.9
3534
Programming Language :: Python :: 3.10
3635
Programming Language :: Python :: 3.11
3736
Programming Language :: Python :: 3.12
37+
Programming Language :: Python :: 3.13
3838
Programming Language :: Python :: Implementation :: CPython
3939
Topic :: Software Development :: Libraries :: Python Modules
4040
Topic :: Text Processing :: Markup :: HTML
4141

4242
[options]
43-
python_requires = >=3.6.1
43+
python_requires = >=3.7
4444
zip_safe = False
4545
include_package_data = True
4646
packages = find:

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# * pytest
2323

2424
[tox]
25-
envlist = py36, py37, py38, py39, py310, py311, py312, py313-dev, mypy, build
25+
envlist = py37, py38, py39, py310, py311, py312, py313, mypy, build
2626
skip_missing_interpreters = True
2727
isolated_build = True
2828
requires =
@@ -32,7 +32,7 @@ requires =
3232
virtualenv!=20.16.0
3333

3434
[envlists]
35-
test = py36, py37, py38, py39, py310, py311, py312, py313-dev
35+
test = py37, py38, py39, py310, py311, py312, py313
3636
qa = mypy, lint
3737
cov = py38, coverage
3838

@@ -51,7 +51,7 @@ setenv =
5151
PYTHONDEVMODE=1
5252
PIP_DISABLE_PIP_VERSION_CHECK=1
5353

54-
[testenv:py313-dev]
54+
[testenv:py313]
5555
download = True
5656
setenv =
5757
PYTHONDEVMODE=1
@@ -183,7 +183,7 @@ inline-quotes = "
183183
multiline-quotes = """
184184
docstring-quotes = """
185185
count = True
186-
min_python_version = 3.6.1
186+
min_python_version = 3.7
187187
unused-arguments-ignore-abstract-functions = True
188188
unused-arguments-ignore-overload-functions = True
189189
unused-arguments-ignore-magic-methods = True

0 commit comments

Comments
 (0)