Chih-Hsuan Yen pushed to branch main at Arch Linux / Packaging / Packages / python-anyio
Commits: bee6a70f by Chih-Hsuan Yen at 2023-11-09T22:02:32+08:00 Update to anyio 4.0.0 Pushed to [extra-staging] as anyio 4.x breaks python-fastapi. fastapi pins older starlette, while the latest starlette is required for anyio 4.x support. See: https://github.com/tiangolo/fastapi/pull/9636 - - - - - ee012283 by Chih-Hsuan Yen at 2023-11-09T22:06:16+08:00 upgpkg: 4.0.0-1 - - - - - 2 changed files: - + .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -0,0 +1,30 @@ +pkgbase = python-anyio + pkgdesc = High level compatibility layer for multiple asynchronous event loop implementations + pkgver = 4.0.0 + pkgrel = 1 + url = https://github.com/agronholm/anyio + arch = any + license = MIT + checkdepends = python-pytest + checkdepends = python-trustme + checkdepends = python-hypothesis + checkdepends = python-pytest-mock + checkdepends = python-psutil + makedepends = python-build + makedepends = python-installer + makedepends = python-setuptools + makedepends = python-setuptools-scm + makedepends = python-wheel + makedepends = python-uvloop + makedepends = python-trio + depends = python + depends = python-idna + depends = python-sniffio + optdepends = python-trio: trio backend + optdepends = python-outcome: trio backend + optdepends = python-uvloop: use uvloop for asyncio backend + optdepends = python-pytest: pytest plugin + source = https://github.com/agronholm/anyio/archive/4.0.0/anyio-4.0.0.tar.gz + sha256sums = 518a6f319b174b5b7de126ae983035d2205df4ef0f39eb23ac4139cbb1bf3c49 + +pkgname = python-anyio ===================================== PKGBUILD ===================================== @@ -2,9 +2,7 @@ pkgname=python-anyio # https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst -# UPDATE_BLOCKED: anyio 4.x breaks at least python-fastapi -# fastapi pins older starlette, while the latst starlette is required for anyio 4.x support https://github.com/tiangolo/fastapi/pull/9636 -pkgver=3.7.1 +pkgver=4.0.0 pkgrel=1 pkgdesc='High level compatibility layer for multiple asynchronous event loop implementations' arch=(any) @@ -21,7 +19,7 @@ optdepends=( 'python-pytest: pytest plugin' ) source=(https://github.com/agronholm/anyio/archive/$pkgver/anyio-$pkgver.tar.gz) -sha256sums=('aa8ed0d799e61b61f7888e13668d36b467e3368129e8efa92bbf62a9cf063f84') +sha256sums=('518a6f319b174b5b7de126ae983035d2205df4ef0f39eb23ac4139cbb1bf3c49') export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver @@ -29,9 +27,6 @@ prepare() { cd anyio-$pkgver # Remove "error" from pytest filterwarnings sed -i '/"error"/d' pyproject.toml - # XXX: Temporarily remove testing trio as a backend. anyio 3.x is known to be incompatible with trio >= 0.22 - # https://github.com/agronholm/anyio/commit/787cb0c2e53c2a3307873d202fbd49dc5eac4e96 - sed -i '/"trio"/d' tests/conftest.py } build() { View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-anyio/-/compare/81bf7f2f8c1ae30477ef4b8bfe9007ea223317a4...ee012283f98c2f91deb9401f807bb997225bfa6d -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-anyio/-/compare/81bf7f2f8c1ae30477ef4b8bfe9007ea223317a4...ee012283f98c2f91deb9401f807bb997225bfa6d You're receiving this email because of your account on gitlab.archlinux.org.
