pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-setuptools



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Jun  8 12:40:25 UTC 2024

Modified Files:
        pkgsrc/devel/py-setuptools: Makefile PLIST distinfo

Log Message:
py-setuptools: update to 70.0.0.

v70.0.0
=======

Features
--------

- Emit a warning when ``[tools.setuptools]`` is present in ``pyproject.toml`` and will be ignored. -- by :user:`SnoopJ` (#4150)
- Improved `AttributeError` error message if ``pkg_resources.EntryPoint.require`` is called without extras or distribution
  Gracefully "do nothing" when trying to activate a ``pkg_resources.Distribution`` with a `None` location, rather than raising a `TypeError`
  -- by :user:`Avasam` (#4262)
- Typed the dynamically defined variables from `pkg_resources` -- by :user:`Avasam` (#4267)
- Modernized and refactored VCS handling in package_index. (#4332)

Bugfixes
--------

- In install command, use super to call the superclass methods. Avoids race conditions when monkeypatching from _distutils_system_mod occurs late. (#4136)
- Fix finder template for lenient editable installs of implicit nested namespaces
  constructed by using ``package_dir`` to reorganise directory structure. (#4278)
- Fix an error with `UnicodeDecodeError` handling in ``pkg_resources`` when trying to read files in UTF-8 with a fallback -- by :user:`Avasam` (#4348)

Improved Documentation
----------------------

- Uses RST substitution to put badges in 1 line. (#4312)

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

- Further adoption of UTF-8 in ``setuptools``.
  This change regards mostly files produced and consumed during the build process
  (e.g. metadata files, script wrappers, automatically updated config files, etc..)
  Although precautions were taken to minimize disruptions, some edge cases might
  be subject to backwards incompatibility.

  Support for ``"locale"`` encoding is now **deprecated**. (#4309)
- Remove ``setuptools.convert_path`` after long deprecation period.
  This function was never defined by ``setuptools`` itself, but rather a
  side-effect of an import for internal usage. (#4322)
- Remove fallback for customisations of ``distutils``' ``build.sub_command`` after long
  deprecated period.
  Users are advised to import ``build`` directly from ``setuptools.command.build``. (#4322)
- Removed ``typing_extensions`` from vendored dependencies -- by :user:`Avasam` (#4324)
- Remove deprecated ``setuptools.dep_util``.
  The provided alternative is ``setuptools.modified``. (#4360)

Misc
----

- #4255, #4280, #4282, #4308, #4348


To generate a diff of this commit:
cvs rdiff -u -r1.244 -r1.245 pkgsrc/devel/py-setuptools/Makefile
cvs rdiff -u -r1.87 -r1.88 pkgsrc/devel/py-setuptools/PLIST
cvs rdiff -u -r1.218 -r1.219 pkgsrc/devel/py-setuptools/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-setuptools/Makefile
diff -u pkgsrc/devel/py-setuptools/Makefile:1.244 pkgsrc/devel/py-setuptools/Makefile:1.245
--- pkgsrc/devel/py-setuptools/Makefile:1.244   Sun Apr 14 06:31:16 2024
+++ pkgsrc/devel/py-setuptools/Makefile Sat Jun  8 12:40:24 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.244 2024/04/14 06:31:16 adam Exp $
+# $NetBSD: Makefile,v 1.245 2024/06/08 12:40:24 wiz Exp $
 
-DISTNAME=      setuptools-69.5.1
+DISTNAME=      setuptools-70.0.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/setuptools/}
@@ -28,7 +28,7 @@ TEST_DEPENDS+=        ${PYPKGPREFIX}-virtualenv
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 # Pick setuptools.tests which are not built nor installed.
-# 3 failed, 1155 passed, 28 skipped, 6 xfailed, 4 xpassed
+# 29 failed, 1076 passed, 35 skipped, 9 xfailed, 2 xpassed, 54 errors
 TEST_ENV+=     PYTHONPATH=${WRKSRC}
 
 .include "../../lang/python/batteries-included.mk"

Index: pkgsrc/devel/py-setuptools/PLIST
diff -u pkgsrc/devel/py-setuptools/PLIST:1.87 pkgsrc/devel/py-setuptools/PLIST:1.88
--- pkgsrc/devel/py-setuptools/PLIST:1.87       Sun Apr 14 06:31:16 2024
+++ pkgsrc/devel/py-setuptools/PLIST    Sat Jun  8 12:40:24 2024
@@ -1,10 +1,4 @@
-@comment $NetBSD: PLIST,v 1.87 2024/04/14 06:31:16 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.88 2024/06/08 12:40:24 wiz Exp $
 ${PYSITELIB}/_distutils_hack/__init__.py
 ${PYSITELIB}/_distutils_hack/__init__.pyc
 ${PYSITELIB}/_distutils_hack/__init__.pyo
@@ -147,15 +141,18 @@ ${PYSITELIB}/pkg_resources/_vendor/platf
 ${PYSITELIB}/pkg_resources/_vendor/platformdirs/windows.py
 ${PYSITELIB}/pkg_resources/_vendor/platformdirs/windows.pyc
 ${PYSITELIB}/pkg_resources/_vendor/platformdirs/windows.pyo
-${PYSITELIB}/pkg_resources/_vendor/typing_extensions.py
-${PYSITELIB}/pkg_resources/_vendor/typing_extensions.pyc
-${PYSITELIB}/pkg_resources/_vendor/typing_extensions.pyo
 ${PYSITELIB}/pkg_resources/_vendor/zipp.py
 ${PYSITELIB}/pkg_resources/_vendor/zipp.pyc
 ${PYSITELIB}/pkg_resources/_vendor/zipp.pyo
 ${PYSITELIB}/pkg_resources/extern/__init__.py
 ${PYSITELIB}/pkg_resources/extern/__init__.pyc
 ${PYSITELIB}/pkg_resources/extern/__init__.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
@@ -517,9 +514,6 @@ ${PYSITELIB}/setuptools/_vendor/tomli/_t
 ${PYSITELIB}/setuptools/_vendor/tomli/_types.pyc
 ${PYSITELIB}/setuptools/_vendor/tomli/_types.pyo
 ${PYSITELIB}/setuptools/_vendor/tomli/py.typed
-${PYSITELIB}/setuptools/_vendor/typing_extensions.py
-${PYSITELIB}/setuptools/_vendor/typing_extensions.pyc
-${PYSITELIB}/setuptools/_vendor/typing_extensions.pyo
 ${PYSITELIB}/setuptools/_vendor/zipp.py
 ${PYSITELIB}/setuptools/_vendor/zipp.pyc
 ${PYSITELIB}/setuptools/_vendor/zipp.pyo
@@ -657,9 +651,6 @@ ${PYSITELIB}/setuptools/config/pyproject
 ${PYSITELIB}/setuptools/config/setupcfg.py
 ${PYSITELIB}/setuptools/config/setupcfg.pyc
 ${PYSITELIB}/setuptools/config/setupcfg.pyo
-${PYSITELIB}/setuptools/dep_util.py
-${PYSITELIB}/setuptools/dep_util.pyc
-${PYSITELIB}/setuptools/dep_util.pyo
 ${PYSITELIB}/setuptools/depends.py
 ${PYSITELIB}/setuptools/depends.pyc
 ${PYSITELIB}/setuptools/depends.pyo

Index: pkgsrc/devel/py-setuptools/distinfo
diff -u pkgsrc/devel/py-setuptools/distinfo:1.218 pkgsrc/devel/py-setuptools/distinfo:1.219
--- pkgsrc/devel/py-setuptools/distinfo:1.218   Sun Apr 14 06:31:16 2024
+++ pkgsrc/devel/py-setuptools/distinfo Sat Jun  8 12:40:24 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.218 2024/04/14 06:31:16 adam Exp $
+$NetBSD: distinfo,v 1.219 2024/06/08 12:40:24 wiz Exp $
 
-BLAKE2s (setuptools-69.5.1.tar.gz) = 6c90510bf9d0e8724955d563479746266cd04f32cee9cbee1e1f52b899a3b1d8
-SHA512 (setuptools-69.5.1.tar.gz) = 81f4a5184976a0d4aa070261bb56458c54ec6a479786fa469e98cb336e9a1691b281ae771abe41bc5398fac15b2dd039c07cf014ee00572f46908ce6830fcb6a
-Size (setuptools-69.5.1.tar.gz) = 2291314 bytes
+BLAKE2s (setuptools-70.0.0.tar.gz) = f03ee509af97995a3aa57ec9a00dc1f68b7320a3b6698d3f8f204f007f49ef62
+SHA512 (setuptools-70.0.0.tar.gz) = 13a5ac09401165dc36d2a365c0ea236c01153374c002b062c4b403a537157ce86593848e93e3c26f5c81f5783e43e6aa96d813f9a39a55732ea3911ddc5c337a
+Size (setuptools-70.0.0.tar.gz) = 2265182 bytes



Home | Main Index | Thread Index | Old Index