Sun Feb 11 20:04:25 2024 UTC (104d)
py-gevent: updated to 23.9.1

23.9.1 (2023-09-12)
Bugfixes
Require greenlet 3.0 on Python 3.11 and Python 3.12; greenlet 3.0 is recommended for all platforms. This fixes a number of obscure crashes on all versions of Python, as well as fixing a fairly common problem on Python 3.11+ that could manifest as either a crash or as a SystemError.

23.9.0.post1 (2023-09-02)
Fix Windows wheel builds.
Fix macOS wheel builds.

23.9.0 (2023-09-01)
Bugfixes
Make gevent.select.select accept arbitrary iterables, not just sequences. That is, you can now pass in a generator of file descriptors instead of a realized list. Internally, arbitrary iterables are copied into lists. This better matches what the standard library does. Thanks to David Salvisberg.
On Python 3.11 and newer, opt out of Cython窶冱 fast exception manipulation, which may be causing problems in certain circumstances when combined with greenlets.
On all versions of Python, adjust some error handling in the default C-based loop. This fixes several assertion failures on debug versions of CPython. Hopefully it has a positive impact under real conditions.

Make gevent.pywsgi comply more closely with the HTTP specification for chunked transfer encoding. In particular, we are much stricter about trailers, and trailers that are invalid (too long or featuring disallowed characters) forcibly close the connection to the client after the results have been sent.


(adam)
diff -r1.23 -r1.24 pkgsrc/net/py-gevent/Makefile
diff -r1.15 -r1.16 pkgsrc/net/py-gevent/PLIST
diff -r1.16 -r1.17 pkgsrc/net/py-gevent/distinfo

cvs diff -r1.23 -r1.24 pkgsrc/net/py-gevent/Makefile (expand / switch to unified diff)

--- pkgsrc/net/py-gevent/Makefile 2023/07/21 10:00:47 1.23
+++ pkgsrc/net/py-gevent/Makefile 2024/02/11 20:04:25 1.24
@@ -1,45 +1,43 @@ @@ -1,45 +1,43 @@
1# $NetBSD: Makefile,v 1.23 2023/07/21 10:00:47 adam Exp $ 1# $NetBSD: Makefile,v 1.24 2024/02/11 20:04:25 adam Exp $
2 2
3DISTNAME= gevent-23.7.0 3DISTNAME= gevent-23.9.1
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= net python 5CATEGORIES= net python
6MASTER_SITES= ${MASTER_SITE_PYPI:=g/gevent/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=g/gevent/}
7 7
8MAINTAINER= kamel.derouiche@gmail.com 8MAINTAINER= kamel.derouiche@gmail.com
9HOMEPAGE= http://www.gevent.org/ 9HOMEPAGE= http://www.gevent.org/
10COMMENT= Python-gevent a coroutine-based Python networking library 10COMMENT= Python-gevent a coroutine-based Python networking library
11LICENSE= mit 11LICENSE= mit
12 12
13DEPENDS+= ${PYPKGPREFIX}-cffi>=1.12.2:../../devel/py-cffi 13TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=40.8.0:../../devel/py-setuptools
14DEPENDS+= ${PYPKGPREFIX}-greenlet>=2.0.0:../../devel/py-greenlet 14TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 15DEPENDS+= ${PYPKGPREFIX}-cffi>=1.12.3:../../devel/py-cffi
 16DEPENDS+= ${PYPKGPREFIX}-greenlet>=3.0.0:../../devel/py-greenlet
15DEPENDS+= ${PYPKGPREFIX}-zope.event-[0-9]*:../../devel/py-zope.event 17DEPENDS+= ${PYPKGPREFIX}-zope.event-[0-9]*:../../devel/py-zope.event
16DEPENDS+= ${PYPKGPREFIX}-zope.interface-[0-9]*:../../devel/py-zope.interface 18DEPENDS+= ${PYPKGPREFIX}-zope.interface-[0-9]*:../../devel/py-zope.interface
17 19
18MAKE_ENV+= GEVENTSETUP_EMBED_CARES=0 20# See docs/development/installing_from_source.rst
19MAKE_ENV+= GEVENTSETUP_EMBED_LIBEV=0 21MAKE_ENV+= GEVENTSETUP_EMBED=0
20MAKE_ENV+= GEVENTSETUP_EMBED_LIBUV=0 
21 22
22CHECK_PORTABILITY_SKIP= deps/libuv/autogen.sh 23CHECK_PORTABILITY_SKIP= deps/libuv/autogen.sh
23 24
24USE_LANGUAGES= c c++ 25USE_LANGUAGES= c c++
25 26
26PYTHON_VERSIONS_INCOMPATIBLE= 27 27PYTHON_VERSIONS_INCOMPATIBLE= 27
27 28
28# Explicitly disable inotify on SunOS, assumes Linux statfs. 29# Explicitly disable inotify on SunOS, assumes Linux statfs.
29MAKE_ENV.SunOS+= ac_cv_header_sys_inotify_h=no 30MAKE_ENV.SunOS+= ac_cv_header_sys_inotify_h=no
30 31
31.include "../../mk/compiler.mk" 32.include "../../mk/compiler.mk"
32 33
33.if !empty(PKGSRC_COMPILER:Mclang) || ${CC_VERSION:Mgcc-[6-9]*} || ${CC_VERSION:Mgcc-1[0-9].*} 34.if !empty(PKGSRC_COMPILER:Mclang) || ${CC_VERSION:Mgcc-[6-9]*} || ${CC_VERSION:Mgcc-1[0-9].*}
34BUILDLINK_TRANSFORM.SunOS+= opt:-D_XOPEN_SOURCE=500:-D_XOPEN_SOURCE=600 35BUILDLINK_TRANSFORM.SunOS+= opt:-D_XOPEN_SOURCE=500:-D_XOPEN_SOURCE=600
35.endif 36.endif
36 37
37do-test: 
38 cd ${WRKSRC}/src && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -v 
39 
40.include "../../devel/py-cython/buildlink3.mk" 38.include "../../devel/py-cython/buildlink3.mk"
41.include "../../devel/libev/buildlink3.mk" 39.include "../../devel/libev/buildlink3.mk"
42.include "../../devel/libuv/buildlink3.mk" 40.include "../../devel/libuv/buildlink3.mk"
43.include "../../lang/python/egg.mk" 41.include "../../lang/python/wheel.mk"
44.include "../../net/libcares/buildlink3.mk" 42.include "../../net/libcares/buildlink3.mk"
45.include "../../mk/bsd.pkg.mk" 43.include "../../mk/bsd.pkg.mk"

