Compare commits
63 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
11da0f3a63 | ||
|
|
b2351e3e34 | ||
|
|
1fd88c3632 | ||
|
|
86d492aea6 | ||
|
|
d4c3d0bb6c | ||
|
|
cd4ee3066f | ||
|
|
adc8d24589 | ||
|
|
544488770a | ||
|
|
6df45dce8b | ||
|
|
b9a077ae03 | ||
|
|
b928096276 | ||
|
|
c1103ff3c3 | ||
|
|
f75dd54e14 | ||
|
|
b52ea727c7 | ||
|
|
afcfecf47d | ||
|
|
61d79bae8d | ||
|
|
27c594a8e2 | ||
|
|
58ac417c3e | ||
|
|
39e20da595 | ||
|
|
9579799168 | ||
|
|
dbf7e6096c | ||
|
|
85c8c3f227 | ||
|
|
23cd3c2e48 | ||
|
|
0f51029568 | ||
|
|
009f7659b7 | ||
|
|
e38670104e | ||
|
|
3a10d475bb | ||
|
|
db11b56656 | ||
|
|
63254d5e35 | ||
|
|
e20963f4cf | ||
|
|
9fac0d5501 | ||
|
|
3b50336b27 | ||
|
|
55f5648cc5 | ||
|
|
9a245c1e0c | ||
|
|
79d3d026da | ||
|
|
4452ba9aa0 | ||
|
|
3c925c366d | ||
|
|
0e1ee829e6 | ||
|
|
1a4b58646c | ||
|
|
a1fda59562 | ||
|
|
4391bca196 | ||
|
|
9d95f5a04e | ||
|
|
af2ab59687 | ||
|
|
e3db9bc24a | ||
|
|
26d49d1f7e | ||
|
|
1c38e85b1f | ||
|
|
7b1e5f9aab | ||
|
|
9c1438f59e | ||
|
|
8cd3405121 | ||
|
|
0a54307e77 | ||
|
|
eb057e7afa | ||
|
|
e45c54553a | ||
|
|
e79be2c17a | ||
|
|
e82cceb573 | ||
|
|
d8ab550c3c | ||
|
|
6659c59618 | ||
|
|
f7a9cbe29f | ||
|
|
36529bc549 | ||
|
|
d714fa326e | ||
|
|
343c16cba5 | ||
|
|
68133020f5 | ||
|
|
eb5a8db088 | ||
|
|
27eebecb4d |
11 changed files with 1775 additions and 1624 deletions
1
.fmf/version
Normal file
1
.fmf/version
Normal file
|
|
@ -0,0 +1 @@
|
|||
1
|
||||
17
.gitignore
vendored
17
.gitignore
vendored
|
|
@ -56,3 +56,20 @@ lxml-2.2.7.tar.gz.asc
|
|||
/lxml-4.5.1.tgz
|
||||
/lxml-4.6.2.tar.gz
|
||||
/lxml-4.6.3.tar.gz
|
||||
/lxml-4.7.1.tar.gz
|
||||
/lxml-4.9.1.tar.gz
|
||||
/lxml-4.9.2.tar.gz
|
||||
/lxml-4.9.2-no-isoschematron.tar.gz
|
||||
/lxml-4.9.2-no-isoschematron-rng.tar.gz
|
||||
/lxml-4.9.3-no-isoschematron-rng.tar.gz
|
||||
/lxml-4.9.4-no-isoschematron-rng.tar.gz
|
||||
/lxml-5.1.0-no-isoschematron-rng.tar.gz
|
||||
/lxml-5.2.0-no-isoschematron-rng.tar.gz
|
||||
/lxml-5.2.1-no-isoschematron-rng.tar.gz
|
||||
/lxml-5.3.0-no-isoschematron-rng.tar.gz
|
||||
/lxml-5.3.1-no-isoschematron-rng.tar.gz
|
||||
/lxml-5.3.2-no-isoschematron-rng.tar.gz
|
||||
/lxml-5.4.0-no-isoschematron-rng.tar.gz
|
||||
/lxml-6.0.0-no-isoschematron-rng.tar.gz
|
||||
/lxml-6.0.1-no-isoschematron-rng.tar.gz
|
||||
/lxml-6.0.2-no-isoschematron-rng.tar.gz
|
||||
|
|
|
|||
|
|
@ -1,25 +0,0 @@
|
|||
From 852ed1092bd80b6b9a51db24371047ec88843031 Mon Sep 17 00:00:00 2001
|
||||
From: Stefan Behnel <stefan_ml@behnel.de>
|
||||
Date: Tue, 18 May 2021 22:02:02 +0200
|
||||
Subject: [PATCH] Adapt a test to a behavioural change in libxml2 2.9.11+.
|
||||
|
||||
---
|
||||
src/lxml/tests/test_etree.py | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/lxml/tests/test_etree.py b/src/lxml/tests/test_etree.py
|
||||
index 9cf70604b..42613dcbe 100644
|
||||
--- a/src/lxml/tests/test_etree.py
|
||||
+++ b/src/lxml/tests/test_etree.py
|
||||
@@ -3036,7 +3036,10 @@ def test_subelement_nsmap(self):
|
||||
def test_html_prefix_nsmap(self):
|
||||
etree = self.etree
|
||||
el = etree.HTML('<hha:page-description>aa</hha:page-description>').find('.//page-description')
|
||||
- self.assertEqual({'hha': None}, el.nsmap)
|
||||
+ if etree.LIBXML_VERSION < (2, 9, 11):
|
||||
+ self.assertEqual({'hha': None}, el.nsmap)
|
||||
+ else:
|
||||
+ self.assertEqual({}, el.nsmap)
|
||||
|
||||
def test_getchildren(self):
|
||||
Element = self.etree.Element
|
||||
1
ci.fmf
Normal file
1
ci.fmf
Normal file
|
|
@ -0,0 +1 @@
|
|||
resultsdb-testcase: separate
|
||||
8
gating.yaml
Normal file
8
gating.yaml
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
--- !Policy
|
||||
product_versions:
|
||||
- fedora-*
|
||||
decision_contexts:
|
||||
- bodhi_update_push_testing
|
||||
- bodhi_update_push_stable
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/smoke.functional}
|
||||
28
get-lxml-source.sh
Executable file
28
get-lxml-source.sh
Executable file
|
|
@ -0,0 +1,28 @@
|
|||
#! /bin/bash -ex
|
||||
|
||||
# Download a release of lxml (if missing) and remove the isoschematron module from it
|
||||
|
||||
version=$1
|
||||
|
||||
if [ -z "${version}" ]; then
|
||||
echo "Usage: $0 VERSION" >& 2
|
||||
echo "" >& 2
|
||||
echo "example: $0 4.9.2" >& 2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
versionedname=lxml-${version}
|
||||
orig_archive=${versionedname}.tar.gz
|
||||
new_archive=${versionedname}-no-isoschematron-rng.tar.gz
|
||||
|
||||
if [ ! -e ${orig_archive} ]; then
|
||||
wget -N https://files.pythonhosted.org/packages/source/l/lxml/${orig_archive}
|
||||
fi
|
||||
|
||||
deleted_directory=lxml-${version}/src/lxml/isoschematron/resources/rng
|
||||
|
||||
# tar --delete does not operate on compressed archives, so do
|
||||
# gz decompression explicitly
|
||||
gzip --decompress ${orig_archive}
|
||||
tar -v --delete -f ${orig_archive//.gz} ${deleted_directory}
|
||||
gzip -cf ${orig_archive//.gz} > ${new_archive}
|
||||
7
plans/etree-fromstring.py
Normal file
7
plans/etree-fromstring.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import lxml.etree as et
|
||||
s = '<foo><bar baz="xyzzy">a<![CDATA[b]]>c</bar></foo>'
|
||||
x = et.fromstring(s)
|
||||
t = x.find('bar').text
|
||||
print(t)
|
||||
if t != 'abc':
|
||||
raise Exception()
|
||||
12
plans/smoke.fmf
Normal file
12
plans/smoke.fmf
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
summary: Basic smoke test
|
||||
discover:
|
||||
how: shell
|
||||
tests:
|
||||
- name: /smoke/import-python-module
|
||||
test: |
|
||||
python3 -c 'import importlib as il; print(il.import_module("lxml"))'
|
||||
- name: /smoke/etree-fromstring
|
||||
test: |
|
||||
python3 plans/etree-fromstring.py
|
||||
execute:
|
||||
how: tmt
|
||||
1656
python-lxml.spec
1656
python-lxml.spec
File diff suppressed because it is too large
Load diff
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (lxml-4.6.3.tar.gz) = 57489c42257afd00376886d6873c97088778afa8009fa644e2660722d134f346030218c24be6329ee828f73f5164cdd1dad583c17addbdf3e0c84e4d8ab9e176
|
||||
SHA512 (lxml-6.0.2-no-isoschematron-rng.tar.gz) = dc89f75c3a3c828a46bcb2eefbebe8f98ce8072b9fb66f8ef81edbf2babed74e4c54e26392603319d60ab3bfab6a4795eedc85b28efba815797d43d53aae4060
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue