Skip to content

Commit

Permalink
Remove the addtag subcommand
Browse files Browse the repository at this point in the history
This subcommand has been broken for at least a few releases and doesn't
provide any useful functionality. Removing it will at least avoid
confusing users when they try to use it.
  • Loading branch information
lkollar committed Sep 25, 2023
1 parent a809842 commit 9d40f3a
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 89 deletions.
3 changes: 1 addition & 2 deletions src/auditwheel/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

import auditwheel

from . import main_addtag, main_lddtree, main_repair, main_show
from . import main_lddtree, main_repair, main_show


def main() -> int | None:
Expand All @@ -40,7 +40,6 @@ def main() -> int | None:
sub_parsers = p.add_subparsers(metavar="command", dest="cmd")

main_show.configure_parser(sub_parsers)
main_addtag.configure_parser(sub_parsers)
main_repair.configure_parser(sub_parsers)
main_lddtree.configure_subparser(sub_parsers)

Expand Down
69 changes: 0 additions & 69 deletions src/auditwheel/main_addtag.py

This file was deleted.

17 changes: 0 additions & 17 deletions tests/integration/test_addtag.py

This file was deleted.

2 changes: 1 addition & 1 deletion tests/integration/test_nonplatform_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
HERE = pathlib.Path(__file__).parent.resolve()


@pytest.mark.parametrize("mode", ["repair", "addtag", "show"])
@pytest.mark.parametrize("mode", ["repair", "show"])
def test_non_platform_wheel_repair(mode):
wheel = HERE / "plumbum-1.6.8-py2.py3-none-any.whl"
proc = subprocess.run(
Expand Down

0 comments on commit 9d40f3a

Please sign in to comment.