cvs diff -r1.15 -r1.16 pkgsrc/net/py-gevent/PLIST (expand / switch to unified diff)

--- pkgsrc/net/py-gevent/PLIST 2023/07/21 10:00:47 1.15
+++ pkgsrc/net/py-gevent/PLIST 2024/02/11 20:04:25 1.16
@@ -1,21 +1,22 @@ @@ -1,21 +1,22 @@
1@comment $NetBSD: PLIST,v 1.15 2023/07/21 10:00:47 adam Exp $ 1@comment $NetBSD: PLIST,v 1.16 2024/02/11 20:04:25 adam Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${WHEEL_INFODIR}/METADATA
5${PYSITELIB}/${EGG_INFODIR}/entry_points.txt 5${PYSITELIB}/${WHEEL_INFODIR}/NOTICE
6${PYSITELIB}/${EGG_INFODIR}/not-zip-safe 6${PYSITELIB}/${WHEEL_INFODIR}/RECORD
7${PYSITELIB}/${EGG_INFODIR}/requires.txt 7${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
8${PYSITELIB}/${EGG_INFODIR}/top_level.txt 8${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
 9${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
9${PYSITELIB}/gevent/__init__.py 10${PYSITELIB}/gevent/__init__.py
10${PYSITELIB}/gevent/__init__.pyc 11${PYSITELIB}/gevent/__init__.pyc
11${PYSITELIB}/gevent/__init__.pyo 12${PYSITELIB}/gevent/__init__.pyo
12${PYSITELIB}/gevent/_abstract_linkable.py 13${PYSITELIB}/gevent/_abstract_linkable.py
13${PYSITELIB}/gevent/_abstract_linkable.pyc 14${PYSITELIB}/gevent/_abstract_linkable.pyc
14${PYSITELIB}/gevent/_abstract_linkable.pyo 15${PYSITELIB}/gevent/_abstract_linkable.pyo
15${PYSITELIB}/gevent/_compat.py 16${PYSITELIB}/gevent/_compat.py
16${PYSITELIB}/gevent/_compat.pyc 17${PYSITELIB}/gevent/_compat.pyc
17${PYSITELIB}/gevent/_compat.pyo 18${PYSITELIB}/gevent/_compat.pyo
18${PYSITELIB}/gevent/_config.py 19${PYSITELIB}/gevent/_config.py
19${PYSITELIB}/gevent/_config.pyc 20${PYSITELIB}/gevent/_config.pyc
20${PYSITELIB}/gevent/_config.pyo 21${PYSITELIB}/gevent/_config.pyo
21${PYSITELIB}/gevent/_ffi/__init__.py 22${PYSITELIB}/gevent/_ffi/__init__.py

cvs diff -r1.16 -r1.17 pkgsrc/net/py-gevent/distinfo (expand / switch to unified diff)

--- pkgsrc/net/py-gevent/distinfo 2023/07/21 10:00:47 1.16
+++ pkgsrc/net/py-gevent/distinfo 2024/02/11 20:04:25 1.17
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.16 2023/07/21 10:00:47 adam Exp $ 1$NetBSD: distinfo,v 1.17 2024/02/11 20:04:25 adam Exp $
2 2
3BLAKE2s (gevent-23.7.0.tar.gz) = ee32f980c77c0ad051928750046d0d3d7b2882d24f5a4c746aae785d8ab892ef 3BLAKE2s (gevent-23.9.1.tar.gz) = 8023c45febdda8c01a84650fbdcbb49313126ac583e057e1d8427648eac634af
4SHA512 (gevent-23.7.0.tar.gz) = d452e58e96ba5b7f995b9a762fe378cef24a728a5291b3df069ff50815b336c6ad7bdbe0341c6c9c821dea6fc1a6601aec9d8c9c18aea8045bbcddb2f9240198 4SHA512 (gevent-23.9.1.tar.gz) = c0600a5f9e50040009c3467ad802dda8a48422dca4e781acc9ca3428446399932da2f07d7345936ef634783611cf664d219f614980ed6b936f4a510e56ea753c
5Size (gevent-23.7.0.tar.gz) = 5793409 bytes 5Size (gevent-23.9.1.tar.gz) = 5847705 bytes