diff --git a/pymssql-2.2.11.tar.gz b/pymssql-2.2.11.tar.gz deleted file mode 100644 index 90ab75b..0000000 --- a/pymssql-2.2.11.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:15815bf1ff9edb475ec4ef567f23e23c4e828ce119ff5bf98a072b66b8d0ac1b -size 172411 diff --git a/pymssql-2.3.0.tar.gz b/pymssql-2.3.0.tar.gz new file mode 100644 index 0000000..9c9b4b9 --- /dev/null +++ b/pymssql-2.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f034e46b568061d17148f1dedea648f9d5f6b7340e8cffe0edbaa1713cb4abab +size 186326 diff --git a/python-pymssql.changes b/python-pymssql.changes index 1a2acf7..3e94a7b 100644 --- a/python-pymssql.changes +++ b/python-pymssql.changes @@ -1,3 +1,52 @@ +------------------------------------------------------------------- +Sun Apr 7 16:23:46 UTC 2024 - Martin Hauke + +- 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. + * Use Cython 3 for compilation. + * Add SQLTIME and SQLDATETIME2 to convert_python_value. + * Use dbanydatecrack() function instead of dbdatecrack(). + * Replace DEF with cdef enum for buffer array size + * Remove references to tox. + * Add tests for timeout in wait callback. + * Clean up some legacy FreeTDS shims. + * Add tests for tds_version parameter. + * Move check for clock_gettime to dev/ccompiler.py. + * Remove some Python2 remnants. + * Move FreeTDS version from workflow files to pyproject.toml. + * Move exceptions into separate module. + * Use strftime for date & time conversion. + * Simplify parameters quoting. + * Add tests for _quote_simple_value. + ------------------------------------------------------------------- Thu Dec 14 13:31:54 UTC 2023 - Martin Hauke diff --git a/python-pymssql.spec b/python-pymssql.spec index 66e3ae3..aa6f71f 100644 --- a/python-pymssql.spec +++ b/python-pymssql.spec @@ -1,7 +1,7 @@ # # spec file for package python-pymssql # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,14 +17,14 @@ Name: python-pymssql -Version: 2.2.11 +Version: 2.3.0 Release: 0 Summary: A simple database interface to MS-SQL for Python License: LGPL-2.1-only Group: Development/Languages/Python URL: https://pymssql.org Source: https://files.pythonhosted.org/packages/source/p/pymssql/pymssql-%{version}.tar.gz -BuildRequires: %{python_module Cython} +BuildRequires: %{python_module Cython >= 3.0.7} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module wheel}