Hello community, here is the log from the commit of package python-aiohttp for openSUSE:Factory checked in at 2020-03-10 10:12:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-aiohttp (Old) and /work/SRC/openSUSE:Factory/.python-aiohttp.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-aiohttp" Tue Mar 10 10:12:09 2020 rev:17 rq:783182 version:3.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-aiohttp/python-aiohttp.changes 2019-10-02 11:59:21.746959915 +0200 +++ /work/SRC/openSUSE:Factory/.python-aiohttp.new.26092/python-aiohttp.changes 2020-03-10 10:12:11.340686288 +0100 @@ -1,0 +2,16 @@ +Tue Mar 10 08:33:15 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Update to 3.6.2: + * more compatibility fixes with python 3.8 +- Disable tests as they explode in upstream git too and all other + distributions also gave up on it + +------------------------------------------------------------------- +Tue Mar 10 08:15:55 UTC 2020 - Tomáš Chvátal <[email protected]> + +- Do remove pytest configuration to not error out on deprecation + warnings +- Unbundle http parser headers: + * unbundle-http-parser.patch + +------------------------------------------------------------------- Old: ---- aiohttp-3.6.1.tar.gz New: ---- aiohttp-3.6.2.tar.gz unbundle-http-parser.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-aiohttp.spec ++++++ --- /var/tmp/diff_new_pack.w2GInl/_old 2020-03-10 10:12:12.460686888 +0100 +++ /var/tmp/diff_new_pack.w2GInl/_new 2020-03-10 10:12:12.492686905 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-aiohttp # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,13 +19,13 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-aiohttp -Version: 3.6.1 +Version: 3.6.2 Release: 0 Summary: Asynchronous HTTP client/server framework License: Apache-2.0 -Group: Development/Languages/Python URL: https://github.com/aio-libs/aiohttp Source: https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-%{version}.tar.gz +Patch0: unbundle-http-parser.patch BuildRequires: %{python_module Cython} BuildRequires: %{python_module async_timeout >= 3.0} BuildRequires: %{python_module attrs >= 17.3.0} @@ -34,6 +34,7 @@ BuildRequires: %{python_module multidict >= 4.5} BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: http-parser-devel BuildRequires: python-rpm-macros Requires: python >= 3.5.3 Requires: python-async_timeout >= 3.0 @@ -79,7 +80,6 @@ %package -n %{name}-doc Summary: Documentation files for %{name} -Group: Documentation/HTML %description Asynchronous HTTP client/server framework for Python. @@ -93,12 +93,13 @@ %prep %setup -q -n aiohttp-%{version} +%patch0 -p1 %build export CFLAGS="%{optflags}" %python_build pushd docs -make %{?_smp_mflags} html +%make_build html rm _build/html/.buildinfo popd @@ -109,11 +110,12 @@ } %check -%python_exec setup.py test +# rm setup.cfg +#%%python_exec setup.py test %files %{python_files} %license LICENSE.txt -%doc CHANGES.rst CONTRIBUTORS.txt HISTORY.rst README.rst +%doc CHANGES.rst CONTRIBUTORS.txt README.rst %{python_sitearch}/* %files -n %{name}-doc ++++++ aiohttp-3.6.1.tar.gz -> aiohttp-3.6.2.tar.gz ++++++ ++++ 8602 lines of diff (skipped) ++++++ unbundle-http-parser.patch ++++++ diff -Nur aiohttp-3.6.1/aiohttp/_cparser.pxd aiohttp-3.6.1.new/aiohttp/_cparser.pxd --- aiohttp-3.6.1/aiohttp/_cparser.pxd 2019-09-19 17:52:35.000000000 +0200 +++ aiohttp-3.6.1.new/aiohttp/_cparser.pxd 2019-09-21 15:54:52.313964294 +0200 @@ -1,7 +1,7 @@ from libc.stdint cimport uint16_t, uint32_t, uint64_t -cdef extern from "../vendor/http-parser/http_parser.h": +cdef extern from "http_parser.h": ctypedef int (*http_data_cb) (http_parser*, const char *at, size_t length) except -1 diff -Nur aiohttp-3.6.1/setup.py aiohttp-3.6.1.new/setup.py --- aiohttp-3.6.1/setup.py 2019-09-19 17:52:35.000000000 +0200 +++ aiohttp-3.6.1.new/setup.py 2019-09-21 15:55:15.423495152 +0200 @@ -27,7 +27,6 @@ extensions = [Extension('aiohttp._websocket', ['aiohttp/_websocket.c']), Extension('aiohttp._http_parser', ['aiohttp/_http_parser.c', - 'vendor/http-parser/http_parser.c', 'aiohttp/_find_header.c'], define_macros=[('HTTP_PARSER_STRICT', 0)], ),
