Created
October 16, 2022 17:05
-
-
Save dreirund/f36737536cb434e5ac450a5f0dc8f034 to your computer and use it in GitHub Desktop.
python-validictory fix for current python3: Change `collections` to `collections.abc` as import source for `Mapping` and `Container'.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r -U0 validictory-1.1.2.orig/validictory/validator.py validictory-1.1.2.new/validictory/validator.py | |
--- validictory-1.1.2.orig/validictory/validator.py 2017-12-01 19:55:23.000000000 +0100 | |
+++ validictory-1.1.2.new/validictory/validator.py 2022-10-16 18:58:59.969958053 +0200 | |
@@ -7 +7 @@ | |
-from collections import Mapping, Container | |
+from collections.abc import Mapping, Container |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fixes an issue in python-validictory for current python versions, see here for details.