Skip to content

Commit c4aa57b

Browse files
committed
tox/setup.py: remove _PYTEST_SETUP_SKIP_PLUGGY_DEP=1 hack
1 parent 2970c1d commit c4aa57b

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

setup.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import os
2-
31
from setuptools import setup
42

53
# TODO: if py gets upgrade to >=1.6,
@@ -15,15 +13,10 @@
1513
'funcsigs;python_version<"3.0"',
1614
'pathlib2>=2.2.0;python_version<"3.6"',
1715
'colorama;sys_platform=="win32"',
16+
"pluggy>=0.7",
1817
]
1918

2019

21-
# if _PYTEST_SETUP_SKIP_PLUGGY_DEP is set, skip installing pluggy;
22-
# used by tox.ini to test with pluggy master
23-
if "_PYTEST_SETUP_SKIP_PLUGGY_DEP" not in os.environ:
24-
INSTALL_REQUIRES.append("pluggy>=0.7")
25-
26-
2720
def main():
2821
setup(
2922
use_scm_version={"write_to": "src/_pytest/_version.py"},

tox.ini

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,6 @@ setenv =
4242
pexpect: _PYTEST_TOX_PLATFORM=linux|darwin
4343
pexpect: _PYTEST_TOX_POSARGS_PEXPECT=testing/test_pdb.py testing/test_terminal.py testing/test_unittest.py
4444

45-
# TODO: remove?!
46-
pluggymaster: _PYTEST_SETUP_SKIP_PLUGGY_DEP=1
47-
4845
xdist: _PYTEST_TOX_POSARGS_XDIST=-n auto
4946
extras = testing
5047
deps =

0 commit comments

Comments
 (0)