Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pandas-datareader for 
openSUSE:Factory checked in at 2024-02-08 19:03:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pandas-datareader (Old)
 and      /work/SRC/openSUSE:Factory/.python-pandas-datareader.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pandas-datareader"

Thu Feb  8 19:03:03 2024 rev:8 rq:1145087 version:0.10.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pandas-datareader/python-pandas-datareader.changes
        2022-07-13 13:46:06.310092865 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pandas-datareader.new.1815/python-pandas-datareader.changes
      2024-02-08 19:03:13.529397735 +0100
@@ -1,0 +2,10 @@
+Wed Feb  7 11:23:55 UTC 2024 - Ben Greiner <[email protected]>
+
+- Add pandas-datareader-pr978-setup.patch because versioneer is not
+  compatible with python 3.12
+  * gh#pydata/pandas-datareader#978
+- Some of the unit tests fail when run with online connection
+  locally. There have been recent commits but no release since
+  2021. This package might not work as expected.
+
+-------------------------------------------------------------------

New:
----
  pandas-datareader-pr978-setup.patch

BETA DEBUG BEGIN:
  New:
- Add pandas-datareader-pr978-setup.patch because versioneer is not
  compatible with python 3.12
BETA DEBUG END:

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

Other differences:
------------------
++++++ python-pandas-datareader.spec ++++++
--- /var/tmp/diff_new_pack.1tufZ4/_old  2024-02-08 19:03:14.661438656 +0100
+++ /var/tmp/diff_new_pack.1tufZ4/_new  2024-02-08 19:03:14.665438802 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pandas-datareader
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
-%define skip_python36 1
 # ONLINE tests only, disable by default
 %bcond_with test
 Name:           python-pandas-datareader
@@ -29,11 +26,15 @@
 Group:          Development/Languages/Python
 URL:            https://github.com/pydata/pandas-datareader
 Source:         
https://files.pythonhosted.org/packages/source/p/pandas-datareader/pandas-datareader-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM pandas-datareader-pr978.patch 
gh#pydata/pandas-datareader#978
+Patch0:         pandas-datareader-pr978-setup.patch
 BuildRequires:  %{python_module lxml}
 BuildRequires:  %{python_module pandas >= 0.23}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module requests >= 2.19.0}
+BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module versioneer}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-lxml
@@ -50,13 +51,14 @@
 Remote data access for pandas. Works for multiple versions of pandas.
 
 %prep
-%setup -q -n pandas-datareader-%{version}
+%autosetup -p1 -n pandas-datareader-%{version}
+sed -i 's/\r$//' README.md
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -73,5 +75,5 @@
 %doc README.md
 %license LICENSE.md
 %{python_sitelib}/pandas_datareader
-%{python_sitelib}/pandas_datareader-%{version}*-info/
+%{python_sitelib}/pandas_datareader-%{version}.dist-info/
 

++++++ pandas-datareader-pr978-setup.patch ++++++
++++ 3496 lines (skipped)

Reply via email to