diff --git a/Paste-3.7.1.tar.gz b/Paste-3.8.0.tar.gz similarity index 32% rename from Paste-3.7.1.tar.gz rename to Paste-3.8.0.tar.gz index a5342f2cbce72208e74b866b866afad8d6ed45aa..9ec96df3fcb5e3c609af1a6db588a34fc4c01693 100644 Binary files a/Paste-3.7.1.tar.gz and b/Paste-3.8.0.tar.gz differ diff --git a/backport-python3-socke-use-SocketIO.patch b/backport-python3-socke-use-SocketIO.patch deleted file mode 100644 index eea02498bd0b33ab1030f94d9c2cc9bb99bc18fe..0000000000000000000000000000000000000000 --- a/backport-python3-socke-use-SocketIO.patch +++ /dev/null @@ -1,25 +0,0 @@ -From commit ID:449855bda4c78f3e594f54736fc781fab87c1910 Mon Sep 17 00:00:00 2001 -From:commit ref commiter:huiwen -Date: Wed, 8 May 2024 19:48:50 +0800 -Subject: [PATCH] fix of broken Python 2 code - ---- - paste/httpserver.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/paste/httpserver.py b/paste/httpserver.py -index 8023bfd..b040ad4 100755 ---- a/paste/httpserver.py -+++ b/paste/httpserver.py -@@ -353,7 +353,7 @@ else: - def __init__(self, conn): - self.__conn = conn - def makefile(self, mode, bufsize): -- return socket._fileobject(self.__conn, mode, bufsize) -+ return socket.SocketIO(self.__conn, mode) - def __getattr__(self, attrib): - return getattr(self.__conn, attrib) - --- -2.43.0 - diff --git a/python-paste.spec b/python-paste.spec index 69dbd91bc3ae327bc18422490359f506e6744b88..867afc5fe3ff9a955608c4f7a9ed06f7558b3b53 100644 --- a/python-paste.spec +++ b/python-paste.spec @@ -1,6 +1,6 @@ Name: python-paste -Version: 3.7.1 -Release: 2 +Version: 3.8.0 +Release: 1 Summary: Tools for using a Web Server Gateway Interface stack License: MIT and ZPLv2.0 and Python and (AFL-2.1 or MIT) and (MIT or ASL 2.0) @@ -11,7 +11,6 @@ Source0: https://files.pythonhosted.org/packages/source/P/Paste/Paste-%{v BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pyOpenSSL python3-setuptools python3-six python3-tempita -Patch0001: backport-python3-socke-use-SocketIO.patch %description Paste provides several pieces of "middleware" (or filters) that can be nested @@ -65,6 +64,13 @@ popd %doc docs/* %changelog +* Thu Nov 07 2024 songliyang - 3.8.0-1 +- upgrade to version 3.8.0 +- fix typo on setup.py +- Replaced distutils with pathlib +- fix: remove redundant query string parse +- remove most python2 compatibility + * Tue May 7 2024 tenglei - 3.7.1-2 - python3 socke use SocketIO