Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Paste for openSUSE:Factory 
checked in at 2023-01-10 14:59:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Paste (Old)
 and      /work/SRC/openSUSE:Factory/.python-Paste.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Paste"

Tue Jan 10 14:59:00 2023 rev:35 rq:1056966 version:3.5.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Paste/python-Paste.changes        
2022-09-15 22:57:30.852931445 +0200
+++ /work/SRC/openSUSE:Factory/.python-Paste.new.32243/python-Paste.changes     
2023-01-10 14:59:05.828977291 +0100
@@ -1,0 +2,7 @@
+Mon Jan  9 05:47:04 UTC 2023 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Add patch support-python-311.patch:
+  * Filter Deprecationwarning for one test script.
+- Remove Python 2 gubbins.
+
+-------------------------------------------------------------------

New:
----
  support-python-311.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-Paste.spec ++++++
--- /var/tmp/diff_new_pack.QOzPo4/_old  2023-01-10 14:59:06.600981423 +0100
+++ /var/tmp/diff_new_pack.QOzPo4/_new  2023-01-10 14:59:06.604981445 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Paste
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,6 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define oldpython python
 Name:           python-Paste
 Version:        3.5.2
 Release:        0
@@ -26,6 +24,7 @@
 URL:            https://github.com/cdent/paste
 Source:         
https://files.pythonhosted.org/packages/source/P/Paste/Paste-%{version}.tar.gz
 Patch0:         test_modified-fixup.patch
+Patch1:         support-python-311.patch
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module six > 1.4.0}
@@ -33,15 +32,8 @@
 BuildRequires:  python-rpm-macros
 Requires:       python-six > 1.4.0
 Suggests:       python-flup
-BuildArch:      noarch
-%ifpython2
-Suggests:       python-python-openid
-Provides:       %{oldpython}-paste = %{version}
-Obsoletes:      %{oldpython}-paste < %{version}
-%endif
-%if %{python_version_nodots} >= 30
 Suggests:       python-python3-openid
-%endif
+BuildArch:      noarch
 %python_subpackages
 
 %description
@@ -51,8 +43,7 @@
 interfaces.
 
 %prep
-%setup -q -n Paste-%{version}
-%patch0 -p1
+%autosetup -p1 -n Paste-%{version}
 sed -i '/pytest-runner/d' setup.py
 # remove test requiring internet access
 rm tests/test_proxy.py

++++++ support-python-311.patch ++++++
Index: Paste-3.5.2/tests/cgiapp_data/form.cgi
===================================================================
--- Paste-3.5.2.orig/tests/cgiapp_data/form.cgi
+++ Paste-3.5.2/tests/cgiapp_data/form.cgi
@@ -2,6 +2,11 @@
 
 from __future__ import print_function
 
+import warnings
+# Since the Paste machinery expects these scripts to return no stderr,
+# filter all DeprecationWarnings
+warnings.simplefilter("ignore", category=DeprecationWarning)
+
 import cgi
 import six
 

Reply via email to