- 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
OBS-URL: https://build.opensuse.org/request/show/1063824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyodbc?expand=0&rev=10
- Update to version 4.0.27:
* Use int instead of bigint when possible (based on size of data)
to work with drivers that don't support bigint at all.
* Support SQL Server datetime2 precision. Previously more data
was passed than the column precision causing an error.
* Make Informix unit tests work again.
* Correct encoding error on big-endian machines for connection
errors. Default to native UTF16 instead of UTF16-LE.
* Fix MySQL unit tests.
OBS-URL: https://build.opensuse.org/request/show/722652
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyodbc?expand=0&rev=5
* support for SQL Server Table-Valued Paramaters has arrived. See test_tvp in the SQL Server unit tests.
* Support for IBM DB/2 DECFLOAT type (#472) by @c-dy
* Better SQL Server and FreeTDS tests with known driver issues (#469) by @gordthompson.
* Fix "function sequence error" with fast executemany (#450) by @v-makouz.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=8
I've also added the previous suggested changes to the spec file, but I've found not a really good solution for the %check section. The problem is, that the library path is hard-coded and expects everything inside the build directory. So solve this I rename the build directory between the different test runs. I hope this will be ok or if you have a better solution I will try to add this.
The failed sqlite tests are fixed in the upstream project and a new version was released.
OBS-URL: https://build.opensuse.org/request/show/630807
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=1