[arch-commits] Commit in python-anyio/trunk (PKGBUILD)

Chih-Hsuan Yen yan12125 at gemini.archlinux.org
Fri Sep 17 04:03:56 UTC 2021


    Date: Friday, September 17, 2021 @ 04:03:55
  Author: yan12125
Revision: 1016736

python-anyio: drop out-dated hack

community/python-pytest-mock is updated! [1]

[1] https://github.com/archlinux/svntogit-community/commit/bd4893695e7ed561a45505b8b892d230147e5b90

Modified:
  python-anyio/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ------
 1 file changed, 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-09-17 00:20:27 UTC (rev 1016735)
+++ PKGBUILD	2021-09-17 04:03:55 UTC (rev 1016736)
@@ -25,12 +25,6 @@
 
 prepare() {
   cd anyio-$pkgver
-  # pytest-mock 3.3 comes with an API change [1], and anyio uses the new API,
-  # while python-pytest-mock in Arch is out-dated. Patch the sources to use
-  # the old API.
-  # [1] https://github.com/pytest-dev/pytest-mock/issues/202
-  sed -i 's#MockerFixture#MockFixture#' tests/test_eventloop.py
-
   # Work around https://bugs.python.org/issue45097
   patch -Np1 -i ../bpo-45097.diff
 }



More information about the arch-commits mailing list