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: Mon May 29 17:58:23 UTC 2023
Modified Files:
pkgsrc/devel/py-anyio: Makefile PLIST distinfo
Log Message:
py-anyio: updated to 3.7.0
**3.7.0**
- Dropped support for Python 3.6
- Improved type annotations:
- Several functions and methods that were previously annotated as accepting
``Coroutine[Any, Any, Any]`` as the return type of the callable have been amended to
accept ``Awaitable[Any]`` instead, to allow a slightly broader set of coroutine-like
inputs, like ``async_generator_asend`` objects returned from the ``asend()`` method
of async generators, and to match the ``trio`` annotations:
- ``anyio.run()``
- ``anyio.from_thread.run()``
- ``TaskGroup.start_soon()``
- ``TaskGroup.start()``
- ``BlockingPortal.call()``
- ``BlockingPortal.start_task_soon()``
- ``BlockingPortal.start_task()``
Note that this change involved only changing the type annotations; run-time
functionality was not altered.
- The ``TaskStatus`` class is now a generic protocol, and should be parametrized to
indicate the type of the value passed to ``task_status.started()``
- The ``Listener`` class is now covariant in its stream type
- ``create_memory_object_stream()`` now allows passing only ``item_type``
- Object receive streams are now covariant and object send streams are correspondingly
contravariant
- Changed ``TLSAttribute.shared_ciphers`` to match the documented semantics of
``SSLSocket.shared_ciphers`` of always returning ``None`` for client-side streams
- Fixed ``CapacityLimiter`` on the asyncio backend to order waiting tasks in the FIFO
order (instead of LIFO) (PR by Conor Stevenson)
- Fixed ``CancelScope.cancel()`` not working on asyncio if called before entering the
scope
- Fixed ``open_signal_receiver()`` inconsistently yielding integers instead of
``signal.Signals`` instances on the ``trio`` backend
- Fixed ``to_thread.run_sync()`` hanging on asyncio if the target callable raises
``StopIteration``
- Fixed ``start_blocking_portal()`` raising an unwarranted
``RuntimeError: This portal is not running`` if a task raises an exception that causes
the event loop to be closed
- Fixed ``current_effective_deadline()`` not returning ``-inf`` on asyncio when the
currently active cancel scope has been cancelled (PR by Ganden Schaffner)
- Fixed the ``OP_IGNORE_UNEXPECTED_EOF`` flag in an SSL context created by default in
``TLSStream.wrap()`` being inadvertently set on Python 3.11.3 and 3.10.11
- Fixed ``CancelScope`` to properly handle asyncio task uncancellation on Python 3.11
(PR by Nikolay Bryskin)
- Fixed ``OSError`` when trying to use ``create_tcp_listener()`` to bind to a link-local
IPv6 address (and worked around related bugs in ``uvloop``)
- Worked around a `PyPy bug <https://foss.heptapod.net/pypy/pypy/-/issues/3938>`_
when using ``anyio.getaddrinfo()`` with for IPv6 link-local addresses containing
interface names
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/py-anyio/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-anyio/PLIST
cvs rdiff -u -r1.12 -r1.13 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.13 pkgsrc/devel/py-anyio/Makefile:1.14
--- pkgsrc/devel/py-anyio/Makefile:1.13 Wed Mar 29 09:34:05 2023
+++ pkgsrc/devel/py-anyio/Makefile Mon May 29 17:58:23 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2023/03/29 09:34:05 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2023/05/29 17:58:23 adam Exp $
-DISTNAME= anyio-3.6.2
+DISTNAME= anyio-3.7.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=a/anyio/}
@@ -10,30 +10,34 @@ HOMEPAGE= https://github.com/agronholm/a
COMMENT= High level compatibility layer for multiple asynchronous event loops
LICENSE= modified-bsd
-BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.4:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+= ${PYPKGPREFIX}-idna>=2.8:../../www/py-idna
DEPENDS+= ${PYPKGPREFIX}-sniffio>=1.1:../../misc/py-sniffio
-DEPENDS+= ${PYPKGPREFIX}-uvloop-[0-9]*:../../devel/py-uvloop
+TEST_DEPENDS+= ${PYPKGPREFIX}-uvloop>=0.17:../../devel/py-uvloop
TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=4.5:../../devel/py-coverage
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=4.0:../../devel/py-hypothesis
-TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6.0:../../devel/py-test
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock-[0-9]*:../../devel/py-test-mock
-TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TEST_DEPENDS+= ${PYPKGPREFIX}-psutil>=5.9:../../sysutils/py-psutil
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7.0:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-mock>=3.6.1:../../devel/py-test-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-trustme-[0-9]*:../../security/py-trustme
TEST_DEPENDS+= ${PYPKGPREFIX}-trio-[0-9]*:../../devel/py-trio
-PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-uvloop
+USE_LANGUAGES= # none
-.include "../../lang/python/pyversion.mk"
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+.include "../../lang/python/pyversion.mk"
.if ${PYTHON_VERSION} < 308
DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions
-TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=4:../../devel/py-mock
+.endif
+.if ${PYTHON_VERSION} < 311
+DEPENDS+= ${PYPKGPREFIX}-exceptiongroup-[0-9]*:../../devel/py-exceptiongroup
.endif
-USE_LANGUAGES= # none
-
-PYSETUPTESTTARGET= pytest
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-anyio/PLIST
diff -u pkgsrc/devel/py-anyio/PLIST:1.1 pkgsrc/devel/py-anyio/PLIST:1.2
--- pkgsrc/devel/py-anyio/PLIST:1.1 Thu Jul 8 08:33:21 2021
+++ pkgsrc/devel/py-anyio/PLIST Mon May 29 17:58:23 2023
@@ -1,120 +1,85 @@
-@comment $NetBSD: PLIST,v 1.1 2021/07/08 08:33:21 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.2 2023/05/29 17:58:23 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/anyio/__init__.py
${PYSITELIB}/anyio/__init__.pyc
-${PYSITELIB}/anyio/__init__.pyo
${PYSITELIB}/anyio/_backends/__init__.py
${PYSITELIB}/anyio/_backends/__init__.pyc
-${PYSITELIB}/anyio/_backends/__init__.pyo
${PYSITELIB}/anyio/_backends/_asyncio.py
${PYSITELIB}/anyio/_backends/_asyncio.pyc
-${PYSITELIB}/anyio/_backends/_asyncio.pyo
${PYSITELIB}/anyio/_backends/_trio.py
${PYSITELIB}/anyio/_backends/_trio.pyc
-${PYSITELIB}/anyio/_backends/_trio.pyo
${PYSITELIB}/anyio/_core/__init__.py
${PYSITELIB}/anyio/_core/__init__.pyc
-${PYSITELIB}/anyio/_core/__init__.pyo
${PYSITELIB}/anyio/_core/_compat.py
${PYSITELIB}/anyio/_core/_compat.pyc
-${PYSITELIB}/anyio/_core/_compat.pyo
${PYSITELIB}/anyio/_core/_eventloop.py
${PYSITELIB}/anyio/_core/_eventloop.pyc
-${PYSITELIB}/anyio/_core/_eventloop.pyo
${PYSITELIB}/anyio/_core/_exceptions.py
${PYSITELIB}/anyio/_core/_exceptions.pyc
-${PYSITELIB}/anyio/_core/_exceptions.pyo
${PYSITELIB}/anyio/_core/_fileio.py
${PYSITELIB}/anyio/_core/_fileio.pyc
-${PYSITELIB}/anyio/_core/_fileio.pyo
${PYSITELIB}/anyio/_core/_resources.py
${PYSITELIB}/anyio/_core/_resources.pyc
-${PYSITELIB}/anyio/_core/_resources.pyo
${PYSITELIB}/anyio/_core/_signals.py
${PYSITELIB}/anyio/_core/_signals.pyc
-${PYSITELIB}/anyio/_core/_signals.pyo
${PYSITELIB}/anyio/_core/_sockets.py
${PYSITELIB}/anyio/_core/_sockets.pyc
-${PYSITELIB}/anyio/_core/_sockets.pyo
${PYSITELIB}/anyio/_core/_streams.py
${PYSITELIB}/anyio/_core/_streams.pyc
-${PYSITELIB}/anyio/_core/_streams.pyo
${PYSITELIB}/anyio/_core/_subprocesses.py
${PYSITELIB}/anyio/_core/_subprocesses.pyc
-${PYSITELIB}/anyio/_core/_subprocesses.pyo
${PYSITELIB}/anyio/_core/_synchronization.py
${PYSITELIB}/anyio/_core/_synchronization.pyc
-${PYSITELIB}/anyio/_core/_synchronization.pyo
${PYSITELIB}/anyio/_core/_tasks.py
${PYSITELIB}/anyio/_core/_tasks.pyc
-${PYSITELIB}/anyio/_core/_tasks.pyo
${PYSITELIB}/anyio/_core/_testing.py
${PYSITELIB}/anyio/_core/_testing.pyc
-${PYSITELIB}/anyio/_core/_testing.pyo
${PYSITELIB}/anyio/_core/_typedattr.py
${PYSITELIB}/anyio/_core/_typedattr.pyc
-${PYSITELIB}/anyio/_core/_typedattr.pyo
${PYSITELIB}/anyio/abc/__init__.py
${PYSITELIB}/anyio/abc/__init__.pyc
-${PYSITELIB}/anyio/abc/__init__.pyo
${PYSITELIB}/anyio/abc/_resources.py
${PYSITELIB}/anyio/abc/_resources.pyc
-${PYSITELIB}/anyio/abc/_resources.pyo
${PYSITELIB}/anyio/abc/_sockets.py
${PYSITELIB}/anyio/abc/_sockets.pyc
-${PYSITELIB}/anyio/abc/_sockets.pyo
${PYSITELIB}/anyio/abc/_streams.py
${PYSITELIB}/anyio/abc/_streams.pyc
-${PYSITELIB}/anyio/abc/_streams.pyo
${PYSITELIB}/anyio/abc/_subprocesses.py
${PYSITELIB}/anyio/abc/_subprocesses.pyc
-${PYSITELIB}/anyio/abc/_subprocesses.pyo
${PYSITELIB}/anyio/abc/_tasks.py
${PYSITELIB}/anyio/abc/_tasks.pyc
-${PYSITELIB}/anyio/abc/_tasks.pyo
${PYSITELIB}/anyio/abc/_testing.py
${PYSITELIB}/anyio/abc/_testing.pyc
-${PYSITELIB}/anyio/abc/_testing.pyo
${PYSITELIB}/anyio/from_thread.py
${PYSITELIB}/anyio/from_thread.pyc
-${PYSITELIB}/anyio/from_thread.pyo
${PYSITELIB}/anyio/lowlevel.py
${PYSITELIB}/anyio/lowlevel.pyc
-${PYSITELIB}/anyio/lowlevel.pyo
${PYSITELIB}/anyio/py.typed
${PYSITELIB}/anyio/pytest_plugin.py
${PYSITELIB}/anyio/pytest_plugin.pyc
-${PYSITELIB}/anyio/pytest_plugin.pyo
${PYSITELIB}/anyio/streams/__init__.py
${PYSITELIB}/anyio/streams/__init__.pyc
-${PYSITELIB}/anyio/streams/__init__.pyo
${PYSITELIB}/anyio/streams/buffered.py
${PYSITELIB}/anyio/streams/buffered.pyc
-${PYSITELIB}/anyio/streams/buffered.pyo
${PYSITELIB}/anyio/streams/file.py
${PYSITELIB}/anyio/streams/file.pyc
-${PYSITELIB}/anyio/streams/file.pyo
${PYSITELIB}/anyio/streams/memory.py
${PYSITELIB}/anyio/streams/memory.pyc
-${PYSITELIB}/anyio/streams/memory.pyo
${PYSITELIB}/anyio/streams/stapled.py
${PYSITELIB}/anyio/streams/stapled.pyc
-${PYSITELIB}/anyio/streams/stapled.pyo
${PYSITELIB}/anyio/streams/text.py
${PYSITELIB}/anyio/streams/text.pyc
-${PYSITELIB}/anyio/streams/text.pyo
${PYSITELIB}/anyio/streams/tls.py
${PYSITELIB}/anyio/streams/tls.pyc
-${PYSITELIB}/anyio/streams/tls.pyo
${PYSITELIB}/anyio/to_process.py
${PYSITELIB}/anyio/to_process.pyc
-${PYSITELIB}/anyio/to_process.pyo
${PYSITELIB}/anyio/to_thread.py
${PYSITELIB}/anyio/to_thread.pyc
-${PYSITELIB}/anyio/to_thread.pyo
Index: pkgsrc/devel/py-anyio/distinfo
diff -u pkgsrc/devel/py-anyio/distinfo:1.12 pkgsrc/devel/py-anyio/distinfo:1.13
--- pkgsrc/devel/py-anyio/distinfo:1.12 Thu Oct 20 09:09:22 2022
+++ pkgsrc/devel/py-anyio/distinfo Mon May 29 17:58:23 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2022/10/20 09:09:22 adam Exp $
+$NetBSD: distinfo,v 1.13 2023/05/29 17:58:23 adam Exp $
-BLAKE2s (anyio-3.6.2.tar.gz) = 1cb562f5222b043965cf4530936a32fa1513e3b02723ae7b85199d0f6a48a29c
-SHA512 (anyio-3.6.2.tar.gz) = e6e852e682374e7b9cf5e15765fae7f55175504897e044eafc66998411020ccd304d327a640a986fcaab0e7e7aa7566cf1db48ac2408622d0576f4c84b3861e9
-Size (anyio-3.6.2.tar.gz) = 140378 bytes
+BLAKE2s (anyio-3.7.0.tar.gz) = 3a410dec357b225c4f29690a1094c5d2b54f263a0573d699a086ca2dd6ed0f17
+SHA512 (anyio-3.7.0.tar.gz) = 0793012dc364d2bb27ebae8a23f275ecd24d444de750fbebcb72e70ca465a3be9c69938543e1a3c686abfff3ed9036974b38e3886fb24a110a9ef307a82d3f0b
+Size (anyio-3.7.0.tar.gz) = 142737 bytes
Home |
Main Index |
Thread Index |
Old Index