Compare commits

1 Commits
1.1 ... main

4 changed files with 84 additions and 11 deletions

View File

@@ -1,3 +1,77 @@
-------------------------------------------------------------------
Wed Mar 19 07:53:13 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 4.8.0
* Add full PSVI type labeling in XDM to solve type errors
with XSD 1.1 assertions
* Add *schema* optional argument to dynamic context
* Add a RootToken as a proxy of the parsed token tree for
compatibility with xmlschema<=3.4.3
* Extend XDM to split ElementTree/lxml processing from
schema nodes and to allow future extensions
-------------------------------------------------------------------
Thu Jan 23 11:40:57 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 4.7.0
* Fix fragment argument usage (issue #81)
* Fix constructors nud() to skip argument check
with XP31+ arrow operator (issue #83)
-------------------------------------------------------------------
Mon Oct 28 11:35:48 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 4.6.0:
* Fix XsdAttributeGroupProtocol
* Improve Unicode support with installable UnicodeData.txt
versions
* Extend names disambiguation with a fix for issue #78
* Refactor tree builders to fix document position of tails
(issue #79)
* Fix and clean node trees iteration methods (issue #72)
* Fix missing raw string for '[^rn]' (pull request #76)
* Full and more specific type annotations
-------------------------------------------------------------------
Tue Apr 2 09:45:18 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 4.4.0:
* Improve stand-alone XPath functions builder (issue #70)
* Update tokens and parsers __repr__
* Fix static typing protocols to work with etree and XSD elements
* Change the purpose of the evaluation with a dynamic schema
context
* Add a tox.ini testenv with Python 3.13 pre-releases
* Fix dynamic context initialization with lxml a non-root element
(issue #71)
* Fix XP30+ function fn:function-lookup
* Fix XP30+ fn:unparsed-text, fn:unparsed-text-lines and
fn:unparsed-text-available
* Drop support for Python 3.7
* Add *uri* and *fragment* options to dynamic context
* Make context root node not mandatory (issue #63)
* Add function objects constructor (issue #70)
-------------------------------------------------------------------
Wed Aug 9 07:43:31 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 4.1.5:
* Fix typed value of ElementNode() if self.elem.text is None
-------------------------------------------------------------------
Sat Jul 1 20:32:48 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 4.1.4:
* Fix select of prefixed names
* Fix zero length *xs:base64Binary*
-------------------------------------------------------------------
Sun Jun 25 18:47:08 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 4.1.3:
* Fix XP30+ fn:path
* Fix weak tests
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 12 05:56:30 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com> Fri May 12 05:56:30 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
@@ -41,7 +115,7 @@ Tue Sep 27 19:18:01 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
* Add support for Python 3.11 * Add support for Python 3.11
- update to v3.0.0 (2022-07-16) - update to v3.0.0 (2022-07-16)
* Transition to full XPath node implementation (more memory usage but better control and overall faster) * Transition to full XPath node implementation (more memory usage but better control and overall faster)
* Add etree.py module with a safe XML parser (ported from xmlschema) * Add etree.py module with a safe XML parser (ported from xmlschema)
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jun 4 14:00:38 UTC 2022 - Dirk Müller <dmueller@suse.com> Sat Jun 4 14:00:38 UTC 2022 - Dirk Müller <dmueller@suse.com>
@@ -95,7 +169,7 @@ Tue May 18 21:45:12 UTC 2021 - Dirk Müller <dmueller@suse.com>
* Resolve ambiguities with operators and statements that are also names * Resolve ambiguities with operators and statements that are also names
* Merge with XPath 3.0/3.1 develop (to be completed) * Merge with XPath 3.0/3.1 develop (to be completed)
* Add tests and apply small fixes to TDOP parser * Add tests and apply small fixes to TDOP parser
* Fix wildcard selection of attributes (issue #35) * Fix wildcard selection of attributes (issue #35)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 1 22:10:01 UTC 2021 - Dirk Müller <dmueller@suse.com> Mon Feb 1 22:10:01 UTC 2021 - Dirk Müller <dmueller@suse.com>
@@ -131,7 +205,7 @@ Wed Oct 7 04:05:09 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
* Hotfix for issue #30 * Hotfix for issue #30
* Extensive testing with W3C XPath 2.0 tests (~98% passed) * Extensive testing with W3C XPath 2.0 tests (~98% passed)
* Split context variables from in-scope variables (types) * Split context variables from in-scope variables (types)
* Add other XSD builtin atomic types * Add other XSD builtin atomic types
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 24 03:51:04 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com> Wed Jun 24 03:51:04 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
@@ -140,7 +214,7 @@ Wed Jun 24 03:51:04 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
* Fix XPathContext to let the subclasses replace the XPath nodes iterator function * Fix XPathContext to let the subclasses replace the XPath nodes iterator function
* Fix tokenizer and parsers for ambiguities between symbols and names * Fix tokenizer and parsers for ambiguities between symbols and names
* Improve XPath context and axes processing * Improve XPath context and axes processing
* Integrate pull requests and fix bug on predicate selector * Integrate pull requests and fix bug on predicate selector
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Apr 6 08:06:45 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com> Mon Apr 6 08:06:45 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-elementpath # spec file for package python-elementpath
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,16 +16,15 @@
# #
%define skip_python2 1
%define skip_python36 1
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-elementpath Name: python-elementpath
Version: 4.1.2 Version: 4.8.0
Release: 0 Release: 0
Summary: XPath 1.0/20 parsers and selectors for ElementTree and lxml Summary: XPath 1.0/20 parsers and selectors for ElementTree and lxml
License: MIT License: MIT
URL: https://github.com/sissaschool/elementpath URL: https://github.com/sissaschool/elementpath
Source: https://github.com/sissaschool/elementpath/archive/v%{version}.tar.gz Source: https://github.com/sissaschool/elementpath/archive/v%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module lxml} BuildRequires: %{python_module lxml}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}

BIN
v4.1.2.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
v4.8.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.