forked from pool/python-psycopg2
- update to 2.9.7:
* Fix propagation of exceptions raised during module initialization * Fix building when pg_config returns an empty string - Update to 2.9.5 * Alpine (musl) wheels now available - update to 2.8.5 * Added interval_status parameter to start_replication() method and other facilities to send automatic replication keepalives * Fixed “there’s no async cursor” error polling a connection with * Added errors module. Every PostgreSQL error is converted into * Added BYTES adapter to manage databases with mixed encodings on * Added table_oid and table_column attributes on cursor.description * Added connection.info object to retrieve various PostgreSQL * Fixed async communication blocking if results are returned in * Dropped deprecated PersistentConnectionPool. Use * Binary packages no longer installed by default. The * Added Replication protocol support (ticket #322). Main authors are * Added parse_dsn() and make_dsn() functions (tickets #321, #363). connect() * Added __libpq_version__ and libpq_version() to inspect the version of the * The attributes notices and notifies can be customized replacing them with * Adapt network types to ipaddress objects when available. When not enabled, convert arrays of network types to lists by default. The old Inet adapter is * Give precedence to __conform__() over superclasses to choose an object * Using Python C API decoding functions and codecs caching for faster * executemany() slowness addressed by execute_batch() and execute_values() * Added async_ as an alias for async to support Python 3.7 where async will * Unless in autocommit, do not use default_transaction_* settings to control the session characteristics as it may create problems with external * isolation_level is now writable and entirely separated from autocommit; OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-psycopg2?expand=0&rev=91
This commit is contained in:
BIN
psycopg2-2.9.6.tar.gz
(Stored with Git LFS)
BIN
psycopg2-2.9.6.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
psycopg2-2.9.7.tar.gz
Normal file
3
psycopg2-2.9.7.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f00cc35bd7119f1fed17b85bd1007855194dde2cbd8de01ab8ebb17487440ad8
|
||||||
|
size 383496
|
@@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 7 11:08:36 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2.9.7:
|
||||||
|
* Fix propagation of exceptions raised during module
|
||||||
|
initialization
|
||||||
|
* Fix building when pg_config returns an empty string
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 21 12:30:00 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri Apr 21 12:30:00 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -16,18 +16,17 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
%define skip_python2 1
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-psycopg2
|
Name: python-psycopg2
|
||||||
Version: 2.9.6
|
Version: 2.9.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python-PostgreSQL Database Adapter
|
Summary: Python-PostgreSQL Database Adapter
|
||||||
License: LGPL-3.0-or-later AND (LGPL-3.0-or-later OR ZPL-2.0) AND SUSE-GPL-2.0-with-openssl-exception
|
License: LGPL-3.0-or-later AND (LGPL-3.0-or-later OR ZPL-2.0) AND SUSE-GPL-2.0-with-openssl-exception
|
||||||
URL: http://initd.org/psycopg/
|
URL: https://www.psycopg.org/
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/psycopg2/psycopg2-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/psycopg2/psycopg2-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel >= 3.6}
|
BuildRequires: %{python_module devel >= 3.6}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# newer postgresql packages pg_config in -server-devel
|
# newer postgresql packages pg_config in -server-devel
|
||||||
@@ -56,10 +55,10 @@ for coroutine libraries.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand rm -rf %{buildroot}%{$python_sitearch}/psycopg2/tests # Don't package testsuite
|
%python_expand rm -rf %{buildroot}%{$python_sitearch}/psycopg2/tests # Don't package testsuite
|
||||||
%fdupes %{buildroot}/%{_mandir} # Create symlinks for man pages
|
%fdupes %{buildroot}/%{_mandir} # Create symlinks for man pages
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||||
@@ -72,6 +71,6 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc AUTHORS NEWS README.rst
|
%doc AUTHORS NEWS README.rst
|
||||||
%{python_sitearch}/psycopg2/
|
%{python_sitearch}/psycopg2/
|
||||||
%{python_sitearch}/psycopg2-%{version}-py%{python_version}.egg-info
|
%{python_sitearch}/psycopg2-%{version}*-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user