Skip to content

Commit 3636dad

Browse files
authored
Remove the addtag subcommand (#455)
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.
1 parent 1807e41 commit 3636dad

File tree

4 files changed

+2
-89
lines changed

4 files changed

+2
-89
lines changed

src/auditwheel/main.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
import auditwheel
1515

16-
from . import main_addtag, main_lddtree, main_repair, main_show
16+
from . import main_lddtree, main_repair, main_show
1717

1818

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

4242
main_show.configure_parser(sub_parsers)
43-
main_addtag.configure_parser(sub_parsers)
4443
main_repair.configure_parser(sub_parsers)
4544
main_lddtree.configure_subparser(sub_parsers)
4645

src/auditwheel/main_addtag.py

Lines changed: 0 additions & 69 deletions
This file was deleted.

tests/integration/test_addtag.py

Lines changed: 0 additions & 17 deletions
This file was deleted.

tests/integration/test_nonplatform_wheel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
HERE = pathlib.Path(__file__).parent.resolve()
99

1010

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

0 commit comments

Comments
 (0)