diff --git a/scripts/eachdist.py b/scripts/eachdist.py index 570a0cd0e5..2eaabee2c7 100755 --- a/scripts/eachdist.py +++ b/scripts/eachdist.py @@ -198,7 +198,6 @@ def setup_instparser(instparser): setup_instparser(instparser) instparser.add_argument("--editable", "-e", action="store_true") - instparser.add_argument("--with-test-deps", action="store_true") instparser.add_argument("--with-dev-deps", action="store_true") instparser.add_argument("--eager-upgrades", action="store_true") @@ -211,7 +210,6 @@ def setup_instparser(instparser): editable=True, with_dev_deps=True, eager_upgrades=True, - with_test_deps=True, ) lintparser = subparsers.add_parser( @@ -467,16 +465,7 @@ def install_args(args): check=True, ) - allfmt = "-e 'file://{}" if args.editable else "'file://{}" - # packages should provide an extra_requires that is named - # 'test', to denote test dependencies. - extras = [] - if args.with_test_deps: - extras.append("test") - if extras: - allfmt += f"[{','.join(extras)}]" - # note the trailing single quote, to close the quote opened above. - allfmt += "'" + allfmt = "-e 'file://{}'" if args.editable else "'file://{}'" execute_args( parse_subargs( @@ -489,6 +478,7 @@ def install_args(args): ), ) ) + if args.with_dev_deps: rootpath = find_projectroot() runsubprocess(