Skip to content

Commit 00e35f7

Browse files
committed
Merge branch 'release/1.8.1'
2 parents 357a133 + 24ef332 commit 00e35f7

File tree

5 files changed

+9
-4
lines changed

5 files changed

+9
-4
lines changed

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
1.8.1
2+
-----
3+
* drop support for python < 3.9
4+
5+
16
1.8.0
27
-----
38
* drop support for setuptools

pytest_echo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def get_installed_distributions():
1717

1818
return [(d.name, d.version) for d in metadata.distributions()]
1919
except (ImportError, AttributeError, TypeError):
20-
pass
20+
return []
2121

2222

2323
def get_attr(obj, attr, default="NOT FOUND"):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
entry_points={"pytest11": ["echo = pytest_echo"]},
1616
install_requires=["pytest>=6.0"],
1717
license="MIT License",
18-
python_requires=">=3.11",
18+
python_requires=">=3.9",
1919
classifiers=[
2020
"Development Status :: 5 - Production/Stable",
2121
"Environment :: Plugins",

test_echo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def test_echo_version_missing(testdir):
7171
def test_echo_version_glob(testdir):
7272
result = testdir.runpytest("--echo-version=pytest*")
7373
result.stdout.fnmatch_lines([" pytest: %s" % pytest.__version__])
74-
result.stdout.fnmatch_lines([" pytest-echo: %s" % pytest_echo.__version__])
74+
result.stdout.fnmatch_lines([" pytest_echo: %s" % pytest_echo.__version__])
7575

7676

7777
def test_echo_all(testdir):

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist=py{311,312,313}-pytest{6,74,74}
2+
envlist=py{39,310,311,312,313}-pytest{6,73,74}
33

44
[testenv]
55
deps =

0 commit comments

Comments
 (0)