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


Commits:
abc55dca by Chih-Hsuan Yen at 2023-12-30T12:39:23+08:00
Reapply "upgpkg: 4.2.0-1"

This reverts commit 4a43435be7b66da9df76f1a25e9c1e70bcbcc7b2.

python-fastapi is updated and unblocks anyio 4.x [1]

[1] 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-fastapi/-/commit/2a5b4e242fb543b1bc092fdc264606ae873c274e

- - - - -
cbb22c94 by Chih-Hsuan Yen at 2023-12-30T12:43:17+08:00
upgpkg: 4.2.0-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = python-anyio
        pkgdesc = High level compatibility layer for multiple asynchronous 
event loop implementations
-       pkgver = 4.0.0
+       pkgver = 4.2.0
        pkgrel = 1
        url = https://github.com/agronholm/anyio
        arch = any
@@ -24,7 +24,7 @@ pkgbase = python-anyio
        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
+       source = 
https://github.com/agronholm/anyio/archive/4.2.0/anyio-4.2.0.tar.gz
+       sha256sums = 
64e2b1158ace6fee6c990ab78ee79707c0dea3f7f833a9541cd6ad056802ff87
 
 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.2.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=('64e2b1158ace6fee6c990ab78ee79707c0dea3f7f833a9541cd6ad056802ff87')
 
 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/4a43435be7b66da9df76f1a25e9c1e70bcbcc7b2...cbb22c941e6fc75c999a9763af50f076c0834646

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


Reply via email to