Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-MapProxy"

Tue Apr 27 21:35:06 2021 rev:2 rq:888650 version:1.13.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-MapProxy/python-MapProxy.changes  
2019-03-28 22:48:05.803061153 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-MapProxy.new.12324/python-MapProxy.changes   
    2021-04-27 21:35:31.624069209 +0200
@@ -1,0 +2,45 @@
+Mon Apr 26 19:36:45 UTC 2021 - Ben Greiner <[email protected]>
+
+- Update to version 1.13.0
+  * Proj: Support for PROJ>=5 via pyproj.
+  * Services: New hide_exception_url option to hide source URLs.
+  * Tile sources: Support '@' in URL path (e.g. /0/0/[email protected])
+  * Various fixes for Python 3.8 compatibility.
+  * WMS: Always query WMS server in supported SRS.
+  * Fix warnings for tagged layer sources in layers.
+  * Demo: Fix capabilites "as HTML" when running behind a proxy
+- Release 1.12.0
+  * Cache: Rescale tiles existing tiles with new upscale_tiles/
+    downscale_tiles option.
+  * Cache: Finer control for reprojection sources with
+    preferred_src_proj option.
+  * WMS: Add georeference to TIFF images (GeoTIFF).
+  * WMS: Support for compressed TIFF images (LZW/JPEG).
+  * WMS: Advertise MaxWidth/MaxHeight.
+  * WMTS: Support for FeatureInfo requests.
+  * WMS/ArcGIS: Add on_error handler (similar to on_error handling
+    for tile sources).
+  * WMS/WMTS: Add keyword_list to capabilities.
+  * S3: Support for custom S3 server and ACL.
+  * autoconfig: Support for username/password in URL.
+  * Various fixes for Python 3.6 and 3.7 compatibility.
+  * Set explicit permissions for write_atomic on Windows.
+  * WMS: Respond with highest supported WMS version (1.3.0 by
+    default).
+  * Test: Now uses pytest instead of nosetest for all unit and
+    system tests.
+  * YAML: Always use load_safe to support PyYAML >3 without
+    warnings.
+  * Paster and eventlet specific code removed.
+- Release 1.11.1
+  * Fix Cross Site Scripting (XSS) issue in demo service. Fix for
+    #322 did not properly escaped input used in JavaScript
+    examples. Found by Janek Vind. A targeted attack could be used
+    for information disclosure. For example: Session cookies of a
+    third party application running on the same domain.
+- GDAL is python3 only, so do the same here.
+- add python-MapProx-rpmlintrc
+- Enable (offline!) test suite
+- add missing cache.gpkg for tests
+
+-------------------------------------------------------------------

Old:
----
  MapProxy-1.11.0.tar.gz

New:
----
  MapProxy-1.13.0.tar.gz
  cache.gpkg
  python-MapProx-rpmlintrc

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

Other differences:
------------------
++++++ python-MapProxy.spec ++++++
--- /var/tmp/diff_new_pack.Uk9pK5/_old  2021-04-27 21:35:32.204070164 +0200
+++ /var/tmp/diff_new_pack.Uk9pK5/_new  2021-04-27 21:35:32.204070164 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-MapProxy
 #
-# Copyright (c) 2019 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,39 +16,44 @@
 #
 
 
-# Tests require a network connection
-%bcond_with test
+%bcond_without test
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define oldpython python
+%{?!python_module:%define python_module() python3-%{**}}
+%define pythons python3
 Name:           python-MapProxy
-Version:        1.11.0
+Version:        1.13.0
 Release:        0
 Summary:        Proxy for geospatial data
 License:        Apache-2.0
-Url:            http://mapproxy.org/
+URL:            http://mapproxy.org/
 Group:          Development/Languages/Python
 Source0:        
https://files.pythonhosted.org/packages/source/M/MapProxy/MapProxy-%{version}.tar.gz
+# test file missing in the sdist
+Source1:        
https://github.com/mapproxy/mapproxy/raw/%{version}/mapproxy/test/system/fixture/cache.gpkg
+Source99:       python-MapProx-rpmlintrc
+BuildRequires:  %{python_module GDAL}
 BuildRequires:  %{python_module Pillow}
 BuildRequires:  %{python_module PyYAML}
