Sync from SUSE:SLFO:Main python-Paste revision a6043eb7e10fb27c2d650e5239cab4a1

This commit is contained in:
Adrian Schröter 2024-12-13 10:49:29 +01:00
parent a0c4c2c91d
commit acf725b6ff
5 changed files with 70 additions and 33 deletions

BIN
Paste-3.5.2.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
paste-3.10.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,55 @@
-------------------------------------------------------------------
Thu Aug 29 10:49:09 UTC 2024 - pgajdos@suse.com
- python-six is not required
-------------------------------------------------------------------
Mon Jul 29 14:43:27 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.10.1
* Correct packaging and testing when not in a clean virtualenv
- from version 3.10.0
* Move development to https://github.com/pasteorg/paste
* Vendor cgi.FieldStorage and cgitb.Hook
* More cleaning of Python 2 style code.
- Adjust upstream source name in spec file
-------------------------------------------------------------------
Mon Apr 15 06:11:49 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.9.0:
* misc bugs + please pyflakes
* Remove unused format_environ method in watchthreads APP
-------------------------------------------------------------------
Fri Mar 22 20:46:48 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.8.0:
* remove most python2 compatibility
-------------------------------------------------------------------
Tue Dec 12 13:21:29 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.7.1:
* The main change for 3.7.0 and beyond is dropping support for
Python 2. In the past it was possible to get Paste to work in
Python 2 with some effort. That's now no longer possible. If
Python 2 is required for some reason, use an older version of
Paste.
- update to 3.6.1:
* Turn on github action for tests on pull requests
* Add a Makefile for simple automation
-------------------------------------------------------------------
Mon Aug 28 04:41:38 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 3.5.3:
* Use importlib instead of imp with Python 3.
- Drop patch support-python-311.patch, something similar now included
upstream.
- Switch to pyproject macros.
- Stop using greedy globs in %files.
-------------------------------------------------------------------
Tue May 9 13:53:17 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
@ -13,7 +65,7 @@ Mon Jan 9 05:47:04 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
-------------------------------------------------------------------
Fri Sep 9 11:24:27 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- update to 3.5.2:
- update to 3.5.2:
* Fix py3 compatibility in paste.wsgilib.catch_errors (#70)
* A Python 3 application might only define `__next__`, not `next`. Use
`six.next` instead.
@ -45,7 +97,7 @@ Fri Oct 9 04:10:19 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 3.4.6:
* Explicit pkg_resource dependency to easy packaging.
* Remove deprecated dependencies paste/fixture.py.
* Update setup.py to work with setuptools 50.1.0+
* Update setup.py to work with setuptools 50.1.0+
-------------------------------------------------------------------
Tue Aug 4 12:08:43 UTC 2020 - Dirk Mueller <dmueller@suse.com>
@ -186,7 +238,7 @@ Tue Mar 6 17:00:13 UTC 2018 - aplanas@suse.com
Tue Feb 27 13:47:03 UTC 2018 - aplanas@suse.com
- Suggest only for SUSE
- Use %{__python3} macro
- Use %{__python3} macro
-------------------------------------------------------------------
Wed Aug 9 16:21:38 UTC 2017 - tbechtold@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-Paste
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,20 +18,20 @@
%{?sle15_python_module_pythons}
Name: python-Paste
Version: 3.5.2
Version: 3.10.1
Release: 0
Summary: Tools for using a Web Server Gateway Interface stack
License: MIT
URL: https://github.com/cdent/paste
Source: https://files.pythonhosted.org/packages/source/P/Paste/Paste-%{version}.tar.gz
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 pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six > 1.4.0}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-six > 1.4.0
Requires: python-setuptools
Suggests: python-flup
Suggests: python-python3-openid
BuildArch: noarch
@ -44,16 +44,15 @@ interface, and should be compatible with other middleware based on those
interfaces.
%prep
%autosetup -p1 -n Paste-%{version}
sed -i '/pytest-runner/d' setup.py
%autosetup -p1 -n paste-%{version}
# remove test requiring internet access
rm tests/test_proxy.py
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@ -62,6 +61,8 @@ rm tests/test_proxy.py
%files %{python_files}
%license docs/license.txt
%doc README.rst
%{python_sitelib}/*
%{python_sitelib}/paste
%{python_sitelib}/Paste-%{version}.dist-info
%{python_sitelib}/Paste-%{version}-py*-nspkg.pth
%changelog

View File

@ -1,16 +0,0 @@
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