Hello community,

here is the log from the commit of package python-xmlschema for 
openSUSE:Factory checked in at 2020-10-29 09:47:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-xmlschema (Old)
 and      /work/SRC/openSUSE:Factory/.python-xmlschema.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-xmlschema"

Thu Oct 29 09:47:19 2020 rev:9 rq:841053 version:1.2.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-xmlschema/python-xmlschema.changes        
2020-08-01 12:29:49.930381209 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-xmlschema.new.3463/python-xmlschema.changes  
    2020-10-29 09:47:23.176116482 +0100
@@ -1,0 +2,20 @@
+Sun Oct 11 16:18:52 UTC 2020 - Matej Cepl <mc...@suse.com>
+
+- Add skip_network_tests.patch to skip test
+  test_export_remote__issue_187 which fails without the network
+  connection (gh#sissaschool/xmlschema#206).
+
+-------------------------------------------------------------------
+Sat Oct 10 10:28:03 UTC 2020 - Matej Cepl <mc...@suse.com>
+
+- 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().'
+
+-------------------------------------------------------------------

Old:
----
  xmlschema-1.2.2.tar.gz

New:
----
  skip_network_tests.patch
  xmlschema-1.2.5.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-xmlschema.spec ++++++
--- /var/tmp/diff_new_pack.VgYfuT/_old  2020-10-29 09:47:23.836117106 +0100
+++ /var/tmp/diff_new_pack.VgYfuT/_new  2020-10-29 09:47:23.840117110 +0100
@@ -19,12 +19,15 @@
 %{?!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
 URL:            https://github.com/brunato/xmlschema
 Source:         
https://files.pythonhosted.org/packages/source/x/xmlschema/xmlschema-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM skip_network_tests.patch gh#sissaschool/xmlschema#206 
mc...@suse.com
+# Just skip test_export_remote__issue_187 test when not connected to the 
network.
+Patch0:         skip_network_tests.patch
 BuildRequires:  %{python_module elementpath >= 1.4.0}
 BuildRequires:  %{python_module lxml}
 BuildRequires:  %{python_module pytest}
@@ -43,7 +46,8 @@
 for Python.
 
 %prep
-%setup -q -n xmlschema-%{version}
+%autosetup -p1 -n xmlschema-%{version}
+
 # do not hardcode versions
 sed -i -e 's:~=:>=:' setup.py
 # do not bother with memory validation

++++++ skip_network_tests.patch ++++++
--- a/tests/validators/test_schema_class.py
+++ b/tests/validators/test_schema_class.py
@@ -261,6 +261,7 @@ class TestXMLSchema10(XsdValidatorTestCa
 
         self.assertFalse(os.path.isdir(dirname))
 
+    @unittest.skipIf(SKIP_REMOTE_TESTS, "Remote networks are not accessible.")
     def test_export_remote__issue_187(self):
         vh_schema_file = self.casepath('issues/issue_187/issue_187_2.xsd')
         vh_schema = self.schema_class(vh_schema_file)
++++++ xmlschema-1.2.2.tar.gz -> xmlschema-1.2.5.tar.gz ++++++
++++ 6554 lines of diff (skipped)


Reply via email to