forked from pool/python-WebOb
* Add legacy-cgi to install_requires to support Python 3.13. - Switch to autosetup macro. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WebOb?expand=0&rev=74
24 lines
678 B
Diff
24 lines
678 B
Diff
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,
|