-BuildRequires:  %{python_module GDAL}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  geos-devel
 BuildRequires:  hdf5-devel
+BuildRequires:  python-rpm-macros
 BuildRequires:  pkgconfig(gdal)
 BuildRequires:  pkgconfig(proj)
-BuildRequires:  python-rpm-macros
 %if %{with test}
 BuildRequires:  %{python_module Paste}
+BuildRequires:  %{python_module Shapely}
+BuildRequires:  %{python_module WebTest}
 BuildRequires:  %{python_module Werkzeug}
 BuildRequires:  %{python_module boto3}
 BuildRequires:  %{python_module botocore}
 BuildRequires:  %{python_module eventlet}
 BuildRequires:  %{python_module greenlet}
 BuildRequires:  %{python_module lxml}
-BuildRequires:  %{python_module nose}
-BuildRequires:  %{python_module riak}
+BuildRequires:  %{python_module moto}
+BuildRequires:  %{python_module pyproj}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module redis}
 BuildRequires:  %{python_module requests}
 BuildRequires:  libgeos_c1
@@ -56,11 +61,11 @@
 %endif
 Requires:       libgeos_c1
 Requires:       proj
+Requires:       python-Pillow
+Requires:       python-PyYAML
 Requires:       python-Shapely
 Requires:       python-gdal
 Requires:       python-lxml
-Requires:       python-Pillow
-Requires:       python-PyYAML
 Recommends:     python-Paste
 Recommends:     python-Werkzeug
 Recommends:     python-boto3
@@ -77,7 +82,7 @@
 Provides:       %{oldpython}-mapproxy = %{version}
 %endif
 Requires(post):   update-alternatives
-Requires(postun):  update-alternatives
+Requires(postun):update-alternatives
 %python_subpackages
 
 %description
@@ -87,8 +92,10 @@
 
 %prep
 %setup -q -n MapProxy-%{version}
-# Fix non-executable-script
-sed -i -e '/^#! \//, 1d' mapproxy/test/system/fixture/cgi.py
+cp %SOURCE1 mapproxy/test/system/fixture/
+# fix wrong interpreter in test scripts
+sed -i 's/env python/python3/' mapproxy/test/unit/test_client_cgi.py 
mapproxy/test/system/fixture/minimal_cgi.py
+chmod +x mapproxy/test/system/fixture/minimal_cgi.py
 
 %build
 %python_build
@@ -106,20 +113,25 @@
 %postun
 %python_uninstall_alternative mapproxy-seed
 
-%if %{with test}
 %check
-export MAPPROXY_TEST_COUCHDB=http://127.0.0.1:5984
-export MAPPROXY_TEST_REDIS=127.0.0.1:6379
+# for local tests outside of obs
+#export MAPPROXY_TEST_COUCHDB=http://127.0.0.1:5984
+#export MAPPROXY_TEST_REDIS=127.0.0.1:6379
 export BOTO_CONFIG=/doesnotexist
-%python_exec setup.py test
-%endif
+# online tests or no local server started
+donttest="TestCouchDBCache"
+donttest+=" or TestRedisCache"
+donttest+=" or test_https_"
+# off by one error capturing the execptions
+donttest+=" or test_bad_config_geopackage_"
+%pytest mapproxy -ra -k "not ($donttest)"
 
 %files %{python_files}
 %doc CHANGES.txt README.rst
 %license COPYING.txt LICENSE.txt 
 %python_alternative %{_bindir}/mapproxy-seed
 %python_alternative %{_bindir}/mapproxy-util
-%{python_sitelib}/*
-
+%{python_sitelib}/mapproxy
+%{python_sitelib}/MapProxy-%{version}*-info
 
 %changelog

++++++ MapProxy-1.11.0.tar.gz -> MapProxy-1.13.0.tar.gz ++++++
++++ 36047 lines of diff (skipped)

++++++ python-MapProx-rpmlintrc ++++++
# empty css file
addFilter("zero-length.*framedCloud.css")
# noarch package loads the library but no binary links
addFilter("explicit-lib-dependency libgeos_c1")

Reply via email to