Chih-Hsuan Yen pushed to branch main at Arch Linux / Packaging / Packages / python-anyio
Commits: 4bff9ed3 by Chih-Hsuan Yen at 2024-11-30T12:14:05+08:00 Drop workaround for older uvloop - - - - - 3 changed files: - .SRCINFO - PKGBUILD - − python-3.12.diff Changes: ===================================== .SRCINFO ===================================== @@ -27,9 +27,7 @@ pkgbase = python-anyio optdepends = python-pytest: pytest plugin source = https://github.com/agronholm/anyio/archive/4.6.2.post1/anyio-4.6.2.post1.tar.gz source = no-exceptiongroup.diff - source = python-3.12.diff sha256sums = aae56b725ba03ba3005f47b27c1d8c70c9d89d30f706ce9624a9b89edcf25308 sha256sums = 72658edd045a382790a3218736c641d2b6e16e4b464137b4fb01e488112ca609 - sha256sums = 9cd05959ecc9408653e6a96be2bcd27104a430f5426b86edf22ef257b68139d4 pkgname = python-anyio ===================================== PKGBUILD ===================================== @@ -20,11 +20,9 @@ optdepends=( 'python-pytest: pytest plugin' ) source=(https://github.com/agronholm/anyio/archive/$pkgver/anyio-$pkgver.tar.gz - no-exceptiongroup.diff - python-3.12.diff) + no-exceptiongroup.diff) sha256sums=('aae56b725ba03ba3005f47b27c1d8c70c9d89d30f706ce9624a9b89edcf25308' - '72658edd045a382790a3218736c641d2b6e16e4b464137b4fb01e488112ca609' - '9cd05959ecc9408653e6a96be2bcd27104a430f5426b86edf22ef257b68139d4') + '72658edd045a382790a3218736c641d2b6e16e4b464137b4fb01e488112ca609') export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver @@ -38,10 +36,6 @@ prepare() { # [1] https://gitlab.archlinux.org/archlinux/packaging/state/-/commit/de33ab36729b786b80bf314f4e0296fc0cefec5b # [2] https://github.com/agronholm/exceptiongroup?tab=readme-ov-file#catching-exceptions patch -Np1 -i ../no-exceptiongroup.diff - - # Partial revert of https://github.com/agronholm/anyio/commit/4e9f18dfaa6e7db55231a35fcd93e18c343519a4 - # Don't fail tests with features that require uvloop 0.21 - patch -Np1 -i ../python-3.12.diff } build() { ===================================== python-3.12.diff deleted ===================================== @@ -1,16 +0,0 @@ -diff --git a/tests/test_subprocesses.py b/tests/test_subprocesses.py -index adf029a..91f024e 100644 ---- a/tests/test_subprocesses.py -+++ b/tests/test_subprocesses.py -@@ -277,9 +277,9 @@ async def test_py39_arguments( - [sys.executable, "-c", "print('hello')"], - **{argname: argvalue_factory()}, - ) -- except ValueError as exc: -+ except TypeError as exc: - if ( -- "unexpected kwargs" in str(exc) -+ "unexpected keyword argument" in str(exc) - and anyio_backend_name == "asyncio" - and anyio_backend_options["loop_factory"] - and anyio_backend_options["loop_factory"].__module__ == "uvloop" View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-anyio/-/commit/4bff9ed3316fef3da6412fd71c95750f9cb0e5c4 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-anyio/-/commit/4bff9ed3316fef3da6412fd71c95750f9cb0e5c4 You're receiving this email because of your account on gitlab.archlinux.org.