15
0

- 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)
  * Add etree.py module with a safe XML parser (ported from xmlschema)
  * Fix wildcard selection of attributes (issue #35)
  * Add other XSD builtin atomic types
  * Integrate pull requests and fix bug on predicate selector

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-elementpath?expand=0&rev=39
This commit is contained in:
2024-04-02 09:47:42 +00:00
committed by Git OBS Bridge
parent 45e20ace8b
commit 75cee8b417
4 changed files with 30 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-elementpath
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# 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}
Name: python-elementpath
Version: 4.1.5
Version: 4.4.0
Release: 0
Summary: XPath 1.0/20 parsers and selectors for ElementTree and lxml
License: MIT
URL: https://github.com/sissaschool/elementpath
Source: https://github.com/sissaschool/elementpath/archive/v%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}