Skip to content

Commit 5599c5a

Browse files
committed
Drop Python3.6 in CI, setup.cfg, and readme.
1 parent 09c0bee commit 5599c5a

File tree

7 files changed

+6
-17
lines changed

7 files changed

+6
-17
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,12 @@ jobs:
3131
fail-fast: false
3232
matrix:
3333
name: [
34-
"windows-py36",
3534
"windows-py37",
3635
"windows-py37-pluggy",
3736
"windows-py38",
3837
"windows-py39",
3938
"windows-py310",
4039

41-
"ubuntu-py36",
4240
"ubuntu-py37",
4341
"ubuntu-py37-pluggy",
4442
"ubuntu-py37-freeze",
@@ -56,10 +54,6 @@ jobs:
5654
]
5755

5856
include:
59-
- name: "windows-py36"
60-
python: "3.6"
61-
os: windows-latest
62-
tox_env: "py36-xdist"
6357
- name: "windows-py37"
6458
python: "3.7"
6559
os: windows-latest
@@ -82,10 +76,6 @@ jobs:
8276
os: windows-latest
8377
tox_env: "py310-xdist"
8478

85-
- name: "ubuntu-py36"
86-
python: "3.6"
87-
os: ubuntu-latest
88-
tox_env: "py36-xdist"
8979
- name: "ubuntu-py37"
9080
python: "3.7"
9181
os: ubuntu-latest

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Features
100100
- Can run `unittest <https://docs.pytest.org/en/stable/how-to/unittest.html>`_ (or trial),
101101
`nose <https://docs.pytest.org/en/stable/how-to/nose.html>`_ test suites out of the box
102102

103-
- Python 3.6+ and PyPy3
103+
- Python 3.7+ and PyPy3
104104

105105
- Rich plugin architecture, with over 850+ `external plugins <https://docs.pytest.org/en/latest/reference/plugin_list.html>`_ and thriving community
106106

changelog/9437.breaking.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Dropped support for Python 3.6, which reached `end-of-life <https://devguide.python.org/#status-of-python-branches>`__ at 2021-12-23.

doc/en/getting-started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Get Started
99
Install ``pytest``
1010
----------------------------------------
1111

12-
``pytest`` requires: Python 3.6, 3.7, 3.8, 3.9, or PyPy3.
12+
``pytest`` requires: Python 3.7, 3.8, 3.9, or PyPy3.
1313

1414
1. Run the following command in your command line:
1515

doc/en/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The ``pytest`` framework makes it easy to write small, readable tests, and can
1717
scale to support complex functional testing for applications and libraries.
1818

1919

20-
**Pythons**: ``pytest`` requires: Python 3.6, 3.7, 3.8, 3.9, or PyPy3.
20+
**Pythons**: ``pytest`` requires: Python 3.7, 3.8, 3.9, or PyPy3.
2121

2222
**PyPI package name**: :pypi:`pytest`
2323

@@ -78,7 +78,7 @@ Features
7878

7979
- Can run :ref:`unittest <unittest>` (including trial) and :ref:`nose <noseintegration>` test suites out of the box
8080

81-
- Python 3.6+ and PyPy 3
81+
- Python 3.7+ and PyPy 3
8282

8383
- Rich plugin architecture, with over 800+ :ref:`external plugins <plugin-list>` and thriving community
8484

setup.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ classifiers =
1717
Operating System :: POSIX
1818
Programming Language :: Python :: 3
1919
Programming Language :: Python :: 3 :: Only
20-
Programming Language :: Python :: 3.6
2120
Programming Language :: Python :: 3.7
2221
Programming Language :: Python :: 3.8
2322
Programming Language :: Python :: 3.9
@@ -51,7 +50,7 @@ install_requires =
5150
atomicwrites>=1.0;sys_platform=="win32"
5251
colorama;sys_platform=="win32"
5352
importlib-metadata>=0.12;python_version<"3.8"
54-
python_requires = >=3.6
53+
python_requires = >=3.7
5554
package_dir =
5655
=src
5756
setup_requires =

tox.ini

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ minversion = 3.20.0
44
distshare = {homedir}/.tox/distshare
55
envlist =
66
linting
7-
py36
87
py37
98
py38
109
py39

0 commit comments

Comments
 (0)