summarylogtreecommitdiffstats
path: root/python310.patch
diff options
context:
space:
mode:
authorEvangelos Foutras2021-12-03 22:59:31 +0000
committerEvangelos Foutras2021-12-03 22:59:31 +0000
commit44e0de63dabd1997f7f937a1b152519a7cf5a587 (patch)
treec2f30f78485a0f7b243fe1504a93cae2f24d5f54 /python310.patch
parenta470b4800a130251beed76b35d0d6555465de095 (diff)
downloadaur-44e0de63dabd1997f7f937a1b152519a7cf5a587.tar.gz
fix an import for Python 3.10
Diffstat (limited to 'python310.patch')
-rw-r--r--python310.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/python310.patch b/python310.patch
new file mode 100644
index 000000000000..c8b5469cc1e0
--- /dev/null
+++ b/python310.patch
@@ -0,0 +1,13 @@
+diff -upr selectors2-2.0.2.orig/selectors2.py selectors2-2.0.2/selectors2.py
+--- selectors2-2.0.2.orig/selectors2.py 2020-07-22 01:37:48.000000000 +0300
++++ selectors2-2.0.2/selectors2.py 2021-12-04 00:57:54.254560632 +0200
+@@ -22,7 +22,8 @@
+ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ # SOFTWARE.
+
+-from collections import namedtuple, Mapping
++from collections import namedtuple
++from collections.abc import Mapping
+ import errno
+ import math
+ import platform