Skip to content

Commit e306aba

Browse files
removed references to [test] extras from eachdist script (open-telemetry#2578)
1 parent 95fea2b commit e306aba

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

scripts/eachdist.py

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ def setup_instparser(instparser):
198198

199199
setup_instparser(instparser)
200200
instparser.add_argument("--editable", "-e", action="store_true")
201-
instparser.add_argument("--with-test-deps", action="store_true")
202201
instparser.add_argument("--with-dev-deps", action="store_true")
203202
instparser.add_argument("--eager-upgrades", action="store_true")
204203

@@ -211,7 +210,6 @@ def setup_instparser(instparser):
211210
editable=True,
212211
with_dev_deps=True,
213212
eager_upgrades=True,
214-
with_test_deps=True,
215213
)
216214

217215
lintparser = subparsers.add_parser(
@@ -467,16 +465,7 @@ def install_args(args):
467465
check=True,
468466
)
469467

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

481470
execute_args(
482471
parse_subargs(
@@ -489,6 +478,7 @@ def install_args(args):
489478
),
490479
)
491480
)
481+
492482
if args.with_dev_deps:
493483
rootpath = find_projectroot()
494484
runsubprocess(

0 commit comments

Comments
 (0)