- 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
- 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/request/show/1103724
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymssql?expand=0&rev=2
* 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
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,9 +15,9 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name:python-pymssql
Version:2.3.1
Version:2.3.7
Release:0
Summary:AsimpledatabaseinterfacetoMS-SQLforPython
License:LGPL-2.1-only
@@ -57,6 +57,7 @@ DB-API 2.0 Specification and works on most popular operating systems.
%files %{python_files}
%licenseLICENSE
%docChangeLog.rstREADME.rst
%{python_sitearch}/pymssql*
%{python_sitearch}/pymssql
%{python_sitearch}/pymssql-%{version}*-info
%changelog
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.