36 Commits

Author SHA256 Message Date
ec03035cec Accepting request 1284641 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1284641
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyodbc?expand=0&rev=15
2025-06-11 14:25:58 +00:00
674480d7f3 - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=35
2025-06-11 06:20:23 +00:00
672d5ecbc8 Accepting request 1218966 from devel:languages:python
- update to 5.2.0:
  * Thanks to @keitherskine there are now wheels for 3.13.  There
    are aiso a few bug fixes that were ready to go.

- Changes from version 4.0.34
- Updated spec file for compatibility with different python3
- Update to version 4.0.27:
  * Use int instead of bigint when possible (based on size of data)
  * Support SQL Server datetime2 precision. Previously more data
  * Correct encoding error on big-endian machines for connection
  * Issue #506 uncovered a potentially serious error where
- Use python single spec.
-Update to version 4.0.13
- updated to version 3.0.10
 * Row objects can now be pickled.
 * Fixed building on Python 2.5. Other versions are not affected.
 * Fixed "function sequence" errors caused by prepared SQL not being cleared ("unprepared")
 * Added Cursor.commit() and Cursor.rollback(). It is now possible to use only a cursor in
 * Added readonly keyword to connect. If set to True, SQLSetConnectAttr
   SQL_ATTR_ACCESS_MODE is set to SQL_MODE_READ_ONLY.
*  Fixed an error reading SQL Server XML data types longer than 4K.
- removed unneded requires
- initial version

OBS-URL: https://build.opensuse.org/request/show/1218966
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyodbc?expand=0&rev=14
2024-10-29 13:36:39 +00:00
341ffe015f - update to 5.2.0:
* Thanks to @keitherskine there are now wheels for 3.13.  There
    are aiso a few bug fixes that were ready to go.
- Changes from version 4.0.34
- Updated spec file for compatibility with different python3
- Update to version 4.0.27:
  * Use int instead of bigint when possible (based on size of data)
  * Support SQL Server datetime2 precision. Previously more data
  * Correct encoding error on big-endian machines for connection
  * Issue #506 uncovered a potentially serious error where
- Use python single spec.
-Update to version 4.0.13
- updated to version 3.0.10
 * Row objects can now be pickled.
 * Fixed building on Python 2.5. Other versions are not affected.
 * Fixed "function sequence" errors caused by prepared SQL not being cleared ("unprepared")
 * Added Cursor.commit() and Cursor.rollback(). It is now possible to use only a cursor in
 * Added readonly keyword to connect. If set to True, SQLSetConnectAttr
   SQL_ATTR_ACCESS_MODE is set to SQL_MODE_READ_ONLY.
*  Fixed an error reading SQL Server XML data types longer than 4K.
- removed unneded requires
- initial version

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=33
2024-10-29 08:38:58 +00:00
2651a23a84 Accepting request 1172418 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1172418
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyodbc?expand=0&rev=13
2024-05-07 16:04:55 +00:00
2e969b027f Accepting request 1172417 from home:mcalabkova:branches:devel:languages:python
- Add %{?sle15_python_module_pythons}

- update to 4.0.39 (bsc#1210567):

OBS-URL: https://build.opensuse.org/request/show/1172417
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=31
2024-05-07 11:19:49 +00:00
eddf2c9547 Accepting request 1146285 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1146285
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyodbc?expand=0&rev=12
2024-02-13 21:43:09 +00:00
15c872394d Accepting request 1145945 from home:jayvdb:branches:devel:languages:python
- Add sqlitetests.py & testutils.py
- Update to v5.1.0

OBS-URL: https://build.opensuse.org/request/show/1145945
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=29
2024-02-12 22:30:55 +00:00
244c88834b Accepting request 1079995 from devel:languages:python
- update to 4.0.39:
  * 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)

OBS-URL: https://build.opensuse.org/request/show/1079995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyodbc?expand=0&rev=11
2023-04-20 14:49:01 +00:00
77efd7b998 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=27 2023-04-17 19:06:10 +00:00
4c95488d79 - update to 4.0.39:
* 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=26
2023-04-17 19:06:05 +00:00
2b9457b774 Accepting request 1063824 from devel:languages:python
- 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
2023-02-08 16:20:48 +00:00
f13a60b1ed Fix changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=24
2023-02-08 13:03:27 +00:00
d5961a3dfc Accepting request 1063686 from home:Monex:various
Update to version 4.0.35: Fixes after declined request

I've tried to get rid of the rpmlint warnings but there are still some warnings appearing and I don't know how to solve them, maybe can you help?

