forked from pool/python-elementpath
Accepting request 1086658 from devel:languages:python
- Remove BuildRequire xmlschema to avoid dependency cycle - Update to 4.1.2: * Add support for Python 3.12 * Fix self shortcut operator (adding is_schema_node() to node classes) - 4.1.1: * Simplify type annotations for XSD datatypes * Full test coverage of sequence type functions with bugfixes - 4.1.0: * Refactor XPath function call (context=None only as keyword argument) * Add external function support (issue #60) * Some fixes to string representation and source property of tokens * Extend documentation and tests * Clean XSD datatypes hierarchy - 4.0.1: * Fix packaging: include py.typed in package data * Revert to comparison between xs:QName instances and strings * Fix atomization with XSD typed data (list types have to be atomized) - 4.0.0: * First XPath 3.1 implementation (without UCA collation support) OBS-URL: https://build.opensuse.org/request/show/1086658 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-elementpath?expand=0&rev=16
This commit is contained in:
@@ -1,3 +1,30 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 12 05:56:30 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Remove BuildRequire xmlschema to avoid dependency cycle
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 10 09:18:23 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Update to 4.1.2:
|
||||
* Add support for Python 3.12
|
||||
* Fix self shortcut operator (adding is_schema_node() to node classes)
|
||||
- 4.1.1:
|
||||
* Simplify type annotations for XSD datatypes
|
||||
* Full test coverage of sequence type functions with bugfixes
|
||||
- 4.1.0:
|
||||
* Refactor XPath function call (context=None only as keyword argument)
|
||||
* Add external function support (issue #60)
|
||||
* Some fixes to string representation and source property of tokens
|
||||
* Extend documentation and tests
|
||||
* Clean XSD datatypes hierarchy
|
||||
- 4.0.1:
|
||||
* Fix packaging: include py.typed in package data
|
||||
* Revert to comparison between xs:QName instances and strings
|
||||
* Fix atomization with XSD typed data (list types have to be atomized)
|
||||
- 4.0.0:
|
||||
* First XPath 3.1 implementation (without UCA collation support)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:24:39 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -16,12 +16,11 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%define skip_python36 1
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-elementpath
|
||||
Version: 3.0.2
|
||||
Version: 4.1.2
|
||||
Release: 0
|
||||
Summary: XPath 1.0/20 parsers and selectors for ElementTree and lxml
|
||||
License: MIT
|
||||
@@ -54,12 +53,19 @@ rm tests/test_schema_proxy.py
|
||||
|
||||
%check
|
||||
# test_compare_strings_function depends on LOCALE to produce proper results
|
||||
donttest="test_compare_strings_function"
|
||||
# test_hashing is arch specific and overflows on 32bit platforms
|
||||
%pytest -k 'not test_compare_strings_function and not test_hashing'
|
||||
donttest+=" or test_hashing"
|
||||
# tests that depends on xmlschema so ignore it to
|
||||
# avoid dependency cycle
|
||||
donttest+=" or test_validate_analyzed_string"
|
||||
donttest+=" or test_validate_json_to_xml"
|
||||
%pytest -k "not ($donttest)"
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGELOG.rst README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/elementpath
|
||||
%{python_sitelib}/elementpath-%{version}*-info
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fe2e600da741c51253fb480e97ab6d8bc86f1619743638877737853d91ba2e36
|
||||
size 275843
|
||||
BIN
v4.1.2.tar.gz
LFS
Normal file
BIN
v4.1.2.tar.gz
LFS
Normal file
Binary file not shown.
Reference in New Issue
Block a user