pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/py-gevent
Module Name: pkgsrc
Committed By: adam
Date: Fri Jul 21 10:00:47 UTC 2023
Modified Files:
pkgsrc/net/py-gevent: Makefile PLIST distinfo
Log Message:
py-gevent: updated to 23.7.0
23.7.0 (2023-07-11)
===================
Features
--------
- Add preliminary support for Python 3.12, using greenlet 3.0a1. This
is somewhat tricky to build from source at this time, and there is
one known issue: On Python 3.12b3, dumping tracebacks of greenlets
is not available.
:issue:`1969`.
- Update the bundled c-ares version to 1.19.1.
See :issue:`1947`.
Bugfixes
--------
- Fix an edge case connecting a non-blocking ``SSLSocket`` that could result
in an AttributeError. In a change to match the standard library,
calling ``sock.connect_ex()`` on a subclass of ``socket`` no longer
calls the subclass's ``connect`` method.
Initial fix by Priyankar Jain.
See :issue:`1932`.
- Make gevent's ``FileObjectThread`` (mostly used on Windows) implement
``readinto`` cooperatively. PR by Kirill Smelkov.
See :issue:`1948`.
- Work around an ``AttributeError`` during cyclic garbage collection
when Python finalizers (``__del__`` and the like) attempt to use
gevent APIs. This is not a recommended practice, and it is unclear if
catching this ``AttributeError`` will fix any problems or just shift
them. (If we could determine the root situation that results in this
cycle, we might be able to solve it.)
See :issue:`1961`.
Deprecations and Removals
-------------------------
- Remove support for obsolete Python versions. This is everything prior
to 3.8.
Related changes include:
- Stop using ``pkg_resources`` to find entry points (plugins).
Instead, use ``importlib.metadata``.
- Honor ``sys.unraisablehook`` when a callback function produces an
exception, and handling the exception in the hub *also* produces an
exception. In older versions, these would be simply printed.
- ``setup.py`` no longer includes the ``setup_requires`` keyword.
Installation with a tool that understands ``pyproject.toml`` is
recommended.
- The bundled tblib has been updated to version 2.0.
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/net/py-gevent/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/net/py-gevent/PLIST
cvs rdiff -u -r1.15 -r1.16 pkgsrc/net/py-gevent/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/py-gevent/Makefile
diff -u pkgsrc/net/py-gevent/Makefile:1.22 pkgsrc/net/py-gevent/Makefile:1.23
--- pkgsrc/net/py-gevent/Makefile:1.22 Sun Jun 18 05:26:01 2023
+++ pkgsrc/net/py-gevent/Makefile Fri Jul 21 10:00:47 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.22 2023/06/18 05:26:01 adam Exp $
+# $NetBSD: Makefile,v 1.23 2023/07/21 10:00:47 adam Exp $
-DISTNAME= gevent-22.10.2
+DISTNAME= gevent-23.7.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=g/gevent/}
@@ -11,8 +11,7 @@ COMMENT= Python-gevent a coroutine-based
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-cffi>=1.12.2:../../devel/py-cffi
-DEPENDS+= ${PYPKGPREFIX}-greenlet>=1.1.3:../../devel/py-greenlet
-DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+DEPENDS+= ${PYPKGPREFIX}-greenlet>=2.0.0:../../devel/py-greenlet
DEPENDS+= ${PYPKGPREFIX}-zope.event-[0-9]*:../../devel/py-zope.event
DEPENDS+= ${PYPKGPREFIX}-zope.interface-[0-9]*:../../devel/py-zope.interface
@@ -31,10 +30,13 @@ MAKE_ENV.SunOS+= ac_cv_header_sys_inotif
.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mclang) || !empty(CC_VERSION:Mgcc-[6-9]*) || !empty(CC_VERSION:Mgcc-1[0-9].*)
+.if !empty(PKGSRC_COMPILER:Mclang) || ${CC_VERSION:Mgcc-[6-9]*} || ${CC_VERSION:Mgcc-1[0-9].*}
BUILDLINK_TRANSFORM.SunOS+= opt:-D_XOPEN_SOURCE=500:-D_XOPEN_SOURCE=600
.endif
+do-test:
+ cd ${WRKSRC}/src && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -v
+
.include "../../devel/py-cython/buildlink3.mk"
.include "../../devel/libev/buildlink3.mk"
.include "../../devel/libuv/buildlink3.mk"
Index: pkgsrc/net/py-gevent/PLIST
diff -u pkgsrc/net/py-gevent/PLIST:1.14 pkgsrc/net/py-gevent/PLIST:1.15
--- pkgsrc/net/py-gevent/PLIST:1.14 Sun Oct 23 15:48:33 2022
+++ pkgsrc/net/py-gevent/PLIST Fri Jul 21 10:00:47 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.14 2022/10/23 15:48:33 adam Exp $
+@comment $NetBSD: PLIST,v 1.15 2023/07/21 10:00:47 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -76,24 +76,12 @@ ${PYSITELIB}/gevent/_patcher.pyo
${PYSITELIB}/gevent/_semaphore.py
${PYSITELIB}/gevent/_semaphore.pyc
${PYSITELIB}/gevent/_semaphore.pyo
-${PYSITELIB}/gevent/_socket2.py
-${PYSITELIB}/gevent/_socket2.pyc
-${PYSITELIB}/gevent/_socket2.pyo
${PYSITELIB}/gevent/_socket3.py
-${PLIST.py3x}${PYSITELIB}/gevent/_socket3.pyc
-${PLIST.py3x}${PYSITELIB}/gevent/_socket3.pyo
+${PYSITELIB}/gevent/_socket3.pyc
+${PYSITELIB}/gevent/_socket3.pyo
${PYSITELIB}/gevent/_socketcommon.py
${PYSITELIB}/gevent/_socketcommon.pyc
${PYSITELIB}/gevent/_socketcommon.pyo
-${PYSITELIB}/gevent/_ssl2.py
-${PYSITELIB}/gevent/_ssl2.pyc
-${PYSITELIB}/gevent/_ssl2.pyo
-${PYSITELIB}/gevent/_ssl3.py
-${PYSITELIB}/gevent/_ssl3.pyc
-${PYSITELIB}/gevent/_ssl3.pyo
-${PYSITELIB}/gevent/_sslgte279.py
-${PYSITELIB}/gevent/_sslgte279.pyc
-${PYSITELIB}/gevent/_sslgte279.pyo
${PYSITELIB}/gevent/_tblib.py
${PYSITELIB}/gevent/_tblib.pyc
${PYSITELIB}/gevent/_tblib.pyo
@@ -106,9 +94,6 @@ ${PYSITELIB}/gevent/_tracer.pyo
${PYSITELIB}/gevent/_util.py
${PYSITELIB}/gevent/_util.pyc
${PYSITELIB}/gevent/_util.pyo
-${PYSITELIB}/gevent/_util_py2.py
-${PYSITELIB}/gevent/_util_py2.pyc
-${PYSITELIB}/gevent/_util_py2.pyo
${PYSITELIB}/gevent/_waiter.py
${PYSITELIB}/gevent/_waiter.pyc
${PYSITELIB}/gevent/_waiter.pyo
@@ -151,8 +136,7 @@ ${PYSITELIB}/gevent/hub.pyo
${PYSITELIB}/gevent/libev/__init__.py
${PYSITELIB}/gevent/libev/__init__.pyc
${PYSITELIB}/gevent/libev/__init__.pyo
-${PLIST.py2x}${PYSITELIB}/gevent/libev/_corecffi.so
-${PLIST.py3x}${PYSITELIB}/gevent/libev/_corecffi.abi3.so
+${PYSITELIB}/gevent/libev/_corecffi.abi3.so
${PYSITELIB}/gevent/libev/_corecffi_build.py
${PYSITELIB}/gevent/libev/_corecffi_build.pyc
${PYSITELIB}/gevent/libev/_corecffi_build.pyo
@@ -166,8 +150,7 @@ ${PYSITELIB}/gevent/libev/watcher.pyo
${PYSITELIB}/gevent/libuv/__init__.py
${PYSITELIB}/gevent/libuv/__init__.pyc
${PYSITELIB}/gevent/libuv/__init__.pyo
-${PLIST.py2x}${PYSITELIB}/gevent/libuv/_corecffi.so
-${PLIST.py3x}${PYSITELIB}/gevent/libuv/_corecffi.abi3.so
+${PYSITELIB}/gevent/libuv/_corecffi.abi3.so
${PYSITELIB}/gevent/libuv/_corecffi_build.py
${PYSITELIB}/gevent/libuv/_corecffi_build.pyc
${PYSITELIB}/gevent/libuv/_corecffi_build.pyo
Index: pkgsrc/net/py-gevent/distinfo
diff -u pkgsrc/net/py-gevent/distinfo:1.15 pkgsrc/net/py-gevent/distinfo:1.16
--- pkgsrc/net/py-gevent/distinfo:1.15 Mon Nov 21 11:30:23 2022
+++ pkgsrc/net/py-gevent/distinfo Fri Jul 21 10:00:47 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.15 2022/11/21 11:30:23 adam Exp $
+$NetBSD: distinfo,v 1.16 2023/07/21 10:00:47 adam Exp $
-BLAKE2s (gevent-22.10.2.tar.gz) = c6c717aa99c97a8173f0db06168b261e2947e8613a03c003c336d6cab2ec7285
-SHA512 (gevent-22.10.2.tar.gz) = e4cf1ca94269a7418cd8c1fcc7efaa1b393921ec4d9f50b9a29f1059db102d6a41b6d7f4602b215b877d29696bf235c883ea7e3e52480133366afa839ec4bcd8
-Size (gevent-22.10.2.tar.gz) = 6551607 bytes
+BLAKE2s (gevent-23.7.0.tar.gz) = ee32f980c77c0ad051928750046d0d3d7b2882d24f5a4c746aae785d8ab892ef
+SHA512 (gevent-23.7.0.tar.gz) = d452e58e96ba5b7f995b9a762fe378cef24a728a5291b3df069ff50815b336c6ad7bdbe0341c6c9c821dea6fc1a6601aec9d8c9c18aea8045bbcddb2f9240198
+Size (gevent-23.7.0.tar.gz) = 5793409 bytes
Home |
Main Index |
Thread Index |
Old Index