Skip to content

Commit

Permalink
py-setuptools: update to 73.0.1.
Browse files Browse the repository at this point in the history
v73.0.1
=======

Bugfixes
--------

- Remove `abc.ABCMeta` metaclass from abstract classes. `pypa/setuptools#4503 <https://github.com/pypa/setuptools/pull/4503>`_ had an unintended consequence of causing potential ``TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases`` -- by :user:`Avasam` (#4579)


v73.0.0
=======

Features
--------

- Mark abstract base classes and methods with `abc.ABC` and `abc.abstractmethod` -- by :user:`Avasam` (#4503)
- Changed the order of type checks in ``setuptools.command.easy_install.CommandSpec.from_param`` to support any `collections.abc.Iterable` of `str` param -- by :user:`Avasam` (#4505)


Bugfixes
--------

- Prevent an error in ``bdist_wheel`` if ``compression`` is set to a `str` (even if valid) after finalizing options but before running the command. -- by :user:`Avasam` (#4383)
- Raises an exception when ``py_limited_api`` is used in a build with
  ``Py_GIL_DISABLED``. This is currently not supported (python/cpython#111506). (#4420)
- Synced with pypa/distutils@30b7331 including fix for modified check on empty sources (pypa/distutils#284).


Deprecations and Removals
-------------------------

- ``setuptools`` is replacing the usages of :pypi:`ordered_set` with simple
  instances of ``dict[Hashable, None]``. This is done to remove the extra
  dependency and it is possible because since Python 3.7, ``dict`` maintain
  insertion order. (#4574)


Misc
----

- #4534, #4546, #4554, #4559, #4565
  • Loading branch information
0-wiz-0 committed Aug 25, 2024
1 parent b2dd656 commit 4af8076
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
8 changes: 5 additions & 3 deletions devel/py-setuptools/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.252 2024/08/14 06:18:49 adam Exp $
# $NetBSD: Makefile,v 1.253 2024/08/25 10:29:10 wiz Exp $

DISTNAME= setuptools-72.2.0
DISTNAME= setuptools-73.0.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/setuptools/}
Expand Down Expand Up @@ -28,8 +28,10 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-virtualenv>=13.0.0:../../devel/py-virtualenv

PYTHON_VERSIONS_INCOMPATIBLE= 27

# as of 73.0.1
# 30 failed, 1137 passed, 49 skipped, 10 xfailed, 2 xpassed, 3 errors

# Pick setuptools.tests which are not built nor installed.
# 33 failed, 1140 passed, 47 skipped, 10 xfailed, 2 xpassed, 3 errors
TEST_ENV+= PYTHONPATH=${WRKSRC}

.include "../../lang/python/batteries-included.mk"
Expand Down
30 changes: 14 additions & 16 deletions devel/py-setuptools/PLIST
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
@comment $NetBSD: PLIST,v 1.93 2024/08/05 05:33:21 adam Exp $
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
@comment $NetBSD: PLIST,v 1.94 2024/08/25 10:29:10 wiz Exp $
${PYSITELIB}/_distutils_hack/__init__.py
${PYSITELIB}/_distutils_hack/__init__.pyc
${PYSITELIB}/_distutils_hack/__init__.pyo
Expand Down Expand Up @@ -49,6 +43,12 @@ ${PYSITELIB}/pkg_resources/tests/test_resources.pyo
${PYSITELIB}/pkg_resources/tests/test_working_set.py
${PYSITELIB}/pkg_resources/tests/test_working_set.pyc
${PYSITELIB}/pkg_resources/tests/test_working_set.pyo
${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/setuptools/__init__.py
${PYSITELIB}/setuptools/__init__.pyc
${PYSITELIB}/setuptools/__init__.pyo
Expand Down Expand Up @@ -82,6 +82,9 @@ ${PYSITELIB}/setuptools/_distutils/_msvccompiler.pyo
${PYSITELIB}/setuptools/_distutils/_vendor/__init__.py
${PYSITELIB}/setuptools/_distutils/_vendor/__init__.pyc
${PYSITELIB}/setuptools/_distutils/_vendor/__init__.pyo
${PYSITELIB}/setuptools/_distutils/_vendor/packaging-24.0.dist-info/LICENSE
${PYSITELIB}/setuptools/_distutils/_vendor/packaging-24.0.dist-info/LICENSE.APACHE
${PYSITELIB}/setuptools/_distutils/_vendor/packaging-24.0.dist-info/LICENSE.BSD
${PYSITELIB}/setuptools/_distutils/_vendor/packaging/__init__.py
${PYSITELIB}/setuptools/_distutils/_vendor/packaging/__init__.pyc
${PYSITELIB}/setuptools/_distutils/_vendor/packaging/__init__.pyo
Expand Down Expand Up @@ -747,15 +750,6 @@ ${PYSITELIB}/setuptools/_vendor/more_itertools/recipes.py
${PYSITELIB}/setuptools/_vendor/more_itertools/recipes.pyc
${PYSITELIB}/setuptools/_vendor/more_itertools/recipes.pyi
${PYSITELIB}/setuptools/_vendor/more_itertools/recipes.pyo
${PYSITELIB}/setuptools/_vendor/ordered_set-4.1.0.dist-info/INSTALLER
${PYSITELIB}/setuptools/_vendor/ordered_set-4.1.0.dist-info/METADATA
${PYSITELIB}/setuptools/_vendor/ordered_set-4.1.0.dist-info/RECORD
${PYSITELIB}/setuptools/_vendor/ordered_set-4.1.0.dist-info/REQUESTED
${PYSITELIB}/setuptools/_vendor/ordered_set-4.1.0.dist-info/WHEEL
${PYSITELIB}/setuptools/_vendor/ordered_set/__init__.py
${PYSITELIB}/setuptools/_vendor/ordered_set/__init__.pyc
${PYSITELIB}/setuptools/_vendor/ordered_set/__init__.pyo
${PYSITELIB}/setuptools/_vendor/ordered_set/py.typed
${PYSITELIB}/setuptools/_vendor/packaging-24.1.dist-info/INSTALLER
${PYSITELIB}/setuptools/_vendor/packaging-24.1.dist-info/LICENSE
${PYSITELIB}/setuptools/_vendor/packaging-24.1.dist-info/LICENSE.APACHE
Expand Down Expand Up @@ -1125,12 +1119,14 @@ ${PYSITELIB}/setuptools/compat/py311.pyo
${PYSITELIB}/setuptools/compat/py39.py
${PYSITELIB}/setuptools/compat/py39.pyc
${PYSITELIB}/setuptools/compat/py39.pyo
${PYSITELIB}/setuptools/config/NOTICE
${PYSITELIB}/setuptools/config/__init__.py
${PYSITELIB}/setuptools/config/__init__.pyc
${PYSITELIB}/setuptools/config/__init__.pyo
${PYSITELIB}/setuptools/config/_apply_pyprojecttoml.py
${PYSITELIB}/setuptools/config/_apply_pyprojecttoml.pyc
${PYSITELIB}/setuptools/config/_apply_pyprojecttoml.pyo
${PYSITELIB}/setuptools/config/_validate_pyproject/NOTICE
${PYSITELIB}/setuptools/config/_validate_pyproject/__init__.py
${PYSITELIB}/setuptools/config/_validate_pyproject/__init__.pyc
${PYSITELIB}/setuptools/config/_validate_pyproject/__init__.pyo
Expand All @@ -1149,6 +1145,7 @@ ${PYSITELIB}/setuptools/config/_validate_pyproject/fastjsonschema_validations.py
${PYSITELIB}/setuptools/config/_validate_pyproject/formats.py
${PYSITELIB}/setuptools/config/_validate_pyproject/formats.pyc
${PYSITELIB}/setuptools/config/_validate_pyproject/formats.pyo
${PYSITELIB}/setuptools/config/distutils.schema.json
${PYSITELIB}/setuptools/config/expand.py
${PYSITELIB}/setuptools/config/expand.pyc
${PYSITELIB}/setuptools/config/expand.pyo
Expand All @@ -1158,6 +1155,7 @@ ${PYSITELIB}/setuptools/config/pyprojecttoml.pyo
${PYSITELIB}/setuptools/config/setupcfg.py
${PYSITELIB}/setuptools/config/setupcfg.pyc
${PYSITELIB}/setuptools/config/setupcfg.pyo
${PYSITELIB}/setuptools/config/setuptools.schema.json
${PYSITELIB}/setuptools/depends.py
${PYSITELIB}/setuptools/depends.pyc
${PYSITELIB}/setuptools/depends.pyo
Expand Down
8 changes: 4 additions & 4 deletions devel/py-setuptools/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.226 2024/08/14 06:18:49 adam Exp $
$NetBSD: distinfo,v 1.227 2024/08/25 10:29:10 wiz Exp $

BLAKE2s (setuptools-72.2.0.tar.gz) = c9caf4f94ce6475aeba12dda997e9bb327b4dd915acc38257ef2ca650c3303bf
SHA512 (setuptools-72.2.0.tar.gz) = 029c711be2953cc7fd88b6a0a00715e05ac04414e085e0b2387d58757c970a3316afb6e13426fa10dcc53785b98c8543ba48d49acf223a6332399a39a4924732
Size (setuptools-72.2.0.tar.gz) = 2419230 bytes
BLAKE2s (setuptools-73.0.1.tar.gz) = 6670933f6833b6b57a30a8523a1aa62e94b995e05b68370ceae478d8709b409e
SHA512 (setuptools-73.0.1.tar.gz) = 5def2d817329524e610c7981fc3a84687ea4d2e0a72799341a706a16ec61df3efc16c4622f8b88746ad4cb52f92f2493c23a99a21cf3607ed48da480dedd200b
Size (setuptools-73.0.1.tar.gz) = 2526506 bytes

0 comments on commit 4af8076

Please sign in to comment.