[packages/python3-aiohttp] - updated to 3.8.3 - updated disable-towncrier patch

qboosh qboosh at pld-linux.org
Mon Oct 24 20:52:59 CEST 2022


commit d62e874467d7c8c1edd708cfcbe88248643b6cd5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Oct 24 20:54:05 2022 +0200

    - updated to 3.8.3
    - updated disable-towncrier patch

 disable-towncrier.patch | 10 +++++-----
 python3-aiohttp.spec    | 16 ++++++++--------
 2 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/python3-aiohttp.spec b/python3-aiohttp.spec
index 4eed94f..c6be8cd 100644
--- a/python3-aiohttp.spec
+++ b/python3-aiohttp.spec
@@ -7,12 +7,12 @@
 Summary:	Async http client/server framework
 Summary(pl.UTF-8):	Szkielet asynchronicznego klienta/serwera http
 Name:		python3-aiohttp
-Version:	3.8.1
-Release:	3
+Version:	3.8.3
+Release:	1
 License:	Apache v2.0
 Group:		Libraries/Python
 Source0:	https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-%{version}.tar.gz
-# Source0-md5:	faf7726dc65a940272874c0f441e8ec6
+# Source0-md5:	642653db642be1508e50fcdeafe0f928
 Patch0:		disable-towncrier.patch
 URL:		https://pypi.org/project/aiohttp/
 BuildRequires:	python3-devel >= 1:3.6
@@ -91,15 +91,15 @@ Dokumentacja API aiohttp.
 %py3_build
 
 %if %{with tests}
-# test_data_stream_exc_chain uses network, fails
-# test_async_iterable_payload_default_content_type, test_async_iterable_payload_explicit_content_type fail with TypeError (need update?)
+# test_data_stream_exc_chain uses network
 # test_mark_formdata_as_processed requires network
 # test_client_session_timeout_zero fails on builders
-# test_requote_redirect_url_default uses network, fails
+# test_requote_redirect_url_default uses network
+# test_unsupported_upgrade is marked as xfail, but succeeds
 %{__mv} tests/test_proxy_functional.py{,.disabled} # needs proxy_py binary
 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 \
 PYTEST_PLUGINS="pytest_cov.plugin,pytest_mock" \
-%{__python3} -m pytest tests -k 'not (test_data_stream_exc_chain or test_async_iterable_payload_default_content_type or test_async_iterable_payload_explicit_content_type or test_mark_formdata_as_processed or test_c_parser_loaded or test_aiohttp_plugin_async_fixture or test_client_session_timeout_zero or test_requote_redirect_url_default)'
+%{__python3} -m pytest tests -k 'not (test_data_stream_exc_chain or test_mark_formdata_as_processed or test_client_session_timeout_zero or test_requote_redirect_url_default or test_c_parser_loaded or test_unsupported_upgrade)'
 %endif
 
 %if %{with doc}
@@ -114,7 +114,7 @@ rm -rf $RPM_BUILD_ROOT
 %py3_install
 
 %{__rm} -r $RPM_BUILD_ROOT%{py3_sitedir}/aiohttp/.hash
-%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/aiohttp/*.{c,h,pxd,pxi,pyx}
+%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/aiohttp/*.{pxd,pxi,pyx}
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 cp -pr examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
diff --git a/disable-towncrier.patch b/disable-towncrier.patch
index 6e46d10..1c10808 100644
--- a/disable-towncrier.patch
+++ b/disable-towncrier.patch
@@ -1,9 +1,9 @@
 Extension error (sphinxcontrib.towncrier):
 Handler <bound method TowncrierDraftEntriesEnvironmentCollector.get_outdated_docs of <sphinxcontrib.towncrier.TowncrierDraftEntriesEnvironmentCollector object at 0xf5667f58>> for event 'env-get-outdated' threw an exception (exception: The template file '/home/users/baggins/devel/PLD/rpm/BUILD/aiohttp-3.8.1/CHANGES/.TEMPLATE.rst' does not exist.)
 
---- aiohttp-3.8.1/docs/conf.py~	2021-11-14 21:05:00.000000000 +0100
-+++ aiohttp-3.8.1/docs/conf.py	2021-11-29 22:01:37.743925807 +0100
-@@ -54,7 +54,6 @@
+--- aiohttp-3.8.3/docs/conf.py.orig	2022-09-21 15:09:27.000000000 +0200
++++ aiohttp-3.8.3/docs/conf.py	2022-10-24 17:25:39.938617920 +0200
+@@ -54,7 +54,6 @@ extensions = [
      # Third-party extensions:
      "sphinxcontrib.asyncio",
      "sphinxcontrib.blockdiag",
@@ -11,7 +11,7 @@ Handler <bound method TowncrierDraftEntriesEnvironmentCollector.get_outdated_doc
  ]
  
  
-@@ -439,10 +438,3 @@
+@@ -439,10 +438,3 @@ nitpick_ignore = [
      ("py:exc", "HTTPMethodNotAllowed"),  # undocumented
      ("py:class", "HTTPMethodNotAllowed"),  # undocumented
  ]
@@ -19,7 +19,7 @@ Handler <bound method TowncrierDraftEntriesEnvironmentCollector.get_outdated_doc
 -# -- Options for towncrier_draft extension -----------------------------------
 -
 -towncrier_draft_autoversion_mode = "draft"  # or: 'sphinx-version', 'sphinx-release'
--towncrier_draft_include_empty = True
+-towncrier_draft_include_empty = False
 -towncrier_draft_working_directory = PROJECT_ROOT_DIR
 -# Not yet supported: towncrier_draft_config_path = 'pyproject.toml'  # relative to cwd
 --- aiohttp-3.8.1/docs/changes.rst~	2021-11-14 21:05:00.000000000 +0100
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-aiohttp.git/commitdiff/d62e874467d7c8c1edd708cfcbe88248643b6cd5



More information about the pld-cvs-commit mailing list