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


Commits:
80c9f336 by Chih-Hsuan Yen at 2023-11-09T21:30:39+08:00
Backport a change to fix tests

python-klein 23.5.0-1 check() fails with python-hypothesis 6.88.3-1:

E   hypothesis.errors.FailedHealthCheck: The method 
FrozenHTTPMessageTestsMixIn.test_bodyAsFountFromFountTwice was called from 
multiple different executors. This may lead to flaky tests and nonreproducible 
errors when replaying from database.
E   See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for more 
information about this. If you want to disable just this health check, add 
HealthCheck.differing_executors to the suppress_health_check settings for this 
test.

Upstream is moving away from hypothesis, so the actual cause may not
matter.

See: https://github.com/twisted/klein/pull/586

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -15,8 +15,15 @@ depends=(python python-attrs python-hyperlink 
python-incremental
          python-constantly)
 makedepends=(python-setuptools)
 checkdepends=(python-hypothesis python-treq python-pytest)
-source=("https://github.com/twisted/klein/archive/$pkgver/klein-$pkgver.tar.gz";)
-sha512sums=('ebfd50989bec653cb0997d5d58cd9071e1bd1690566f1892ca3a04511dfe1a64dc790859d955d69aa1757f77f049278bd628025fc2b596d153b7208d3007f0bc')
+source=("https://github.com/twisted/klein/archive/$pkgver/klein-$pkgver.tar.gz";
+        
"$pkgname-pr586.patch"::"https://github.com/twisted/klein/commit/6d8f1dbacedf0aee85be307ac0e04537f2084f38.patch";)
+sha512sums=('ebfd50989bec653cb0997d5d58cd9071e1bd1690566f1892ca3a04511dfe1a64dc790859d955d69aa1757f77f049278bd628025fc2b596d153b7208d3007f0bc'
+            
'1eef3b5f973592f504cf2c6ca81448d61d3eda13df85bf2fef939ad3410bc25824a48c35493c7a6ee7a09c6ced17a12eb628b7f9b18666033c6672d6153d1940')
+
+prepare() {
+  cd klein-$pkgver
+  patch -Np1 -i ../$pkgname-pr586.patch
+}
 
 build() {
   cd klein-$pkgver



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-klein/-/commit/80c9f336eb82457adcc0a521630950189cccfff3

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


Reply via email to