Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-folium for openSUSE:Factory 
checked in at 2021-02-22 14:40:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-folium (Old)
 and      /work/SRC/openSUSE:Factory/.python-folium.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-folium"

Mon Feb 22 14:40:07 2021 rev:4 rq:874191 version:0.12.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-folium/python-folium.changes      
2021-01-15 19:46:34.606052951 +0100
+++ /work/SRC/openSUSE:Factory/.python-folium.new.2378/python-folium.changes    
2021-02-22 14:40:15.908611324 +0100
@@ -1,0 +2,11 @@
+Sun Feb 21 19:13:01 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 0.12.1
+  * Minor bugfix on the version number in the source distribution
+- Skip python36 build: With NumPy 1.20, python36-numpy is no
+  longer available in Tumbleweed (NEP 29)
+- Drop tests.tar.gz
+  * 0.12.1 is not released as sdist on PyPI. Use the GitHub archive
+    directly and tell setuptools_scm to use an explicit version
+
+-------------------------------------------------------------------

Old:
----
  _service
  folium-0.12.0.tar.gz
  tests.tar.xz

New:
----
  folium-0.12.1-gh.tar.gz

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

Other differences:
------------------
++++++ python-folium.spec ++++++
--- /var/tmp/diff_new_pack.ZM6NHO/_old  2021-02-22 14:40:19.436615236 +0100
+++ /var/tmp/diff_new_pack.ZM6NHO/_new  2021-02-22 14:40:19.440615240 +0100
@@ -17,17 +17,16 @@
 
 
 %define skip_python2 1
+%define skip_python36 1
 %define modname folium
 Name:           python-folium
-Version:        0.12.0
+Version:        0.12.1
 Release:        0
 Summary:        Make beautiful maps with Leafletjs and Python
 License:        MIT
 URL:            https://github.com/python-visualization/folium
-# PyPI source is required for correct version determination of egg-info
-Source0:        
https://files.pythonhosted.org/packages/source/f/folium/%{modname}-%{version}.tar.gz
-# PyPI tarballs dont have the test dir, so download directly from git
-Source1:        tests.tar.xz
+# PyPI does not have an sdist, plus we need the tests from GitHub.
+Source0:        
https://github.com/python-visualization/folium/archive/v%{version}.tar.gz#/folium-%{version}-gh.tar.gz
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -40,6 +39,9 @@
 BuildRequires:  %{python_module pandas}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module requests}
+# No working chromedriver
+#BuildRequires:  %%{python_module selenium}
+#BuildRequires:  %%{python_module nbconvert}
 # /SECTION
 Requires:       python-Jinja2 >= 2.9
 Requires:       python-branca >= 0.4.2
@@ -56,23 +58,24 @@
 
 %prep
 %autosetup -p1 -n folium-%{version}
-%setup -q -D -T -a 1 -n folium-%{version}
 
 %build
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
 %python_build
 
 %install
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 # test_json_request requires network access
-%pytest -k 'not test_json_request'
+%pytest -k 'not test_json_request' --ignore tests/selenium
 
 %files %{python_files}
 %doc CHANGES.txt README.rst
 %license LICENSE.txt
 %{python_sitelib}/%{modname}/
-%{python_sitelib}/%{modname}-%{version}-py%{python_version}.egg-info/
+%{python_sitelib}/%{modname}-%{version}*-info/
 
 %changelog

Reply via email to