File tree Expand file tree Collapse file tree 3 files changed +29
-15
lines changed
graalpython/lib-graalpython/patches/lxml Expand file tree Collapse file tree 3 files changed +29
-15
lines changed Original file line number Diff line number Diff line change @@ -20,18 +20,3 @@ index 6758914..288d09e 100644
20
20
OPTION_WITH_CYTHON_GDB = has_option('cython-gdb')
21
21
OPTION_WITH_REFNANNY = has_option('with-refnanny')
22
22
OPTION_WITH_COVERAGE = has_option('with-coverage')
23
- diff --git a/src/lxml/etree.c b/src/lxml/etree.c
24
- index 28ad548..cb066dc 100644
25
- --- a/src/lxml/etree.c
26
- +++ b/src/lxml/etree.c
27
- @@ -49931,6 +49931,10 @@ static void __pyx_f_4lxml_5etree__receiveGenericError(void *__pyx_v_c_log_handle
28
- * c_text = c_str # msg == "%s..."
29
- */
30
- __pyx_v_c_str = va_charptr(__pyx_v_args);
31
- + /* XXX GraalVM change: Sulong doesn't support varargs in a native callback */
32
- + if (__pyx_v_c_str == NULL) {
33
- + __pyx_v_c_str = "<unknown>";
34
- + }
35
-
36
- /* "src/lxml/xmlerror.pxi":724
37
- * format_count += 1
Original file line number Diff line number Diff line change
1
+ diff --git a/pyproject.toml b/pyproject.toml
2
+ index 2c463d7..31010c2 100644
3
+ --- a/pyproject.toml
4
+ +++ b/pyproject.toml
5
+ @@ -1,5 +1,6 @@
6
+ [build-system]
7
+ requires = ["Cython>=3.0.11", "setuptools", "wheel"]
8
+ + build-backend = "setuptools.build_meta:__legacy__"
9
+
10
+ [tool.cibuildwheel]
11
+ build-verbosity = 2
12
+ diff --git a/setupinfo.py b/setupinfo.py
13
+ index 97e3399..9079171 100644
14
+ --- a/setupinfo.py
15
+ +++ b/setupinfo.py
16
+ @@ -563,7 +563,7 @@ OPTION_WITH_UNICODE_STRINGS = has_option('with-unicode-strings')
17
+ OPTION_WITHOUT_ASSERT = has_option('without-assert')
18
+ OPTION_WITHOUT_THREADING = has_option('without-threading')
19
+ OPTION_WITHOUT_CYTHON = has_option('without-cython')
20
+ - OPTION_WITH_CYTHON = has_option('with-cython')
21
+ + OPTION_WITH_CYTHON = True
22
+ OPTION_WITH_CYTHON_GDB = has_option('cython-gdb')
23
+ OPTION_WITH_REFNANNY = has_option('with-refnanny')
24
+ OPTION_WITH_COVERAGE = has_option('with-coverage')
Original file line number Diff line number Diff line change
1
+ [[rules ]]
2
+ version = ' == 5.3.0'
3
+ patch = ' lxml-5.3.0.patch'
4
+ license = ' BSD-3-Clause'
5
+
1
6
[[rules ]]
2
7
version = ' == 4.9.1'
3
8
patch = ' lxml-4.9.1.patch'
You can’t perform that action at this time.
0 commit comments