Accepting request 1069145 from devel:languages:python
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1069145 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests?expand=0&rev=77
This commit is contained in:
commit
76000c4a36
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 16 17:03:23 UTC 2023 - David Anes <david.anes@suse.com>
|
||||
|
||||
- Don't upper limit version of charset_normalized at runtime, too.
|
||||
* Added change to patch: requests-no-hardcoded-version.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 21 10:01:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -33,9 +33,8 @@ License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://docs.python-requests.org/
|
||||
Source: https://files.pythonhosted.org/packages/source/r/requests/requests-%{version}.tar.gz
|
||||
# PATCH-FIX-SUSE: do not hardcode versions in setup.py/requirements
|
||||
# PATCH-FIX-UPSTREAM: Allow charset normalizer >=2 and <4, and don't strict require httpbin===1.0.0
|
||||
Patch0: requests-no-hardcoded-version.patch
|
||||
# PATCH-FIX-UPSTREAN: Allow charset normalizer >=2 and <4
|
||||
BuildRequires: %{python_module base >= 3.7}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@ -91,8 +90,7 @@ Features of Requests:
|
||||
+ URL + HTTP Auth Registry.
|
||||
|
||||
%prep
|
||||
%setup -q -n requests-%{version}
|
||||
%autopatch -p1
|
||||
%autosetup -p1 -n requests-%{version}
|
||||
|
||||
# drop shebang from certs.py
|
||||
sed -i '1s/^#!.*$//' requests/certs.py
|
||||
|
@ -1,7 +1,22 @@
|
||||
diff -ur requests-2.28.1.orig/setup.py requests-2.28.1/setup.py
|
||||
--- requests-2.28.1.orig/setup.py 2022-06-29 17:09:45.000000000 +0200
|
||||
+++ requests-2.28.1/setup.py 2022-06-29 21:15:48.428104387 +0200
|
||||
@@ -65,7 +65,7 @@
|
||||
---
|
||||
requirements-dev.txt | 2 +-
|
||||
setup.py | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
--- a/requirements-dev.txt
|
||||
+++ b/requirements-dev.txt
|
||||
@@ -1,7 +1,7 @@
|
||||
-e .[socks]
|
||||
pytest>=2.8.0,<=6.2.5
|
||||
pytest-cov
|
||||
-pytest-httpbin==1.0.0
|
||||
+pytest-httpbin>=1.0.0
|
||||
pytest-mock==2.0.0
|
||||
httpbin==0.7.0
|
||||
trustme
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -65,7 +65,7 @@ requires = [
|
||||
"certifi>=2017.4.17",
|
||||
]
|
||||
test_requirements = [
|
||||
|
Loading…
Reference in New Issue
Block a user