diff --git a/2_8_6.tar.gz b/2_8_6.tar.gz deleted file mode 100644 index 35256553f69286fd2086df78edca786bedfba854..0000000000000000000000000000000000000000 Binary files a/2_8_6.tar.gz and /dev/null differ diff --git a/psycopg2-2.9.4.tar.gz b/psycopg2-2.9.4.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..939b524e95f8589198c0d2ba65abc0dcfa4d6915 Binary files /dev/null and b/psycopg2-2.9.4.tar.gz differ diff --git a/python-psycopg2.spec b/python-psycopg2.spec index f4f4de38702688d0d213a6cfa4e32c9e9374bc75..e22233fbf9093ac06ffe92fd591dc94a617f7548 100644 --- a/python-psycopg2.spec +++ b/python-psycopg2.spec @@ -1,5 +1,4 @@ %global selfcheck 0 -%define release_version %(echo %{version} | awk -F. '{print $1"_"$2"_"$3}') %bcond_without python3 %bcond_without python3_debug %if 0%{?selfcheck} @@ -8,12 +7,12 @@ %bcond_with tests %endif Name: python-psycopg2 -Version: 2.8.6 -Release: 2 +Version: 2.9.4 +Release: 1 Summary: PostgreSQL database adapter for the Python programming language License: GPL-3.0-only and LGPL-3.0-only URL: http://www.psycopg.org/psycopg/ -Source0: https://github.com/psycopg/psycopg2/archive/%{release_version}.tar.gz +Source0: https://files.pythonhosted.org/packages/8d/d7/277e23b708a0429b6b3d50e86e52b791156dfbfa81917d34ef6d7b435b84/psycopg2-2.9.4.tar.gz %global desc Psycopg is the most popular PostgreSQL adapter for the Python \ programming language. Its core is a complete implementation of the Python DB \ @@ -73,7 +72,7 @@ Documentation and example files for the psycopg python PostgreSQL database adapter. %prep -%autosetup -p1 -n psycopg2-%{release_version} +%autosetup -p1 -n psycopg2-%{version} %build @@ -109,7 +108,6 @@ cp -r tests/ %{buildroot}%{python3_sitearch}/psycopg2/tests/ for i in `find %{buildroot}%{python3_sitearch}/psycopg2/tests/ -iname "*.py"`; do sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|' $i done -%{?with_python3:rm -r %{buildroot}%{python3_sitearch}/psycopg2/tests/test_async_keyword.py} %files -n python3-psycopg2 @@ -135,6 +133,14 @@ done %doc doc %changelog +* Tue Apr 16 2024 OpenStack_SIG - 2.9.4-1 +- Upgrade package to version 2.9.4 +- No longer removing test_async_keyword.py as it is not included in version 2.9 and its errors resolved +- Bug fixes, feature enhancements and dependency upgrades +- Dropped support for Python 2.7, 3.4, 3.5 and mx.DateTime +- `with connection`` starts a transaction on autocommit transactions too +- Timezones with fractional minutes are supported on Python 3.7 and following + * Sat May 07 2022 renxichen - 2.8.6-2 - fix packaging error on _psycopg.cpython-*.so