14
0

- Update to 1.2.5:

- All W3C tests now run successful. Only W3C tests for
    unavailable features (XML 1.1) or unimplemented features
    (dynamic schema load) are still failing. This release requires
    elementpath v2.0.x.
  - The internal XML regular expressions parser has been moved to
    XPath package elementpath (v2.0.2+). From this release
    the regex patterns are parsed through elementpath's API
    translate_pattern().'

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmlschema?expand=0&rev=17
This commit is contained in:
2020-10-10 11:26:00 +00:00
committed by Git OBS Bridge
parent 1f23448376
commit 2f1d02ba8f
4 changed files with 19 additions and 5 deletions

View File

@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-xmlschema
Version: 1.2.2
Version: 1.2.5
Release: 0
Summary: An XML Schema validator and decoder
License: MIT
@@ -66,8 +66,9 @@ done
%check
# test_element_tree_import_script is (easily workaroundable) https://github.com/sissaschool/xmlschema/issues/167
# tests_factory setup is broken
# test_export_remote__issue_187 is gh#sissaschool/xmlschema#206
export LANG="en_US.UTF8"
%pytest -k "not (test_element_tree_import_script or tests_factory)" tests
%pytest -k "not (test_element_tree_import_script or tests_factory or test_export_remote__issue_187)" tests
%post
%python_install_alternative xmlschema-json2xml