public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/webassets/files/
@ 2021-02-27 22:03 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2021-02-27 22:03 UTC (permalink / raw
  To: gentoo-commits

commit:     53bc14e7171b7c46a9a41efd2c224385863bb0cd
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 27 22:02:44 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb 27 22:02:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53bc14e7

dev-python/webassets: add patch for Python 3.9

Fixes: 7c0c3f3e597b1926f0c7378010b77b5b335f160a
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../webassets/files/webassets-2.0-python39.patch   | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/dev-python/webassets/files/webassets-2.0-python39.patch b/dev-python/webassets/files/webassets-2.0-python39.patch
new file mode 100644
index 00000000000..006c020469f
--- /dev/null
+++ b/dev-python/webassets/files/webassets-2.0-python39.patch
@@ -0,0 +1,23 @@
+https://github.com/miracle2k/webassets/commit/a563935df6702ff5e38e5b84a262c295e4cdf455.patch
+From a563935df6702ff5e38e5b84a262c295e4cdf455 Mon Sep 17 00:00:00 2001
+From: Karthikeyan Singaravelan <tir.karthi@gmail.com>
+Date: Wed, 22 Jan 2020 00:49:31 +0530
+Subject: [PATCH] Use is_alive instead of isAlive for Python 3.9 compatibility.
+
+---
+ tests/test_script.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/test_script.py b/tests/test_script.py
+index a83bc07f..d17a83bb 100644
+--- a/tests/test_script.py
++++ b/tests/test_script.py
+@@ -192,7 +192,7 @@ def start_watching(self):
+ 
+     def stop_watching(self):
+         """Stop the watch command thread."""
+-        assert self.t.isAlive() # If it has already ended, something is wrong
++        assert self.t.is_alive() # If it has already ended, something is wrong
+         self.stopped = True
+         self.t.join(1)
+ 


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-27 22:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-27 22:03 [gentoo-commits] repo/gentoo:master commit in: dev-python/webassets/files/ Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox