Skip to content

Commit e046cb0

Browse files
authored
Merge pull request #73 from dannysepler/drop-py36
2 parents d82e4e2 + 1370450 commit e046cb0

File tree

5 files changed

+8
-18
lines changed

5 files changed

+8
-18
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
"windows-py39",
2020
"windows-py310",
2121

22-
"ubuntu-py36",
2322
"ubuntu-py37",
2423
"ubuntu-py38",
2524
"ubuntu-py39",
@@ -44,10 +43,6 @@ jobs:
4443
os: windows-latest
4544
tox_env: "py310"
4645

47-
- name: "ubuntu-py36"
48-
python: "3.6"
49-
os: ubuntu-latest
50-
tox_env: "py36"
5146
- name: "ubuntu-py37"
5247
python: "3.7"
5348
os: ubuntu-latest

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
CHANGELOG
22
=========
33

4+
Unreleased
5+
----------
6+
7+
* Dropped support for Python 3.6.
8+
49
0.8.0 (2022-05-26)
510
------------------
611

pytest_subtests.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import sys
21
import time
32
from contextlib import contextmanager
3+
from contextlib import nullcontext
44

55
import attr
66
import pytest
@@ -14,15 +14,6 @@
1414
from _pytest.runner import check_interactive_exception
1515
from _pytest.unittest import TestCaseFunction
1616

17-
if sys.version_info[:2] < (3, 7):
18-
19-
@contextmanager
20-
def nullcontext():
21-
yield
22-
23-
else:
24-
from contextlib import nullcontext
25-
2617

2718
@attr.s
2819
class SubTestContext:

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
py_modules=["pytest_subtests"],
2121
use_scm_version=True,
2222
setup_requires=["setuptools-scm", "setuptools>=40.0"],
23-
python_requires=">=3.6",
23+
python_requires=">=3.7",
2424
install_requires=["pytest>=7.0"],
2525
classifiers=[
2626
"Development Status :: 4 - Beta",
@@ -29,7 +29,6 @@
2929
"Topic :: Software Development :: Testing",
3030
"Programming Language :: Python",
3131
"Programming Language :: Python :: 3",
32-
"Programming Language :: Python :: 3.6",
3332
"Programming Language :: Python :: 3.7",
3433
"Programming Language :: Python :: 3.8",
3534
"Programming Language :: Python :: 3.9",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py36,py37,py38,py39,py310
2+
envlist = py37,py38,py39,py310
33

44
[testenv]
55
passenv = USER USERNAME TRAVIS PYTEST_ADDOPTS

0 commit comments

Comments
 (0)