Skip to content
Snippets Groups Projects
Commit 943dfe79 authored by omni's avatar omni Committed by J0WI
Browse files

main/py3-elementpath: upgrade to 4.4.0

- update test deselection
parent 495a3427
No related branches found
No related tags found
1 merge request!64083main/py3-elementpath: upgrade to 4.4.0
Pipeline #228231 skipped
# Contributor: Aiden Grossman <agrossman154@yahoo.com> # Contributor: Aiden Grossman <agrossman154@yahoo.com>
# Maintainer: Aiden Grossman <agrossman154@yahoo.com> # Maintainer: Aiden Grossman <agrossman154@yahoo.com>
pkgname=py3-elementpath pkgname=py3-elementpath
pkgver=4.1.5 pkgver=4.4.0
pkgrel=2 pkgrel=0
pkgdesc="XPath 1.0/2.0 parsers and selectors for ElementTree and lxml" pkgdesc="XPath 1.0/2.0 parsers and selectors for ElementTree and lxml"
url="https://github.com/sissaschool/elementpath" url="https://github.com/sissaschool/elementpath"
arch="noarch" arch="noarch"
...@@ -22,19 +22,16 @@ build() { ...@@ -22,19 +22,16 @@ build() {
check() { check() {
python3 -m venv --clear --without-pip --system-site-packages .testenv python3 -m venv --clear --without-pip --system-site-packages .testenv
.testenv/bin/python3 -m installer .dist/*.whl .testenv/bin/python3 -m installer .dist/*.whl
# first four disabled tests fails on locale differences # first: AssertionError: ElementPathError not raised
# Rest of the tests need more investigation, started with upgrade to 4.1.0 # rest: AssertionError: First sequence is not a list: -1
.testenv/bin/python3 -m pytest \ .testenv/bin/python3 -m pytest \
--ignore=tests/test_sequence_types.py \
--deselect tests/test_xpath2_functions.py::XPath2FunctionsTest::test_compare_function \
--deselect tests/test_xpath30.py::XPath30FunctionsTest::test_compare_function \
--deselect tests/test_xpath31.py::XPath31FunctionsTest::test_compare_function \
--deselect tests/test_collations.py::CollationsTest::test_context_activation \ --deselect tests/test_collations.py::CollationsTest::test_context_activation \
--deselect tests/test_xpath2_functions.py::XPath2FunctionsTest::test_compare_function \
--deselect tests/test_xpath2_functions.py::LxmlXPath2FunctionsTest::test_compare_function \ --deselect tests/test_xpath2_functions.py::LxmlXPath2FunctionsTest::test_compare_function \
--deselect tests/test_xpath30.py::XPath30FunctionsTest::test_compare_function \
--deselect tests/test_xpath30.py::LxmlXPath30FunctionsTest::test_compare_function \ --deselect tests/test_xpath30.py::LxmlXPath30FunctionsTest::test_compare_function \
--deselect tests/test_xpath31.py::LxmlXPath31FunctionsTest::test_compare_function \ --deselect tests/test_xpath31.py::XPath31FunctionsTest::test_compare_function \
--deselect tests/test_validators.py::ValidatorsTest::test_validate_analyzed_string \ --deselect tests/test_xpath31.py::LxmlXPath31FunctionsTest::test_compare_function
--deselect tests/test_validators.py::ValidatorsTest::test_validate_json_to_xml
} }
package() { package() {
...@@ -43,5 +40,5 @@ package() { ...@@ -43,5 +40,5 @@ package() {
} }
sha512sums=" sha512sums="
29989210238aacdf111cba49d09488254a6bd479b381e57699c8d1eca8ec21badf666744402aae891210142ce56cfce66b55bf372e5de8b7b48a45bed46b0cf3 py3-elementpath-4.1.5.tar.gz 8171cb004dba68d84dd26a9ac5e8feeb9cc87eb518cc232b3128dadd7ad92840903fe2d02eb4428e4e4df7590bf6c68bdae180ad678bccb969686875b0a84ae1 py3-elementpath-4.4.0.tar.gz
" "
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment