Skip to content

Commit

Permalink
Merge pull request #362 from jelmer/drop-py-3.6
Browse files Browse the repository at this point in the history
Drop Python 3.6 support
  • Loading branch information
jelmer committed Nov 1, 2023
2 parents b3ec4bc + 35d8b5c commit 16991ea
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [3.6, 3.7, 3.8, 3.9, "3.10", 3.11, 3.12, pypy3.9, pypy3.10]
python-version: [3.7, 3.8, 3.9, "3.10", 3.11, 3.12, pypy3.9, pypy3.10]

steps:
- uses: actions/checkout@v4
Expand Down
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ Improvements
* Drop the 'test' command for distutils. This has been
deprecated since 2.6.0. (Jelmer Vernooij)

* Drop support for Python 3.6.
(Jelmer Vernooij)

2.6.0
~~~~~

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ under the same license as Python, see LICENSE for details.
Supported platforms
-------------------

* Python 3.6+ or PyPy3
* Python 3.7+ or PyPy3

If you would like to use testtools for earlier Pythons, consult the compatibility docs:

Expand Down
3 changes: 2 additions & 1 deletion doc/hacking.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ Coding style
In general, follow `PEP 8`_ except where consistency with the standard
library's unittest_ module would suggest otherwise.

testtools supports Python 3.6 and later.
code should run on all supported Python versions; see the project configuration
for the current list.

Copyright assignment
--------------------
Expand Down
2 changes: 1 addition & 1 deletion doc/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Cross-Python compatibility
--------------------------

testtools gives you the very latest in unit testing technology in a way that
will work with Python 3.6+ and PyPy3.
will work with Python 3.7+ and PyPy3.

If you wish to use testtools with Python 2.4 or 2.5, then please use testtools
0.9.15.
Expand Down
2 changes: 1 addition & 1 deletion scripts/all-pythons
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@ def now():
if __name__ == '__main__':
sys.path.append(ROOT)
result = TestProtocolClient(sys.stdout)
for version in '3.6 3.7 3.8 3.9 3.10 3.11'.split():
for version in '3.7 3.8 3.9 3.10 3.11 3.12'.split():
run_for_python(version, result, sys.argv[1:])
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ classifier =
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
import setuptools

setuptools.setup(
python_requires='>=3.6',
python_requires='>=3.7',
setup_requires=['pbr'],
pbr=True)

0 comments on commit 16991ea

Please sign in to comment.