1
0
Commit Graph

5 Commits

Author SHA256 Message Date
42986aed2f Accepting request 1165977 from home:mnhauke
- Update to version 2.3.0
  General
  * Add python 3.12 support.
  * Add read_only parameter for connection.
  * Add encryption parameter to connect.
  * Add use_datetime2 parameter to connect.
  * Use utf-8 for connection properties.
  * Implement batching in executemany based on optional batch_size
    parameter. with default equal arraysize cursor attribute.
  * Fix DBAPI-2.0 compliance - DataError must be a subclass of
    DatabaseError.
  * Fix DBAPI-2.0 compliance: rename batchsize cursor attribute to
    arraysize.
  * Implement DATETIMEOFFSET handling for stored procedures.
  * Implement DATETIMEOFFSET handling for insert and select queries
  * Return instance of datetime.datetime on select from
    SQLDATETIM4, SQLDATETIME, SQLDATETIME2 columns.
  Bug fixes
  * Fix SQLDATETIME2 handling in convert_python_value().
  * Use four digits for the year in SP args binding.
  * Fix convert_python_value to work with datetime.date.
  * Check if C compiler is installed if check for clock_gettime
    fails.
  * Add missing charset parameter in the _substitute_params method
    when calling ensure_bytes.
  * Fix empty, zero or None parameter substitution.
  Internals
  * Add tests for fetchall(), fetchmany(), fetchone() and next()
    with SP.
  * Require Cython>3.0.7.

OBS-URL: https://build.opensuse.org/request/show/1165977
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymssql?expand=0&rev=9
2024-04-08 08:16:46 +00:00
0bf70f29a1 Accepting request 1133111 from home:mnhauke
- Update to version 2.2.11
  General
  * Add datetime.date to SQLDATE conversion.
  * Add encryption parameter to connect.
  Bug fixes
  * Fix version parsing in development.
  * Add missing charset parameter when formatting query.
  * Use four digits for the year in SP args binding.
  * Fix convert_python_value to work with datetime.date.

OBS-URL: https://build.opensuse.org/request/show/1133111
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymssql?expand=0&rev=7
2023-12-15 09:38:09 +00:00
929e617155 Accepting request 1121307 from home:mnhauke
- Update to version 2.2.10
  * Add python 3.12 support.
  * Do not try to drop temporary tables in clear_db().
  * test_sqlalchemy: update for compatibility with SQLAlchemy >2.0.
- Update to version 2.2.9
  * Update changelog.

OBS-URL: https://build.opensuse.org/request/show/1121307
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymssql?expand=0&rev=5
2023-10-31 08:03:55 +00:00
5c88871d71 - update to 2.2.8:
* Compatibility with Cython.
  * Fix build on Alpine Linux (fix #762).
  * Fill in result description in cursor.callproc (fix #772).
  * Add explicit link to krb5 (fix #776)
  * Added bytes and bytearray to support bulk_copy types, thanks
    to steve-strickland (#756).
  * Fix UnicodeEncodeError for non-ascii database name (#484).
  * Fix pymssql.Binary (#504).
  * On macOS check for FreeTDS in homebrew prefix when building.
  * Some documentation changes.
  * Drop support for Python2 and Python3 < 3.6.
  * Fixed a deadlock caused by a missing release of GIL (#540),
  * Prevents memory leak on login failure. Thanks to caogtaa and
    Simon.StJG (PR-690).
  * Fix check for TDS version (#652 and #669).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymssql?expand=0&rev=3
2023-08-13 19:44:19 +00:00
221b2974eb Accepting request 844677 from home:mnhauke
Reintroduce python-pymssql

OBS-URL: https://build.opensuse.org/request/show/844677
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymssql?expand=0&rev=1
2020-10-29 10:47:26 +00:00