Skip to content

Commit 762bd8f

Browse files
removed references to [test] packages from eachdist (#3947)
1 parent db0c960 commit 762bd8f

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

scripts/eachdist.py

+2-12
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ def setup_instparser(instparser):
195195

196196
setup_instparser(instparser)
197197
instparser.add_argument("--editable", "-e", action="store_true")
198-
instparser.add_argument("--with-test-deps", action="store_true")
199198
instparser.add_argument("--with-dev-deps", action="store_true")
200199
instparser.add_argument("--eager-upgrades", action="store_true")
201200

@@ -208,7 +207,6 @@ def setup_instparser(instparser):
208207
editable=True,
209208
with_dev_deps=True,
210209
eager_upgrades=True,
211-
with_test_deps=True,
212210
)
213211

214212
lintparser = subparsers.add_parser(
@@ -466,16 +464,7 @@ def install_args(args):
466464
check=True,
467465
)
468466

469-
allfmt = "-e 'file://{}" if args.editable else "'file://{}"
470-
# packages should provide an extra_requires that is named
471-
# 'test', to denote test dependencies.
472-
extras = []
473-
if args.with_test_deps:
474-
extras.append("test")
475-
if extras:
476-
allfmt += f"[{','.join(extras)}]"
477-
# note the trailing single quote, to close the quote opened above.
478-
allfmt += "'"
467+
allfmt = "-e 'file://{}'" if args.editable else "'file://{}'"
479468

480469
execute_args(
481470
parse_subargs(
@@ -488,6 +477,7 @@ def install_args(args):
488477
),
489478
)
490479
)
480+
491481
if args.with_dev_deps:
492482
rootpath = find_projectroot()
493483
runsubprocess(

0 commit comments

Comments
 (0)