diff --git a/pymssql-2.1.5.tar.gz b/pymssql-2.1.5.tar.gz deleted file mode 100644 index 4284dd2..0000000 --- a/pymssql-2.1.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d60f5f90337399668e10ab6a23a1657f190c9585401eb96a5456261f7c414864 -size 167928 diff --git a/pymssql-2.2.8.tar.gz b/pymssql-2.2.8.tar.gz new file mode 100644 index 0000000..b1172a9 --- /dev/null +++ b/pymssql-2.2.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9baefbfbd07d0142756e2dfcaa804154361ac5806ab9381350aad4e780c3033e +size 171536 diff --git a/python-pymssql.changes b/python-pymssql.changes index d5ee6cf..708f2d0 100644 --- a/python-pymssql.changes +++ b/python-pymssql.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Sun Aug 13 19:43:00 UTC 2023 - Dirk Müller + +- 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). + ------------------------------------------------------------------- Wed Oct 28 21:39:12 UTC 2020 - Martin Hauke diff --git a/python-pymssql.spec b/python-pymssql.spec index d0b73fd..15906eb 100644 --- a/python-pymssql.spec +++ b/python-pymssql.spec @@ -1,7 +1,7 @@ # # spec file for package python-pymssql # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pymssql -Version: 2.1.5 +Version: 2.2.8 Release: 0 Summary: A simple database interface to MS-SQL for Python License: LGPL-2.1-only @@ -26,10 +26,13 @@ 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 setuptools-git} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: freetds-devel +BuildRequires: krb5-devel +BuildRequires: openssl-devel BuildRequires: python-rpm-macros %python_subpackages @@ -42,10 +45,10 @@ DB-API 2.0 Specification and works on most popular operating systems. %setup -q -n pymssql-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} ### Tests need access to a MSSQL-server @@ -54,7 +57,7 @@ DB-API 2.0 Specification and works on most popular operating systems. %files %{python_files} %license LICENSE -%doc ChangeLog ChangeLog_highlights.rst README.rst +%doc ChangeLog.rst README.rst %{python_sitearch}/* %changelog