Skip to content

Commit

Permalink
chore: rely on packaging to parse wheel filename (#448)
Browse files Browse the repository at this point in the history
Python 3.12 removed the `distutils` module from stdlib.
Adherence to this module in auditwheel vendored (wheel) sources shall be removed.

Given updating wheel would be a longer task, switch to packaging to parse wheel filename in order to drop some wheel vendored files which are relying on `distutils`.

* chore: rely on packaging to parse wheel filename
* chore: remove unused files from vendored wheel
  • Loading branch information
mayeut authored Sep 12, 2023
1 parent ca36f86 commit a809842
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 687 deletions.
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ classifier =
[options]
include_package_data = True
install_requires =
packaging>=20.9
pyelftools>=0.24
importlib_metadata; python_version < "3.8"
packages = find:
Expand Down
88 changes: 0 additions & 88 deletions src/auditwheel/_vendor/wheel/cli/__init__.py

This file was deleted.

269 changes: 0 additions & 269 deletions src/auditwheel/_vendor/wheel/cli/convert.py

This file was deleted.

Loading

0 comments on commit a809842

Please sign in to comment.