Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
1a6b38d8
"main/git@gitlab.alpinelinux.org:TBK/aports.git" did not exist on "042d94c4e91008067052d4f9601d4b76af80e2d1"
Commit
1a6b38d8
authored
1 month ago
by
Francesco Colista
Browse files
Options
Downloads
Patches
Plain Diff
main/py3-lxml: upgrade to 5.3.1
parent
19bd1689
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
main/py3-lxml/APKBUILD
+2
-4
2 additions, 4 deletions
main/py3-lxml/APKBUILD
main/py3-lxml/tests-fix-encoding-name.patch
+0
-17
0 additions, 17 deletions
main/py3-lxml/tests-fix-encoding-name.patch
with
2 additions
and
21 deletions
main/py3-lxml/APKBUILD
+
2
−
4
View file @
1a6b38d8
...
...
@@ -3,7 +3,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname
=
py3-lxml
_pkgname
=
lxml
pkgver
=
5.3.
0
pkgver
=
5.3.
1
pkgrel
=
0
pkgdesc
=
"Python3 LXML Library"
url
=
"https://lxml.de/"
...
...
@@ -22,7 +22,6 @@ checkdepends="py3-html5lib"
subpackages
=
"
$pkgname
-pyc"
source
=
"https://files.pythonhosted.org/packages/source/
${
_pkgname
:0:1
}
/
$_pkgname
/
$_pkgname
-
$pkgver
.tar.gz
libxml-2.11.0.patch
tests-fix-encoding-name.patch
"
builddir
=
"
$srcdir
/
$_pkgname
-
$pkgver
"
...
...
@@ -57,7 +56,6 @@ package() {
}
sha512sums
=
"
7
f8a3717645893bc6f790cc9adfb8fdab91c352dc4dc23c0ccb4af9a0d138acf9ef5054e9786af497955f10079e9242dbd63ea9ac39c33bfd71ca2fe4ef4a7c0
lxml-5.3.
0
.tar.gz
7
bd8828d94d0d5e453877962cf9c332e38d4db289d6d962decabeca7ee8c73a9bfa8c9f315f5ee2e224f0b80022d718fb0e20ab62664c4471bd41611f16da18c
lxml-5.3.
1
.tar.gz
6436f87042563bb3a08bd7d0216fdb284d639b1a72fde77dce75d7c3e63f4f18ba115df9540fe4298f558df53f9dbfbd781374138544e8e5d9cb5ca5928f343c libxml-2.11.0.patch
9adaadb7f082557555f9db5f923bb764f0c9d255a9010c0f1b5f5c67690e373b62e0f8418c37ccf13cf23f2f609623516ee87dc73602dea30d5547b6cd60f55e tests-fix-encoding-name.patch
"
This diff is collapsed.
Click to expand it.
main/py3-lxml/tests-fix-encoding-name.patch
deleted
100644 → 0
+
0
−
17
View file @
19bd1689
diff --git a/src/lxml/tests/test_incremental_xmlfile.py b/src/lxml/tests/test_incremental_xmlfile.py
index 3162155..43b79d7 100644
--- a/src/lxml/tests/test_incremental_xmlfile.py
+++ b/src/lxml/tests/test_incremental_xmlfile.py
@@ -177,10 +177,10 @@
class _XmlFileTestCaseBase(HelperTestCase):
'<test>Comments: <!-- text -->\nEntities: &amp;</test>')
def test_encoding(self):
- with etree.xmlfile(self._file, encoding='utf16') as xf:
+ with etree.xmlfile(self._file, encoding='utf-16') as xf:
with xf.element('test'):
xf.write('toast')
- self.assertXml('<test>toast</test>', encoding='utf16')
+ self.assertXml('<test>toast</test>', encoding='utf-16')
def test_buffering(self):
with etree.xmlfile(self._file, buffered=False) as xf:
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment