Skip to content

Commit a686d50

Browse files
author
adam
committed
py-wheel: updated to 0.46.3
**0.46.3 (2026-01-22)** - Fixed ``ImportError: cannot import name '_setuptools_logging' from 'wheel'`` when installed alongside an old version of setuptools and running the ``bdist_wheel`` command **0.46.2 (2026-01-22)** - Restored the ``bdist_wheel`` command for compatibility with ``setuptools`` older than v70.1 - Importing ``wheel.bdist_wheel`` now emits a ``FutureWarning`` instead of a ``DeprecationWarning`` - Fixed ``wheel unpack`` potentially altering the permissions of files outside of the destination tree with maliciously crafted wheels (CVE-2026-24049) **0.46.1 (2025-04-08)** - Temporarily restored the ``wheel.macosx_libfile`` module **0.46.0 (2025-04-03)** - Dropped support for Python 3.8 - Removed the ``bdist_wheel`` setuptools command implementation and entry point. The ``wheel.bdist_wheel`` module is now just an alias to ``setuptools.command.bdist_wheel``, emitting a deprecation warning on import. - Removed vendored ``packaging`` in favor of a run-time dependency on it - Made the ``wheel.metadata`` module private (with a deprecation warning if it's imported - Made the ``wheel.cli`` package private (no deprecation warning) - Fixed an exception when calling the ``convert`` command with an empty description field
1 parent 6e7fb36 commit a686d50

3 files changed

Lines changed: 26 additions & 73 deletions

File tree

devel/py-wheel/Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
# $NetBSD: Makefile,v 1.43 2025/02/23 19:38:37 wiz Exp $
1+
# $NetBSD: Makefile,v 1.44 2026/01/26 08:21:20 adam Exp $
22

3-
DISTNAME= wheel-0.45.1
3+
DISTNAME= wheel-0.46.3
44
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5-
PKGREVISION= 1
65
CATEGORIES= devel python
76
MASTER_SITES= ${MASTER_SITE_PYPI:=w/wheel/}
87

@@ -12,7 +11,7 @@ COMMENT= Tool for manipulating Python wheel files
1211
LICENSE= mit
1312

1413
TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.11:../../devel/py-flit_core
15-
TEST_DEPENDS+= ${PYPKGPREFIX}-setuptools>=65:../../devel/py-setuptools
14+
TEST_DEPENDS+= ${PYPKGPREFIX}-setuptools>=77:../../devel/py-setuptools
1615

1716
USE_LANGUAGES= c # for tests only
1817

devel/py-wheel/PLIST

Lines changed: 19 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@comment $NetBSD: PLIST,v 1.13 2025/02/23 19:38:37 wiz Exp $
1+
@comment $NetBSD: PLIST,v 1.14 2026/01/26 08:21:20 adam Exp $
22
bin/wheel-${PYVERSSUFFIX}
33
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
44
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -14,82 +14,36 @@ ${PYSITELIB}/wheel/__main__.pyo
1414
${PYSITELIB}/wheel/_bdist_wheel.py
1515
${PYSITELIB}/wheel/_bdist_wheel.pyc
1616
${PYSITELIB}/wheel/_bdist_wheel.pyo
17+
${PYSITELIB}/wheel/_commands/__init__.py
18+
${PYSITELIB}/wheel/_commands/__init__.pyc
19+
${PYSITELIB}/wheel/_commands/__init__.pyo
20+
${PYSITELIB}/wheel/_commands/convert.py
21+
${PYSITELIB}/wheel/_commands/convert.pyc
22+
${PYSITELIB}/wheel/_commands/convert.pyo
23+
${PYSITELIB}/wheel/_commands/pack.py
24+
${PYSITELIB}/wheel/_commands/pack.pyc
25+
${PYSITELIB}/wheel/_commands/pack.pyo
26+
${PYSITELIB}/wheel/_commands/tags.py
27+
${PYSITELIB}/wheel/_commands/tags.pyc
28+
${PYSITELIB}/wheel/_commands/tags.pyo
29+
${PYSITELIB}/wheel/_commands/unpack.py
30+
${PYSITELIB}/wheel/_commands/unpack.pyc
31+
${PYSITELIB}/wheel/_commands/unpack.pyo
32+
${PYSITELIB}/wheel/_metadata.py
33+
${PYSITELIB}/wheel/_metadata.pyc
34+
${PYSITELIB}/wheel/_metadata.pyo
1735
${PYSITELIB}/wheel/_setuptools_logging.py
1836
${PYSITELIB}/wheel/_setuptools_logging.pyc
1937
${PYSITELIB}/wheel/_setuptools_logging.pyo
2038
${PYSITELIB}/wheel/bdist_wheel.py
2139
${PYSITELIB}/wheel/bdist_wheel.pyc
2240
${PYSITELIB}/wheel/bdist_wheel.pyo
23-
${PYSITELIB}/wheel/cli/__init__.py
24-
${PYSITELIB}/wheel/cli/__init__.pyc
25-
${PYSITELIB}/wheel/cli/__init__.pyo
26-
${PYSITELIB}/wheel/cli/convert.py
27-
${PYSITELIB}/wheel/cli/convert.pyc
28-
${PYSITELIB}/wheel/cli/convert.pyo
29-
${PYSITELIB}/wheel/cli/pack.py
30-
${PYSITELIB}/wheel/cli/pack.pyc
31-
${PYSITELIB}/wheel/cli/pack.pyo
32-
${PYSITELIB}/wheel/cli/tags.py
33-
${PYSITELIB}/wheel/cli/tags.pyc
34-
${PYSITELIB}/wheel/cli/tags.pyo
35-
${PYSITELIB}/wheel/cli/unpack.py
36-
${PYSITELIB}/wheel/cli/unpack.pyc
37-
${PYSITELIB}/wheel/cli/unpack.pyo
3841
${PYSITELIB}/wheel/macosx_libfile.py
3942
${PYSITELIB}/wheel/macosx_libfile.pyc
4043
${PYSITELIB}/wheel/macosx_libfile.pyo
4144
${PYSITELIB}/wheel/metadata.py
4245
${PYSITELIB}/wheel/metadata.pyc
4346
${PYSITELIB}/wheel/metadata.pyo
44-
${PYSITELIB}/wheel/util.py
45-
${PYSITELIB}/wheel/util.pyc
46-
${PYSITELIB}/wheel/util.pyo
47-
${PYSITELIB}/wheel/vendored/__init__.py
48-
${PYSITELIB}/wheel/vendored/__init__.pyc
49-
${PYSITELIB}/wheel/vendored/__init__.pyo
50-
${PYSITELIB}/wheel/vendored/packaging/LICENSE
51-
${PYSITELIB}/wheel/vendored/packaging/LICENSE.APACHE
52-
${PYSITELIB}/wheel/vendored/packaging/LICENSE.BSD
53-
${PYSITELIB}/wheel/vendored/packaging/__init__.py
54-
${PYSITELIB}/wheel/vendored/packaging/__init__.pyc
55-
${PYSITELIB}/wheel/vendored/packaging/__init__.pyo
56-
${PYSITELIB}/wheel/vendored/packaging/_elffile.py
57-
${PYSITELIB}/wheel/vendored/packaging/_elffile.pyc
58-
${PYSITELIB}/wheel/vendored/packaging/_elffile.pyo
59-
${PYSITELIB}/wheel/vendored/packaging/_manylinux.py
60-
${PYSITELIB}/wheel/vendored/packaging/_manylinux.pyc
61-
${PYSITELIB}/wheel/vendored/packaging/_manylinux.pyo
62-
${PYSITELIB}/wheel/vendored/packaging/_musllinux.py
63-
${PYSITELIB}/wheel/vendored/packaging/_musllinux.pyc
64-
${PYSITELIB}/wheel/vendored/packaging/_musllinux.pyo
65-
${PYSITELIB}/wheel/vendored/packaging/_parser.py
66-
${PYSITELIB}/wheel/vendored/packaging/_parser.pyc
67-
${PYSITELIB}/wheel/vendored/packaging/_parser.pyo
68-
${PYSITELIB}/wheel/vendored/packaging/_structures.py
69-
${PYSITELIB}/wheel/vendored/packaging/_structures.pyc
70-
${PYSITELIB}/wheel/vendored/packaging/_structures.pyo
71-
${PYSITELIB}/wheel/vendored/packaging/_tokenizer.py
72-
${PYSITELIB}/wheel/vendored/packaging/_tokenizer.pyc
73-
${PYSITELIB}/wheel/vendored/packaging/_tokenizer.pyo
74-
${PYSITELIB}/wheel/vendored/packaging/markers.py
75-
${PYSITELIB}/wheel/vendored/packaging/markers.pyc
76-
${PYSITELIB}/wheel/vendored/packaging/markers.pyo
77-
${PYSITELIB}/wheel/vendored/packaging/requirements.py
78-
${PYSITELIB}/wheel/vendored/packaging/requirements.pyc
79-
${PYSITELIB}/wheel/vendored/packaging/requirements.pyo
80-
${PYSITELIB}/wheel/vendored/packaging/specifiers.py
81-
${PYSITELIB}/wheel/vendored/packaging/specifiers.pyc
82-
${PYSITELIB}/wheel/vendored/packaging/specifiers.pyo
83-
${PYSITELIB}/wheel/vendored/packaging/tags.py
84-
${PYSITELIB}/wheel/vendored/packaging/tags.pyc
85-
${PYSITELIB}/wheel/vendored/packaging/tags.pyo
86-
${PYSITELIB}/wheel/vendored/packaging/utils.py
87-
${PYSITELIB}/wheel/vendored/packaging/utils.pyc
88-
${PYSITELIB}/wheel/vendored/packaging/utils.pyo
89-
${PYSITELIB}/wheel/vendored/packaging/version.py
90-
${PYSITELIB}/wheel/vendored/packaging/version.pyc
91-
${PYSITELIB}/wheel/vendored/packaging/version.pyo
92-
${PYSITELIB}/wheel/vendored/vendor.txt
9347
${PYSITELIB}/wheel/wheelfile.py
9448
${PYSITELIB}/wheel/wheelfile.pyc
9549
${PYSITELIB}/wheel/wheelfile.pyo

devel/py-wheel/distinfo

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
$NetBSD: distinfo,v 1.32 2024/11/23 11:15:58 adam Exp $
1+
$NetBSD: distinfo,v 1.33 2026/01/26 08:21:20 adam Exp $
22

3-
BLAKE2s (wheel-0.45.1.tar.gz) = e119885fb7d06cb29775ef58155e9951d49bfdb06ac766ef6ad7f9425c1f3040
4-
SHA512 (wheel-0.45.1.tar.gz) = df45f00e9eaeae2f27f813f31591590c961da2f6bff15bba6fb2a14d529c221f39b29894b8da408fe49cd4b760840a0e05c4baef377ccfacd9983c0bba83d6d8
5-
Size (wheel-0.45.1.tar.gz) = 107545 bytes
3+
BLAKE2s (wheel-0.46.3.tar.gz) = acbbd3a8478632c777ccb866d2aa4e0abf5a1212a92df815e7cdadba3f44ba1d
4+
SHA512 (wheel-0.46.3.tar.gz) = 4bda170a085b00bead5bd5beb1cd865af3699a940774615c087b9e96c86a56a1f3992613df162bc055aebcc84bc0e13df310a38c6102cfc1d5d78e8af33d4e1a
5+
Size (wheel-0.46.3.tar.gz) = 60605 bytes

0 commit comments

Comments
 (0)