Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-OWSLib for openSUSE:Factory 
checked in at 2021-04-21 20:59:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-OWSLib (Old)
 and      /work/SRC/openSUSE:Factory/.python-OWSLib.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-OWSLib"

Wed Apr 21 20:59:18 2021 rev:5 rq:887219 version:0.23.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-OWSLib/python-OWSLib.changes      
2021-01-25 18:23:36.952428374 +0100
+++ /work/SRC/openSUSE:Factory/.python-OWSLib.new.12324/python-OWSLib.changes   
2021-04-21 20:59:33.962217089 +0200
@@ -1,0 +2,29 @@
+Tue Apr 20 22:50:28 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- Disable python36 build: pyproj not available
+- Enable test suite (at least a part of it)
+
+-------------------------------------------------------------------
+Sat Feb 13 00:34:04 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- Update to version 0.23.0
+  * WMS: Handle empty <DataURL>.<Format> element in 
+    GetCapabilities (#739)
+  * WCS: Feature/wcs headers integration (#741)
+  * Tests: fix WFS tests (#743)
+  * Auth: Support requests AuthBase in addition to basic password 
+    authentication (#724)
+  * WCS: Fix bug with timeout not assigned (#738)
+  * Tests: restore ISO GM03 tests as pytests (#734)
+  * ISO: OWS/ISO metadata updates (#736)
+  * ISO: add support for ISO 19115 keyword thesaurus URLs via 
+    gmx:Anchor (#735)
+  * ISO: fix reference (#733)
+- Changes in 0.22.0
+  * Tests: Fix tests coveralls (#732)
+  * WCS, WFS: Add timeout to get capabilities (#730)
+  * Tests: migrate to GitHub actions (#727)
+  * ISO: add support for ISO 19115-2 (#726)
+- Fix malformed python_module line
+
+-------------------------------------------------------------------

Old:
----
  OWSLib-0.21.0.tar.gz

New:
----
  OWSLib-0.23.0-gh.tar.gz

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

Other differences:
------------------
++++++ python-OWSLib.spec ++++++
--- /var/tmp/diff_new_pack.ZxZkcQ/_old  2021-04-21 20:59:34.494217927 +0200
+++ /var/tmp/diff_new_pack.ZxZkcQ/_new  2021-04-21 20:59:34.502217939 +0200
@@ -21,22 +21,28 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define         oldpython python
 %define         skip_python2 1
+%define         skip_python36 1
 Name:           python-OWSLib
-Version:        0.21.0
+Version:        0.23.0
 Release:        0
 Summary:        Python interface to OGC Web Services
 License:        BSD-3-Clause
 Group:          Productivity/Scientific/Other
-URL:            http://geopython.github.com/OWSLib/
-Source:         
https://files.pythonhosted.org/packages/source/O/OWSLib/OWSLib-%{version}.tar.gz
-BuildRequires:  %{python_module devel} > 3.6
+URL:            http://geopython.github.io/OWSLib/
+# get the test suite form Github
+Source:         
https://github.com/geopython/OWSLib/archive/refs/tags/%{version}.tar.gz#/OWSLib-%{version}-gh.tar.gz
+BuildRequires:  %{python_module PyYAML}
+BuildRequires:  %{python_module pyproj >= 2}
+BuildRequires:  %{python_module python-dateutil >= 1.5}
+BuildRequires:  %{python_module pytz}
+BuildRequires:  %{python_module requests >= 1.0}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+Requires:       python-PyYAML
 Requires:       python-pyproj >= 2
 Requires:       python-python-dateutil >= 1.5
 Requires:       python-pytz
-Requires:       python-PyYAML
 Requires:       python-requests >= 1.0
 Provides:       python-owslib = %{version}
 Obsoletes:      python-owslib < %{version}
@@ -44,6 +50,9 @@
 Provides:       %{oldpython}-pymodis = %{version}
 Obsoletes:      %{oldpython}-pymodis < %{version}
 %endif
+# SECTION test requirements
+BuildRequires:  %{python_module pytest}
+# /SECTION
 BuildArch:      noarch
 %python_subpackages
 
@@ -62,9 +71,32 @@
 %python_install
 %python_expand %fdupes -s %{buildroot}%{$python_sitelib}
 
+%check
+# override tox.ini: no doctest no cov, register own mark
+echo '[pytest]
+markers =
+    online
+' > pytest.ini
+# don't be too picky about failing tests. Upstreams CI is failing too.
+# wfs: pyproj complaints about no db context
+donttest+="test_ows_interfaces_wfs"
+donttest+=" or (TestOffline  and test_wfs_100_noremotemd_parse_all)"
+donttest+=" or (TestOffline  and test_wfs_100_noremotemd_parse_single)"
+donttest+=" or (TestOffline  and test_wfs_100_noremotemd_parse_none)"
+donttest+=" or (TestOffline  and test_wfs_110_remotemd_parse_all)"
+donttest+=" or (TestOffline  and test_wfs_110_remotemd_parse_single)"
+donttest+=" or (TestOffline  and test_wfs_200_remotemd_parse_all)"
+donttest+=" or (TestOffline  and test_wfs_200_remotemd_parse_single)"
+donttest+=" or (TestOffline  and test_wms_130_remotemd_parse_all)"
+donttest+=" or (TestOffline  and test_wms_130_remotemd_parse_single)"
+# online but not marked
+donttest+=" or test_wmts_example_informatievlaanderen"
+%pytest -s -m "not online" -k "not ($donttest)"
+
 %files %python_files
 %doc AUTHORS.rst CHANGES.rst README.rst
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/owslib
+%{python_sitelib}/OWSLib-%{version}*-info
 
 %changelog

Reply via email to