From fb0765fb6a00111747beafb52166847481f6ba7d Mon Sep 17 00:00:00 2001 From: Chih-Hsuan Yen <yan12125@archlinux.org> Date: Thu, 30 Sep 2021 01:54:41 +0000 Subject: [PATCH] [1] [1] https://github.com/agronholm/anyio/commit/fdf3c9afd137917ff6de71b96c4753cd41c42ef7 --- PKGBUILD | 14 +++----------- bpo-45097.diff | 14 -------------- 2 files changed, 3 insertions(+), 25 deletions(-) delete mode 100644 bpo-45097.diff diff --git a/PKGBUILD b/PKGBUILD index 7a73adc..db36cbe 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=python-anyio # https://github.com/agronholm/anyio/blob/master/docs/versionhistory.rst -pkgver=3.3.1 +pkgver=3.3.2 pkgrel=1 pkgdesc='High level compatibility layer for multiple asynchronous event loop implementations' arch=(any) @@ -16,19 +16,11 @@ optdepends=( 'python-curio: curio backend' 'python-trio: trio backend' ) -source=(https://github.com/agronholm/anyio/archive/$pkgver/anyio-$pkgver.tar.gz - bpo-45097.diff) -sha256sums=('2f27663b77aa484ca85544f6701f7d6710e9cf4fbb23df0990c8447983aabb32' - 'ed0ad72f604697d247a2d74f5b4740fcda0fe478040fa6ff75120cd97d5985c8') +source=(https://github.com/agronholm/anyio/archive/$pkgver/anyio-$pkgver.tar.gz) +sha256sums=('6324b57392a1fef98fb612786cc6cf450b9aced05182e37bde4400f7b340c4cc') export SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver -prepare() { - cd anyio-$pkgver - # Work around https://bugs.python.org/issue45097 - patch -Np1 -i ../bpo-45097.diff -} - build() { cd anyio-$pkgver python setup.py build diff --git a/bpo-45097.diff b/bpo-45097.diff deleted file mode 100644 index 2ceba97..0000000 --- a/bpo-45097.diff +++ /dev/null @@ -1,14 +0,0 @@ -diff --git a/pyproject.toml b/pyproject.toml -index d6c4fa1..541290d 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -38,7 +38,8 @@ testpaths = ["tests"] - filterwarnings = [ - "error", - "ignore:unclosed <socket.socket.*:ResourceWarning", -- "ignore:unclosed transport <_ProactorSocketTransport.*:ResourceWarning" -+ "ignore:unclosed transport <_ProactorSocketTransport.*:ResourceWarning", -+ "ignore:The loop argument is deprecated.*:DeprecationWarning", - ] - markers = [ - "network: marks tests as requiring Internet access", -- GitLab