Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/webassets/files/
Date: Sat, 27 Feb 2021 22:03:05
Message-Id: 1614463364.53bc14e7171b7c46a9a41efd2c224385863bb0cd.sam@gentoo
1 commit: 53bc14e7171b7c46a9a41efd2c224385863bb0cd
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 27 22:02:44 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 27 22:02:44 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53bc14e7
7
8 dev-python/webassets: add patch for Python 3.9
9
10 Fixes: 7c0c3f3e597b1926f0c7378010b77b5b335f160a
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 .../webassets/files/webassets-2.0-python39.patch | 23 ++++++++++++++++++++++
14 1 file changed, 23 insertions(+)
15
16 diff --git a/dev-python/webassets/files/webassets-2.0-python39.patch b/dev-python/webassets/files/webassets-2.0-python39.patch
17 new file mode 100644
18 index 00000000000..006c020469f
19 --- /dev/null
20 +++ b/dev-python/webassets/files/webassets-2.0-python39.patch
21 @@ -0,0 +1,23 @@
22 +https://github.com/miracle2k/webassets/commit/a563935df6702ff5e38e5b84a262c295e4cdf455.patch
23 +From a563935df6702ff5e38e5b84a262c295e4cdf455 Mon Sep 17 00:00:00 2001
24 +From: Karthikeyan Singaravelan <tir.karthi@×××××.com>
25 +Date: Wed, 22 Jan 2020 00:49:31 +0530
26 +Subject: [PATCH] Use is_alive instead of isAlive for Python 3.9 compatibility.
27 +
28 +---
29 + tests/test_script.py | 2 +-
30 + 1 file changed, 1 insertion(+), 1 deletion(-)
31 +
32 +diff --git a/tests/test_script.py b/tests/test_script.py
33 +index a83bc07f..d17a83bb 100644
34 +--- a/tests/test_script.py
35 ++++ b/tests/test_script.py
36 +@@ -192,7 +192,7 @@ def start_watching(self):
37 +
38 + def stop_watching(self):
39 + """Stop the watch command thread."""
40 +- assert self.t.isAlive() # If it has already ended, something is wrong
41 ++ assert self.t.is_alive() # If it has already ended, something is wrong
42 + self.stopped = True
43 + self.t.join(1)
44 +