pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-anyio



Module Name:    pkgsrc
Committed By:   adam
Date:           Sat Apr 12 08:05:04 UTC 2025

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

Log Message:
py-anyio: updated to 4.9.0

4.9.0

- Fixed ``connect_tcp()`` producing cyclic references in tracebacks when raising
  exceptions
- Added 4 new fixtures for the AnyIO ``pytest`` plugin:

  * ``free_tcp_port_factory``: session scoped fixture returning a callable that
    generates unused TCP port numbers
  * ``free_udp_port_factory``: session scoped fixture returning a callable that
    generates unused UDP port numbers
  * ``free_tcp_port``: function scoped fixture that invokes the
    ``free_tcp_port_factory`` fixture to generate a free TCP port number
  * ``free_udp_port``: function scoped fixture that invokes the
    ``free_udp_port_factory`` fixture to generate a free UDP port number
- Added ``stdin`` argument to ``anyio.run_process()`` akin to what
  ``anyio.open_process()``, ``asyncio.create_subprocess_…()``, ``trio.run_process()``,
  and ``subprocess.run()`` already accept
- Added the ``info`` property to ``anyio.Path`` on Python 3.14
- Changed ``anyio.getaddrinfo()`` to ignore (invalid) IPv6 name resolution results when
  IPv6 support is disabled in Python
- Changed ``EndOfStream`` raised from ``MemoryObjectReceiveStream.receive()`` to leave
  out the ``AttributeError`` from the exception chain which was merely an implementation
  detail and caused some confusion
- Fixed traceback formatting growing quadratically with level of ``TaskGroup``
  nesting on asyncio due to exception chaining when raising ``ExceptionGroups``
  in ``TaskGroup.__aexit__``
- Fixed ``anyio.Path.iterdir()`` making a blocking call in Python 3.13
- Fixed ``anyio.to_thread.run_sync()`` needlessly holding on to references of the
  context, function, arguments and others until the next work item on asyncio


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/devel/py-anyio/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/py-anyio/PLIST
cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/py-anyio/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-anyio/Makefile
diff -u pkgsrc/devel/py-anyio/Makefile:1.27 pkgsrc/devel/py-anyio/Makefile:1.28
--- pkgsrc/devel/py-anyio/Makefile:1.27 Thu Jan  9 10:13:10 2025
+++ pkgsrc/devel/py-anyio/Makefile      Sat Apr 12 08:05:04 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2025/01/09 10:13:10 adam Exp $
+# $NetBSD: Makefile,v 1.28 2025/04/12 08:05:04 adam Exp $
 
-DISTNAME=      anyio-4.8.0
+DISTNAME=      anyio-4.9.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/anyio/}
@@ -14,6 +14,8 @@ TOOL_DEPENDS+=        ${PYPKGPREFIX}-setuptools
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.4:../../devel/py-setuptools_scm
 DEPENDS+=      ${PYPKGPREFIX}-idna>=2.8:../../www/py-idna
 DEPENDS+=      ${PYPKGPREFIX}-sniffio>=1.1:../../misc/py-sniffio
+#TODO:
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-blockbuster>=1.5.23
 TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=7:../../devel/py-coverage
 TEST_DEPENDS+= ${PYPKGPREFIX}-exceptiongroup>=1.2.0:../../devel/py-exceptiongroup
 TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=4.0:../../devel/py-hypothesis

Index: pkgsrc/devel/py-anyio/PLIST
diff -u pkgsrc/devel/py-anyio/PLIST:1.6 pkgsrc/devel/py-anyio/PLIST:1.7
--- pkgsrc/devel/py-anyio/PLIST:1.6     Thu Jan  9 10:13:10 2025
+++ pkgsrc/devel/py-anyio/PLIST Sat Apr 12 08:05:04 2025
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.6 2025/01/09 10:13:10 adam Exp $
-${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+@comment $NetBSD: PLIST,v 1.7 2025/04/12 08:05:04 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/anyio/__init__.py
 ${PYSITELIB}/anyio/__init__.pyc
@@ -53,6 +53,9 @@ ${PYSITELIB}/anyio/_core/_synchronizatio
 ${PYSITELIB}/anyio/_core/_tasks.py
 ${PYSITELIB}/anyio/_core/_tasks.pyc
 ${PYSITELIB}/anyio/_core/_tasks.pyo
+${PYSITELIB}/anyio/_core/_tempfile.py
+${PYSITELIB}/anyio/_core/_tempfile.pyc
+${PYSITELIB}/anyio/_core/_tempfile.pyo
 ${PYSITELIB}/anyio/_core/_testing.py
 ${PYSITELIB}/anyio/_core/_testing.pyc
 ${PYSITELIB}/anyio/_core/_testing.pyo

Index: pkgsrc/devel/py-anyio/distinfo
diff -u pkgsrc/devel/py-anyio/distinfo:1.24 pkgsrc/devel/py-anyio/distinfo:1.25
--- pkgsrc/devel/py-anyio/distinfo:1.24 Thu Jan  9 10:13:10 2025
+++ pkgsrc/devel/py-anyio/distinfo      Sat Apr 12 08:05:04 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.24 2025/01/09 10:13:10 adam Exp $
+$NetBSD: distinfo,v 1.25 2025/04/12 08:05:04 adam Exp $
 
-BLAKE2s (anyio-4.8.0.tar.gz) = 026ac92dba11cf5d0cb1f9e4936bab94aa851af67597a327782cc5d93c7ecfc7
-SHA512 (anyio-4.8.0.tar.gz) = 939ae76eff4c91979f1ce2bdf3ef1f05f488931e7ae357632090855125656721099732a9a1e167755677757c2125287842e49fce19302f90615bd79b41cc9e67
-Size (anyio-4.8.0.tar.gz) = 181126 bytes
+BLAKE2s (anyio-4.9.0.tar.gz) = 874bff65c9316b1d14d0e400e8d73db7435679cea5305b53a34675b1b86dffb6
+SHA512 (anyio-4.9.0.tar.gz) = 73ff6dfada89fc3869f59b13847b350acecf178a0ab3cec9ae55ce3cffda9ea56f6adbd291682ee064a773c6dd5372e2f6693b43fb14b0d19bbaaf69e24ceeed
+Size (anyio-4.9.0.tar.gz) = 190949 bytes



Home | Main Index | Thread Index | Old Index