Skip to content

Commit 914fc99

Browse files
committed
Add patch for xmlschema
1 parent 9395b1e commit 914fc99

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

graalpython/lib-graalpython/patches/metadata.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -915,6 +915,13 @@ license = 'MIT'
915915
subdir = 'src'
916916
install-priority = 0
917917

918+
[[xmlschema.rules]]
919+
version = '>= 4.0.0, <= 4.0.1'
920+
# Submitted upstream, optimistically assuming it'll get merged before the next release
921+
install-priority = 0
922+
patch = 'xmlschema.patch'
923+
license = 'MIT'
924+
918925
[[zstandard.rules]]
919926
patch = 'zstandard.patch'
920927
license = 'BSD-3-Clause'
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/xmlschema/validators/builders.py b/xmlschema/validators/builders.py
2+
index 1ac8b8e..f39ada8 100644
3+
--- a/xmlschema/validators/builders.py
4+
+++ b/xmlschema/validators/builders.py
5+
@@ -8,7 +8,7 @@
6+
# @author Davide Brunato <[email protected]>
7+
#
8+
import copy
9+
-from _operator import itemgetter
10+
+from operator import itemgetter
11+
from abc import abstractmethod
12+
from collections import Counter
13+
from collections.abc import Callable, ItemsView, Iterator, Mapping, ValuesView, Iterable

0 commit comments

Comments
 (0)