OBS-URL: https://build.opensuse.org/request/show/1063686
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=23
2023-02-07 21:12:21 +00:00
9d7e6901a1 Accepting request 865258 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/865258
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyodbc?expand=0&rev=9
2021-01-21 20:56:52 +00:00
adf7429965 Accepting request 865075 from home:Monex:Database
The build for openSUSE factory fails at the moment, because of different python3 flavors. The spec file was updated to handle the case of different flavors so that the build succeeds.

OBS-URL: https://build.opensuse.org/request/show/865075
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=21
2021-01-21 08:34:30 +00:00
f01a32ccb9 Accepting request 786859 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/786859
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyodbc?expand=0&rev=8
2020-03-20 22:59:42 +00:00
Tomáš Chvátal
dde26936e5 Accepting request 786858 from home:mcalabkova:branches:devel:languages:python
- Update to version 4.0.30
  * Very large integers and non-numeric floats as parameters

OBS-URL: https://build.opensuse.org/request/show/786858
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=19
2020-03-20 12:17:20 +00:00
fdcbd0c0ec Accepting request 759290 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/759290
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyodbc?expand=0&rev=7
2019-12-27 12:49:21 +00:00
Tomáš Chvátal
8d355ed937 Accepting request 759209 from home:Monex:branches
Hello,
I've updated the package to 4.0.28.
Greetings,
  Dirk

OBS-URL: https://build.opensuse.org/request/show/759209
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=17
2019-12-26 08:55:58 +00:00
6a3d85e5d1 Accepting request 731160 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/731160
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyodbc?expand=0&rev=6
2019-09-18 11:10:36 +00:00
Tomáš Chvátal
b287a98f6a Accepting request 730985 from home:jayvdb:py3only
- Use %python_expand in %check to allow building only a single flavour

OBS-URL: https://build.opensuse.org/request/show/730985
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=15
2019-09-16 07:36:18 +00:00
3e104cf62e Accepting request 722652 from devel:languages:python
- 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
2019-08-13 11:23:37 +00:00
Tomáš Chvátal
3ee0b7c397 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=13 2019-08-12 11:17:34 +00:00
Tomáš Chvátal
4838d22382 Accepting request 721354 from home:Monex:branches:devel:languages:python
Hi,

I've updated the package to the latest version 4.0.27.

Greetings,
  Dirk

OBS-URL: https://build.opensuse.org/request/show/721354
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=12
2019-08-07 09:22:48 +00:00
49ed336228 Accepting request 683721 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/683721
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyodbc?expand=0&rev=4
2019-03-11 10:17:53 +00:00
Tomáš Chvátal
485c86c690 Accepting request 683592 from home:Monex:branches:devel:languages:python
Hi,

I've updated the package to the latest version 4.0.26. Sadly there was a serious bug introduced in the previous version so an updated is recommended by the upstream developer.

Greetings,
  Dirk

OBS-URL: https://build.opensuse.org/request/show/683592
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=10
2019-03-11 08:31:19 +00:00
Stephan Kulow
3f88024b1c Accepting request 670555 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/670555
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyodbc?expand=0&rev=3
2019-02-02 20:49:59 +00:00
Tomáš Chvátal
a9020c1b60 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=8
2019-02-01 12:05:02 +00:00
Tomáš Chvátal
1a2629196c Accepting request 670446 from home:Monex:branches:devel:languages:python
Hi,

I've updated the package to the latest release 4.0.25. Please let me know if something is not correct.

Greetings,
  Dirk

OBS-URL: https://build.opensuse.org/request/show/670446
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=7
2019-02-01 10:49:37 +00:00
7caecea17c Accepting request 631541 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/631541
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyodbc?expand=0&rev=2
2018-08-27 10:59:32 +00:00
Tomáš Chvátal
99d2505c69 Accepting request 631521 from home:jengelh:branches:devel:languages:python
- Strip filler wording from description.

OBS-URL: https://build.opensuse.org/request/show/631521
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=5
2018-08-25 20:08:40 +00:00
774bcd4b8d Accepting request 630837 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/630837
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyodbc?expand=0&rev=1
2018-08-22 12:22:34 +00:00
Tomáš Chvátal
8858c19259 - Really use upstream tarball
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=3
2018-08-22 07:42:18 +00:00
Tomáš Chvátal
d6726cdc82 - Do not copy around but use PYTHONPATH to find the module
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyodbc?expand=0&rev=2
2018-08-22 07:32:12 +00:00
Tomáš Chvátal
9c95d724eb Accepting request 630807 from home:Monex:Database
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
2018-08-22 07:27:47 +00:00