From e2f2df4d25d6fca290fd3e2b9f26f4d9ba723643 Mon Sep 17 00:00:00 2001 From: soumyadeepm04 Date: Mon, 3 Jun 2024 18:27:37 -0400 Subject: [PATCH] removed refereces from test packages from eachdist --- scripts/eachdist.py | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/scripts/eachdist.py b/scripts/eachdist.py index 51f0f7dd2ae..5817b1f3ae6 100755 --- a/scripts/eachdist.py +++ b/scripts/eachdist.py @@ -208,7 +208,6 @@ def setup_instparser(instparser): editable=True, with_dev_deps=True, eager_upgrades=True, - with_test_deps=True, ) lintparser = subparsers.add_parser( @@ -466,28 +465,6 @@ 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 += "'" - - execute_args( - parse_subargs( - args, - ( - "exec", - "python -m pip install {} " + join_args(args.pipargs), - "--all", - allfmt, - ), - ) - ) if args.with_dev_deps: rootpath = find_projectroot() runsubprocess(