pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-uvloop



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Sep 16 13:00:15 UTC 2022

Modified Files:
        pkgsrc/devel/py-uvloop: Makefile PLIST distinfo
        pkgsrc/devel/py-uvloop/patches: patch-setup.py

Log Message:
py-uvloop: updated to 0.17.0

v0.17.0

This release adds Python 3.11 support, updates bundled libuv to 1.43.0
and fixes a handful of issues.

Changes

Expose uv_loop_t pointer for integration with other C-extensions
Support python 3.11+
Expose libuv uv_fs_event functionality
Activate debug mode when -X dev is used
Expose uv_version() for libuv API compatibility
Fix loop.getaddrinfo() and tests
Bump to libuv 1.43.0

Fixes

_TransProtPair is no longer defined in asyncio.events
use a TypeVar for asyncio.BaseProtocol
Fix segfault in TimerHandle.when() after cleared
Avoid self._errpipe_write double close
Fix typo in test
Fix potential infinite loop
use a stack of self._fds_to_close to prevent double closes
Fix incorrect main thread id value forking from a thread
create_subprocess_exec should treat env={} as empty environment
Queue write only after processing all buffers
Drop Python 3.6 support for thread ident
bugfix: write to another transport in resume_writing() fails

Build

Upgrade GitHub Actions
typo same as same
setup.py: allow to override extra_compile_args
Drop hack in setup.py in finalize_options (492)
Fix tests invocation on release CI worklow

Documentation

use asyncio.Runner loop_factory on 3.11+
Fix CI badge in docs, remove remaining Travis CI references from docs
Fix typo in README


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/py-uvloop/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/py-uvloop/PLIST
cvs rdiff -u -r1.26 -r1.27 pkgsrc/devel/py-uvloop/distinfo
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/py-uvloop/patches/patch-setup.py

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-uvloop/Makefile
diff -u pkgsrc/devel/py-uvloop/Makefile:1.28 pkgsrc/devel/py-uvloop/Makefile:1.29
--- pkgsrc/devel/py-uvloop/Makefile:1.28        Tue Jan  4 20:53:47 2022
+++ pkgsrc/devel/py-uvloop/Makefile     Fri Sep 16 13:00:15 2022
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.28 2022/01/04 20:53:47 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2022/09/16 13:00:15 adam Exp $
 
-DISTNAME=      uvloop-0.16.0
+DISTNAME=      uvloop-0.17.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=u/uvloop/}
 
@@ -11,7 +10,7 @@ HOMEPAGE=     https://github.com/MagicStack/
 COMMENT=       Fast implementation of asyncio event loop on top of libuv
 LICENSE=       mit AND apache-2.0
 
-DEPENDS+=      libuv>=1.42.0:../../devel/libuv
+DEPENDS+=      libuv>=1.43.0:../../devel/libuv
 TEST_DEPENDS+= ${PYPKGPREFIX}-OpenSSL-[0-9]*:../../security/py-OpenSSL
 TEST_DEPENDS+= ${PYPKGPREFIX}-psutil-[0-9]*:../../sysutils/py-psutil
 

Index: pkgsrc/devel/py-uvloop/PLIST
diff -u pkgsrc/devel/py-uvloop/PLIST:1.7 pkgsrc/devel/py-uvloop/PLIST:1.8
--- pkgsrc/devel/py-uvloop/PLIST:1.7    Wed Feb 10 08:18:25 2021
+++ pkgsrc/devel/py-uvloop/PLIST        Fri Sep 16 13:00:15 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2021/02/10 08:18:25 adam Exp $
+@comment $NetBSD: PLIST,v 1.8 2022/09/16 13:00:15 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -26,6 +26,8 @@ ${PYSITELIB}/uvloop/handles/basetranspor
 ${PYSITELIB}/uvloop/handles/basetransport.pyx
 ${PYSITELIB}/uvloop/handles/check.pxd
 ${PYSITELIB}/uvloop/handles/check.pyx
+${PYSITELIB}/uvloop/handles/fsevent.pxd
+${PYSITELIB}/uvloop/handles/fsevent.pyx
 ${PYSITELIB}/uvloop/handles/handle.pxd
 ${PYSITELIB}/uvloop/handles/handle.pyx
 ${PYSITELIB}/uvloop/handles/idle.pxd

