14
0
forked from pool/python-WebOb

Accepting request 1230025 from home:glaubitz:branches:devel:languages:python

- Update to 1.8.9
  * Add `legacy-cgi` dependency for Python 3.13+
  * Add info for 1.8.9 fix for Python 3.13
- Drop support-python-313.patch, merged upstream
- Update Requires from setup.py

OBS-URL: https://build.opensuse.org/request/show/1230025
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WebOb?expand=0&rev=76
This commit is contained in:
2024-12-11 09:55:42 +00:00
committed by Git OBS Bridge
parent ab93c7df18
commit e944757c4d
5 changed files with 14 additions and 30 deletions

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Dec 11 08:46:23 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.8.9
* Add `legacy-cgi` dependency for Python 3.13+
* Add info for 1.8.9 fix for Python 3.13
- Drop support-python-313.patch, merged upstream
- Update Requires from setup.py
-------------------------------------------------------------------
Wed Oct 16 22:59:06 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -18,14 +18,12 @@
%{?sle15_python_module_pythons}
Name: python-WebOb
Version: 1.8.8
Version: 1.8.9
Release: 0
Summary: WSGI request and response object
License: MIT
URL: http://webob.org/
Source: https://files.pythonhosted.org/packages/source/w/webob/webob-%{version}.tar.gz
# PATCH-FIX-UPSTREAM gh#Pylons/webob#469
Patch0: support-python-313.patch
BuildRequires: %{python_module legacy-cgi if %python-base >= 3.13}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
@@ -36,7 +34,7 @@ BuildRequires: python-rpm-macros
BuildRequires: fdupes
BuildRequires: python3-Sphinx
%if %{python_version_nodots} >= 313
Requires: python-legacy-cgi
Requires: python-legacy-cgi >= 2.6
%endif
BuildArch: noarch
%python_subpackages

View File

@@ -1,23 +0,0 @@
From 8b2fc22103ac1b8082752717a3a8a632eb1f4326 Mon Sep 17 00:00:00 2001
From: Theron Luhn <theron@luhn.com>
Date: Thu, 10 Oct 2024 14:23:32 -0700
Subject: [PATCH] Add `legacy-cgi` dependency for Python 3.13+
---
setup.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/setup.py b/setup.py
index 7e8695a7..dbb00157 100644
--- a/setup.py
+++ b/setup.py
@@ -52,6 +52,9 @@
packages=find_packages('src', exclude=['tests']),
package_dir={'': 'src'},
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*',
+ install_requires=[
+ "legacy-cgi>=2.6; python_version>='3.13'",
+ ],
zip_safe=True,
extras_require={
'testing': testing_extras,

Binary file not shown.

BIN
webob-1.8.9.tar.gz LFS Normal file

Binary file not shown.