Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-asyncpg for openSUSE:Factory checked in at 2021-10-19 23:04:03 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-asyncpg (Old) and /work/SRC/openSUSE:Factory/.python-asyncpg.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-asyncpg" Tue Oct 19 23:04:03 2021 rev:4 rq:926332 version:0.24.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-asyncpg/python-asyncpg.changes 2021-09-17 23:26:33.529268672 +0200 +++ /work/SRC/openSUSE:Factory/.python-asyncpg.new.1890/python-asyncpg.changes 2021-10-19 23:04:34.425293284 +0200 @@ -1,0 +2,28 @@ +Sun Oct 17 14:19:32 UTC 2021 - Ben Greiner <c...@bnavigator.de> + +- Update to 0.24.0 + * Drop support for Python 3.5 (#777) + * Add support for Python 3.10 (#795) + * Add support for asynchronous iterables to + copy_records_to_table() (#713) + * Add support for coroutine functions as listener callbacks + (#802) + * Add support for sslcert, sslkey and sslrootcert parameters to + DSN (#768) + * Add copy_ wrappers to Pool (#661) + * Add issubset and issuperset methods to the Range type (#563) + * Break connection internal circular reference (#774) + * Make Server Version Extraction More Flexible (#778) +- Release 0.23.0 + * Avoid TypeError in Transaction.__repr__ (#703) + * Feed memoryview to writelines() (#715) + * Add sslmode=allow support and fix =prefer retry (#720) + * Loosen message test in test_invalid_input (#751) + * Support readonly and deferrable for non-serializable + transactions (#747) + * Fix asyncpg with Py_DEBUG mode (#719) + * Fix docs/Makefile and docs/_static/theme_overrides.css missing + from PyPI package (#708) +- Reactivate python36: uvloop for testing is optional + +------------------------------------------------------------------- Old: ---- asyncpg-0.22.0.tar.gz New: ---- asyncpg-0.24.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-asyncpg.spec ++++++ --- /var/tmp/diff_new_pack.evuHjI/_old 2021-10-19 23:04:34.805293456 +0200 +++ /var/tmp/diff_new_pack.evuHjI/_new 2021-10-19 23:04:34.809293458 +0200 @@ -16,28 +16,34 @@ # +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 -%define skip_python36 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-asyncpg -Version: 0.22.0 +Version: 0.24.0 Release: 0 Summary: Python asyncio PosgtreSQL driver License: Apache-2.0 Group: Development/Languages/Python URL: https://github.com/MagicStack/asyncpg Source: https://files.pythonhosted.org/packages/source/a/asyncpg/asyncpg-%{version}.tar.gz -BuildRequires: %{python_module Cython >= 0.28} -BuildRequires: %{python_module devel >= 3.5} +BuildRequires: %{python_module Cython >= 0.29.24} +BuildRequires: %{python_module devel >= 3.6} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module typing-extensions >= 3.7.4.3 if %python-base < 3.8} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: libpq5 >= 9.4 +%if 0%{?python_version_nodots} < 38 +Requires: python-typing-extensions >= 3.7.4.3 +%endif # SECTION test requirements -BuildRequires: %{python_module pytest} -BuildRequires: %{python_module uvloop >= 0.14.0} +BuildRequires: %{python_module pytest >= 6} BuildRequires: postgresql-contrib BuildRequires: postgresql-server +%if 0%{?suse_version} > 1500 +# uvloop >= 0.15.3 does not exist in Leap nor in python36 flavor +BuildRequires: %{python_module uvloop >= 0.15.3 if (%python-base without python36-base)} +%endif # /SECTION %python_subpackages @@ -49,6 +55,10 @@ %prep %setup -q -n asyncpg-%{version} +# no uvloop in python36 but in newer flavors +sed -i asyncpg/_testbase/__init__.py \ + -e "/import re/ a import sys" \ + -e "s/if os.environ.get('USE_UVLOOP')/& and sys.version_info[:2] > (3, 6)/" %build %python_build @@ -63,14 +73,20 @@ # Needed to avoid asyncpg.cluster.ClusterError: # could not find pg_config executable export PGINSTALLATION=%{_bindir} +%if 0%{?suse_version} > 1500 +export USE_UVLOOP=1 +%endif +# fails inside obs chroot +donttest="test_timetz_encoding" mv asyncpg .asyncpg -%pytest_arch -rs +%pytest_arch -rs -k "not ($donttest)" mv .asyncpg asyncpg %files %{python_files} %license LICENSE %doc README.rst -%{python_sitearch}/* +%{python_sitearch}/asyncpg +%{python_sitearch}/asyncpg-%{version}*-info %changelog ++++++ asyncpg-0.22.0.tar.gz -> asyncpg-0.24.0.tar.gz ++++++ ++++ 31737 lines of diff (skipped)