Chih-Hsuan Yen pushed to branch main at Arch Linux / Packaging / Packages / 
python-anyio


Commits:
4a43435b by Chih-Hsuan Yen at 2023-12-28T23:24:27+08:00
Revert "upgpkg: 4.2.0-1"

This reverts commit f9440421dfdb9933dd9a6d630624a0114c78304d.

This was an accidental push. 4.x should not be on main branch until all
packages are compatible.

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -2,7 +2,9 @@
 
 pkgname=python-anyio
 # https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst
-pkgver=4.2.0
+# 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
 pkgrel=1
 pkgdesc='High level compatibility layer for multiple asynchronous event loop 
implementations'
 arch=(any)
@@ -19,7 +21,7 @@ optdepends=(
   'python-pytest: pytest plugin'
 )
 
source=(https://github.com/agronholm/anyio/archive/$pkgver/anyio-$pkgver.tar.gz)
-sha256sums=('64e2b1158ace6fee6c990ab78ee79707c0dea3f7f833a9541cd6ad056802ff87')
+sha256sums=('aa8ed0d799e61b61f7888e13668d36b467e3368129e8efa92bbf62a9cf063f84')
 
 export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver
 
@@ -27,6 +29,9 @@ 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/-/commit/4a43435be7b66da9df76f1a25e9c1e70bcbcc7b2

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-anyio/-/commit/4a43435be7b66da9df76f1a25e9c1e70bcbcc7b2
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to