1
0

Accepting request 1103724 from devel:languages:python

- 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
This commit is contained in:
Dominique Leuenberger 2023-08-14 20:35:27 +00:00 committed by Git OBS Bridge
commit 0409921991
4 changed files with 33 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d60f5f90337399668e10ab6a23a1657f190c9585401eb96a5456261f7c414864
size 167928

3
pymssql-2.2.8.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9baefbfbd07d0142756e2dfcaa804154361ac5806ab9381350aad4e780c3033e
size 171536

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Sun Aug 13 19:43:00 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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 <mardnh@gmx.de> Wed Oct 28 21:39:12 UTC 2020 - Martin Hauke <mardnh@gmx.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-pymssql # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pymssql Name: python-pymssql
Version: 2.1.5 Version: 2.2.8
Release: 0 Release: 0
Summary: A simple database interface to MS-SQL for Python Summary: A simple database interface to MS-SQL for Python
License: LGPL-2.1-only License: LGPL-2.1-only
@ -26,10 +26,13 @@ Group: Development/Languages/Python
URL: https://pymssql.org URL: https://pymssql.org
Source: https://files.pythonhosted.org/packages/source/p/pymssql/pymssql-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pymssql/pymssql-%{version}.tar.gz
BuildRequires: %{python_module Cython} BuildRequires: %{python_module Cython}
BuildRequires: %{python_module setuptools-git} BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: freetds-devel BuildRequires: freetds-devel
BuildRequires: krb5-devel
BuildRequires: openssl-devel
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
%python_subpackages %python_subpackages
@ -42,10 +45,10 @@ DB-API 2.0 Specification and works on most popular operating systems.
%setup -q -n pymssql-%{version} %setup -q -n pymssql-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch} %python_expand %fdupes %{buildroot}%{$python_sitearch}
### Tests need access to a MSSQL-server ### 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} %files %{python_files}
%license LICENSE %license LICENSE
%doc ChangeLog ChangeLog_highlights.rst README.rst %doc ChangeLog.rst README.rst
%{python_sitearch}/* %{python_sitearch}/*
%changelog %changelog