Skip to content

Commit 161869d

Browse files
committed
Revert change
Signed-off-by: Jorge J. Perez <jjperez@ekumenlabs.com>
1 parent 5ec6939 commit 161869d

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

pallet_patcher/command.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,12 @@ def main(argv=None):
4646
"""
4747
parser = ArgumentParser()
4848
parser.add_argument('manifest_path', type=Path)
49-
parser.add_argument(
50-
'search_paths',
51-
type=Path,
52-
nargs='*',
53-
help="List of local registry sources to search for packages."
54-
)
55-
49+
parser.add_argument('search_path', type=Path, nargs='+')
5650
parser.add_argument(
5751
'--output-format', choices=('args', 'toml'), default='args')
5852
args = parser.parse_args(argv)
5953

60-
search_paths = [path.resolve() for path in args.search_paths]
54+
search_paths = [path.resolve() for path in args.search_path]
6155
composition = load_and_compose(args.manifest_path, search_paths)
6256

6357
if args.output_format == 'toml':

setup.cfg

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ install_requires =
2323
packaging>=20.9
2424
# toml is also supported but deprecated
2525
tomli>=1.0.0; python_version < "3.11"
26-
packaging>=25.0
2726
packages = find:
2827
zip_safe = true
2928

0 commit comments

Comments
 (0)