* Sun Feb 11 2024 John Vandenberg <jayvdb@gmail.com>
- Add sqlitetests.py & testutils.py
- Update to v5.1.0
* Mac M1 & M2 binary builds
- from v5.0.1
* bug fix for 5.0.0 that restores the ability to pass bytes objects
in the attrs_before parameter when connecting.
This is often used for Azure with a token.
- from 5.0.0
* The API is backwards compatible.
* Dropped support for Python 2.
* Mon Apr 17 2023 Dirk Müller <dmueller@suse.com>
- update to 4.0.39 (bsc#1210567):
* Version 4.0.38 had a serious bug in Row.__repr__ which could
cause crashes (#1196 ).
* Version 5.0 is on its way and will drop support for Python 2.
This release is a (hopefully final) bug fix release for
the 4.x line.
* added typing for Connection, Cursor, and connect parameters.
* corrected the install location of the pyi file.
* fixed Unicode errors in repr(row)
* fixed more typing related issues by removing TypeAlias
* arturxedex128 opened a security advisory for a buffer
overflow if selecting a decimal more
* than 100 digits long. Fixed by Michael Kleehammer.
- drop fix_install_location_of_pyodbc.pyi.patch (upstream)
* Tue Feb 07 2023 Dirk Hartmann <2monex@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
Version: 4.0.30-bp152.1.7
* Fri Mar 20 2020 Marketa Calabkova <mcalabkova@suse.com>
- Update to version 4.0.30
* Very large integers and non-numeric floats as parameters
* Wed Dec 25 2019 Dirk Hartmann <monex@liquid-co.de>
- Update to version 4.0.28
* Fix incorrect size calcation for Unicode characters (#654)
* Fix binding of 32-bit ints on 64-bit Linux (#611)
* Fixes type mismatch for null/None with table value parameters. #596
* Fixes and cleanup of unit tests for MS Access (#606), MySQL (#630 #632) and new tests (#637 #645)
* Sat Sep 14 2019 John Vandenberg <jayvdb@gmail.com>
- Use %python_expand in %check to allow building only a single
flavour
* Mon Aug 05 2019 Dirk Hartmann <monex@liquid-co.de>
- 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.
Version: 4.0.26-bp151.1.1
* Sun Mar 10 2019 Dirk Hartmann <monex@liquid-co.de>
- Update to version 4.0.26:
* Issue #506 uncovered a potentially serious error where
Unicode strings may not get a NULL terminator when being converted.
* Issue #504 was a double decref in the error return path of executemany.
* Wed Jan 30 2019 Dirk Hartmann <monex@liquid-co.de>
- Update to version 4.0.25:
* 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.
* Sat Aug 25 2018 jengelh@inai.de
- Strip filler wording from description.
* Wed Aug 22 2018 tchvatal@suse.com
- Really use upstream tarball
* Wed Aug 22 2018 tchvatal@suse.com
- Do not copy around but use PYTHONPATH to find the module
* Sun Aug 19 2018 monex@liquid-co.de
- Update to 4.0.24
* Thu Aug 09 2018 monex@liquid-co.de
- Added test cases for sqlite to check section.
Unfortunaly the test cases are broken at the moment
a bug report was created at github.
* Sun Aug 05 2018 monex@liquid-co.de
- Added LICENSE.txt and README.md to files.
- Use only one BuildRequires per line.
- Corrected wrong Release version.
* Sat Aug 04 2018 monex@liquid-co.de
- Corrected source url.
- Added sources again.
- Fix Url to upstream project.
* Sat Aug 04 2018 monex@liquid-co.de
- Remove unneeded source because it is fetched automatically.
* Fri Aug 03 2018 2monex@gmx.net
- Use URL as source according to python packaginf guidelines.
* Fri Aug 03 2018 nrochard@gmail.com
- Update to version 4.0.23
* Thu Jun 28 2018 monex@liquid-co.de
- Use python single spec.
* Mon Feb 27 2017 monex@liquid-co.de
-Update to version 4.0.13
* Sat May 02 2015 monex@liquid-co.de
- added missing source file
* Sat May 02 2015 monex@liquid-co.de
- added missing source file
* Sun Aug 04 2013 monex@liquid-co.de
- updated to version 3.0.7
* Added context manager support to Cursor
* Added padding for driver bugs writing an extra byte
* Cursor.executemany now accepts an iterator or generator.
* Compilation improvements for FreeBSD, Cygwin, and OS/X
* Use SQL_DATA_AT_EXEC instead of SQL_DATA_LEN_AT_EXEC when possible for driver compatibility.
* Row objects can now be pickled.
* Fri Nov 16 2012 2monex@gmx.net
- change source file compression
* Fri Nov 16 2012 2monex@gmx.net
- updated to version 3.0.6
* Fixed building on Python 2.5. Other versions are not affected.
* Fixed "function sequence" errors caused by prepared SQL not being cleared ("unprepared")
when a catalog function is executed.
* Added Cursor.commit() and Cursor.rollback(). It is now possible to use only a cursor in
your code instead of keeping track of a connection and a cursor.
* Added readonly keyword to connect. If set to True, SQLSetConnectAttr
SQL_ATTR_ACCESS_MODE is set to SQL_MODE_READ_ONLY.
This may provide better locking semantics or speed for some drivers.
* Fixed an error reading SQL Server XML data types longer than 4K.
* Mon Jun 04 2012 monex@liquid-co.de
- removed unneded requires