Index: pkgsrc/devel/py-uvloop/distinfo
diff -u pkgsrc/devel/py-uvloop/distinfo:1.26 pkgsrc/devel/py-uvloop/distinfo:1.27
--- pkgsrc/devel/py-uvloop/distinfo:1.26        Mon Apr 25 21:46:49 2022
+++ pkgsrc/devel/py-uvloop/distinfo     Fri Sep 16 13:00:15 2022
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.26 2022/04/25 21:46:49 tnn Exp $
+$NetBSD: distinfo,v 1.27 2022/09/16 13:00:15 adam Exp $
 
-BLAKE2s (uvloop-0.16.0.tar.gz) = 0c9a34b053ad5d385f6e840d5098016cff71f854f730c33a060287e3d979491a
-SHA512 (uvloop-0.16.0.tar.gz) = dd6dcec38f7f94dc0cf0123302fd6fe404428196b452a80a8258a207654e3f67e210233be3d649668c22b48390232d0347706b1d87fb50016287142c742b806d
-Size (uvloop-0.16.0.tar.gz) = 2129067 bytes
-SHA1 (patch-setup.py) = 31968fa87f7a5a626f79e4bdfb0bd3f054cfc95e
+BLAKE2s (uvloop-0.17.0.tar.gz) = b0d5eca1cabe4d6286c830ac4aec7f2e1d67b36570b2fd96724ceddc5cbe90fe
+SHA512 (uvloop-0.17.0.tar.gz) = 861d7f28ad879ecbfa40d53b9626e38660f02618fd433edbd5a8ea5100a17ade042a26549def04bc23f928aca3adc83d62503f0548038cd400284f5654003ee4
+Size (uvloop-0.17.0.tar.gz) = 2279973 bytes
+SHA1 (patch-setup.py) = f11dba60f6e4fde5e7b42f82ca42becf115cce8e
 SHA1 (patch-uvloop_loop.c) = 23e35e68c2cc1ab4c9ddedfe74b87f2d293d2f2b

Index: pkgsrc/devel/py-uvloop/patches/patch-setup.py
diff -u pkgsrc/devel/py-uvloop/patches/patch-setup.py:1.5 pkgsrc/devel/py-uvloop/patches/patch-setup.py:1.6
--- pkgsrc/devel/py-uvloop/patches/patch-setup.py:1.5   Thu Jan 27 10:06:38 2022
+++ pkgsrc/devel/py-uvloop/patches/patch-setup.py       Fri Sep 16 13:00:15 2022
@@ -1,27 +1,29 @@
-$NetBSD: patch-setup.py,v 1.5 2022/01/27 10:06:38 wiz Exp $
+$NetBSD: patch-setup.py,v 1.6 2022/09/16 13:00:15 adam Exp $
 
 Relax restrictions.
 Use system libuv (--use-system-libuv option does not work for 'install').
 
---- setup.py.orig      2021-08-10 19:05:35.000000000 +0000
+--- setup.py.orig      2022-09-14 14:53:41.000000000 +0000
 +++ setup.py
-@@ -25,13 +25,9 @@ CYTHON_DEPENDENCY = 'Cython(>=0.29.24,<0
+@@ -25,15 +25,11 @@ CYTHON_DEPENDENCY = 'Cython(>=0.29.32,<0
  
  # Minimal dependencies required to test uvloop.
  TEST_DEPENDENCIES = [
 -    # pycodestyle is a dependency of flake8, but it must be frozen because
 -    # their combination breaks too often
 -    # (example breakage: https://gitlab.com/pycqa/flake8/issues/427)
-     'aiohttp',
+     # aiohttp doesn't support 3.11 yet,
+     # see https://github.com/aio-libs/aiohttp/issues/6600
+     'aiohttp ; python_version < "3.11"',
      'flake8~=3.9.2',
      'psutil',
 -    'pycodestyle~=2.7.0',
-     'pyOpenSSL~=19.0.0',
+     'pyOpenSSL~=22.0.0',
      'mypy>=0.800',
- ]
-@@ -121,7 +117,7 @@ class uvloop_build_ext(build_ext):
-             return
+     CYTHON_DEPENDENCY,
+@@ -118,7 +114,7 @@ class uvloop_build_ext(build_ext):
  
+     def initialize_options(self):
          super().initialize_options()
 -        self.use_system_libuv = False
 +        self.use_system_libuv = True



Home | Main Index | Thread Index | Old Index