Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-starlette for
openSUSE:Factory checked in at 2021-09-27 20:09:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-starlette (Old)
and /work/SRC/openSUSE:Factory/.python-starlette.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-starlette"
Mon Sep 27 20:09:00 2021 rev:3 rq:921787 version:0.16.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-starlette/python-starlette.changes
2021-07-26 17:38:22.422074124 +0200
+++
/work/SRC/openSUSE:Factory/.python-starlette.new.1899/python-starlette.changes
2021-09-27 20:09:26.782497669 +0200
@@ -1,0 +2,6 @@
+Mon Sep 27 12:44:18 UTC 2021 - Matej Cepl <[email protected]>
+
+- Add py39-ignore-loop-deprecation.patch to fix failing tests
+ (gh#encode/starlette#1293).
+
+-------------------------------------------------------------------
New:
----
py39-ignore-loop-deprecation.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-starlette.spec ++++++
--- /var/tmp/diff_new_pack.YLjQIv/_old 2021-09-27 20:09:27.294498233 +0200
+++ /var/tmp/diff_new_pack.YLjQIv/_new 2021-09-27 20:09:27.298498237 +0200
@@ -26,6 +26,9 @@
Group: Development/Languages/Python
URL: https://github.com/encode/starlette
Source:
https://github.com/encode/starlette/archive/refs/tags/%{version}.tar.gz#/starlette-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM py39-ignore-loop-deprecation.patch
gh#encode/starlette#1293 [email protected]
+# Ignore loop deprecation warnings originating inside asyncio; bpo#45097
+Patch0: py39-ignore-loop-deprecation.patch
BuildRequires: %{python_module Jinja2}
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module aiofiles}
@@ -65,7 +68,7 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-# Deprecate built-in GraphQL support #1135
+# Deprecate built-in GraphQL support gh#encode/starlette#1135
rm tests/test_graphql.py
# Remove unrecognized arguments: --strict-config --strict-markers
sed -i "s|--strict-config||" setup.cfg
++++++ py39-ignore-loop-deprecation.patch ++++++
>From 0c9ea3c00cc0a267b3ef9dd7a0c0874f466e9cf6 Mon Sep 17 00:00:00 2001
From: Marcelo Trylesinski <[email protected]>
Date: Thu, 16 Sep 2021 13:48:07 +0200
Subject: [PATCH] Update setup.cfg
---
setup.cfg | 2 ++
1 file changed, 2 insertions(+)
diff --git a/setup.cfg b/setup.cfg
index f59a7202..1266d95c 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -29,6 +29,8 @@ filterwarnings=
ignore: Using or importing the ABCs from 'collections' instead of from
'collections\.abc' is deprecated.*:DeprecationWarning
ignore: The 'context' alias has been deprecated. Please use
'context_value' instead\.:DeprecationWarning
ignore: The 'variables' alias has been deprecated. Please use
'variable_values' instead\.:DeprecationWarning
+ # Workaround for Python 3.9.7 (see https://bugs.python.org/issue45097)
+ ignore:The loop argument is deprecated since Python 3\.8, and scheduled
for removal in Python 3\.10\.:DeprecationWarning:asyncio
[coverage:run]
source_pkgs = starlette, tests