Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-aiohttp for openSUSE:Factory checked in at 2022-11-09 12:56:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-aiohttp (Old) and /work/SRC/openSUSE:Factory/.python-aiohttp.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-aiohttp" Wed Nov 9 12:56:10 2022 rev:29 rq:1034428 version:3.8.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-aiohttp/python-aiohttp.changes 2022-10-10 18:44:09.874817260 +0200 +++ /work/SRC/openSUSE:Factory/.python-aiohttp.new.1597/python-aiohttp.changes 2022-11-09 12:56:18.515966761 +0100 @@ -1,0 +2,8 @@ +Mon Nov 7 17:49:50 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Drop ignore-pytest-deprecationwarning.patch +- Add aiohttp-pr7057-bump-charset-normalizer.patch + * gh#aio-libs/aiohttp#7057 + * Sync requirement with rpm specs + +------------------------------------------------------------------- Old: ---- ignore-pytest-deprecationwarning.patch New: ---- aiohttp-pr7057-bump-charset-normalizer.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-aiohttp.spec ++++++ --- /var/tmp/diff_new_pack.DHXygA/_old 2022-11-09 12:56:19.371971587 +0100 +++ /var/tmp/diff_new_pack.DHXygA/_new 2022-11-09 12:56:19.379971631 +0100 @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 # requires some unavailable modules %bcond_with docs @@ -27,42 +26,46 @@ License: Apache-2.0 URL: https://github.com/aio-libs/aiohttp Source: https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-%{version}.tar.gz -# PATCH-FIX-OPENSUSE ignore-pytest-deprecationwarning.patch -- gh#aio-libs/aiohttp#6663 -Patch0: ignore-pytest-deprecationwarning.patch +# PATCH-FIX-UPSTREAM aiohttp-pr7057-bump-charset-normalizer.patch gh#aio-libs/aiohttp#7057 +Patch0: aiohttp-pr7057-bump-charset-normalizer.patch +# SECTION build requirements BuildRequires: %{python_module Cython} +BuildRequires: %{python_module devel >= 3.6} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: http-parser-devel +BuildRequires: python-rpm-macros +# /SECTION +# SECTION install requirements BuildRequires: %{python_module aiosignal >= 1.1.2} -BuildRequires: %{python_module async_timeout >= 4.0} +BuildRequires: %{python_module async_timeout >= 4.0 with %python-async_timeout < 5} BuildRequires: %{python_module asynctest = 0.13.0 if %python-base < 3.8} BuildRequires: %{python_module attrs >= 17.3.0} -BuildRequires: %{python_module charset-normalizer >= 2.0} -BuildRequires: %{python_module devel >= 3.6} +BuildRequires: %{python_module charset-normalizer >= 2.0 with %python-charset-normalizer < 4} BuildRequires: %{python_module frozenlist >= 1.1.1} BuildRequires: %{python_module idna_ssl >= 1.0 if %python-base < 3.7} -BuildRequires: %{python_module multidict >= 4.5} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module multidict >= 4.5 with %python-multidict < 7} BuildRequires: %{python_module typing_extensions >= 3.7.4 if %python-base < 3.8} -BuildRequires: %{python_module yarl >= 1.0} -BuildRequires: fdupes -BuildRequires: http-parser-devel -BuildRequires: python-rpm-macros -Requires: python >= 3.6 +BuildRequires: %{python_module yarl >= 1.0 with %python-yarl < 2} +# /SECTION Requires: python-aiosignal >= 1.1.2 -Requires: python-async_timeout >= 4.0 Requires: python-attrs >= 17.3.0 -Requires: python-charset-normalizer >= 2.0 Requires: python-frozenlist >= 1.1.1 -Requires: python-multidict >= 4.5 -Requires: python-yarl >= 1.0 +Requires: (python-async_timeout >= 4.0 with python-async_timeout < 5) Requires: (python-asynctest = 0.13.0 if python-base < 3.8) +Requires: (python-charset-normalizer >= 2.0 with python-charset-normalizer < 4) Requires: (python-idna_ssl >= 1.0 if python-base < 3.7) +Requires: (python-multidict >= 4.5 with python-multidict < 7) Requires: (python-typing_extensions >= 3.7.4 if python-base < 3.8) +Requires: (python-yarl >= 1.0 with python-yarl < 2) Recommends: python-aiodns Recommends: python-brotlipy Recommends: python-cChardet Suggests: %{name}-doc # SECTION test requirements BuildRequires: %{python_module aiodns} -BuildRequires: %{python_module async_generator} BuildRequires: %{python_module brotlipy} BuildRequires: %{python_module freezegun} BuildRequires: %{python_module gunicorn} @@ -109,7 +112,7 @@ %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %if %{with docs} pushd docs %make_build html @@ -118,7 +121,7 @@ %endif %install -%python_install +%pyproject_install %{python_expand %fdupes %{buildroot}%{$python_sitearch} find %{buildroot}%{$python_sitearch} -name '*.[ch]' -delete rm -r %{buildroot}%{$python_sitearch}/aiohttp/.hash ++++++ aiohttp-pr7057-bump-charset-normalizer.patch ++++++ >From b619273de1bbb75e07668b4d3a59a8907e4b37cf Mon Sep 17 00:00:00 2001 From: Sam Bull <aa6...@sambull.org> Date: Fri, 28 Oct 2022 21:25:52 +0100 Subject: [PATCH] Raise allowed charset version --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: aiohttp-3.8.3/setup.cfg =================================================================== --- aiohttp-3.8.3.orig/setup.cfg +++ aiohttp-3.8.3/setup.cfg @@ -47,7 +47,7 @@ zip_safe = False include_package_data = True install_requires = attrs >= 17.3.0 - charset-normalizer >=2.0, < 3.0 + charset-normalizer >=2.0, < 4.0 multidict >=4.5, < 7.0 async_timeout >= 4.0.0a3, < 5.0 asynctest == 0.13.0; python_version<"3.8"