Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyodbc for openSUSE:Factory 
checked in at 2023-02-08 17:20:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyodbc (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyodbc.new.4462 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyodbc"

Wed Feb  8 17:20:48 2023 rev:10 rq:1063824 version:4.0.35

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyodbc/python-pyodbc.changes      
2021-01-21 21:56:57.637848739 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyodbc.new.4462/python-pyodbc.changes    
2023-02-08 17:21:15.102225480 +0100
@@ -1,0 +2,18 @@
+Tue Feb  7 20:20:18 UTC 2023 - Dirk Hartmann <2mo...@gmx.net>
+
+- Update to version 4.0.35
+  * This release provides Python 3.11 wheels, plus some other wheel fixes.
+  * There is also an import memory fix when using fast_execute_many.
+
+- Changes from version 4.0.34 
+  * Mac wheels are finally here. Thanks to all that worked on the code for 
that. Please let us
+    know if there are any problems with the wheels on PyPI
+  * Python 3.10 wheels are also available
+  * Fix for DSNs with non-ASCII characters.
+  * Memory leak fix with Decimal parameters.
+  * PostgreSQL dates of -Infinity/+Infinity changed to year 1 and 9999 instead 
of raising an error.
+
+- Remove upstreamed patch:
+  * fix_install_location_of_pyodbc.pyi.patch
+
+-------------------------------------------------------------------

Old:
----
  pyodbc-4.0.30.tar.gz

New:
----
  fix_install_location_of_pyodbc.pyi.patch
  pyodbc-4.0.35.tar.gz

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

Other differences:
------------------
++++++ python-pyodbc.spec ++++++
--- /var/tmp/diff_new_pack.EKRsoW/_old  2023-02-08 17:21:15.598227915 +0100
+++ /var/tmp/diff_new_pack.EKRsoW/_new  2023-02-08 17:21:15.602227934 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyodbc
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,16 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-pyodbc
-Version:        4.0.30
+Version:        4.0.35
 Release:        0
 Summary:        Python ODBC API
 License:        MIT
 Group:          Development/Languages/Python
 URL:            https://github.com/mkleehammer/pyodbc
 Source:         
https://files.pythonhosted.org/packages/source/p/pyodbc/pyodbc-%{version}.tar.gz
+# PATCH-FIX-INSTALL-LOCATION-UPSTREAM fix_install_location_of_pyodbc.pyi.patch 
-- based on PR 1146
+Patch1:         fix_install_location_of_pyodbc.pyi.patch
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  gcc-c++
@@ -43,8 +44,10 @@
 
 %prep
 %setup -q -n pyodbc-%{version}
+%patch1 -p1
 
 %build
+export CFLAGS="%{optflags}"
 %python_build
 
 %install
@@ -57,7 +60,9 @@
 }
 
 %files %{python_files}
-%{python_sitearch}/*
+%{python_sitearch}/pyodbc*-info
+%{python_sitearch}/pyodbc.pyi
+%{python_sitearch}/pyodbc*.so
 %license LICENSE.txt
 %doc README.md
 

++++++ fix_install_location_of_pyodbc.pyi.patch ++++++
Index: pyodbc-4.0.35/setup.py
===================================================================
--- pyodbc-4.0.35.orig/setup.py
+++ pyodbc-4.0.35/setup.py
@@ -94,9 +94,9 @@ def main():
 
         'ext_modules': [Extension('pyodbc', sorted(files), **settings)],
 
-        'data_files': [
-            ('', ['src/pyodbc.pyi'])  # places pyodbc.pyi alongside pyodbc.py 
in site-packages
-        ],
+        'packages': [''],
+        'package_dir': {'': 'src'},
+        'package_data': {'': ['pyodbc.pyi']},  # places pyodbc.pyi alongside 
pyodbc.{platform}.{pyd|so} in site-packages
 
         'license': 'MIT',
 

++++++ pyodbc-4.0.30.tar.gz -> pyodbc-4.0.35.tar.gz ++++++
++++ 6233 lines of diff (skipped)

Reply via email to