15
0

Accepting request 1127939 from home:mcalabkova:branches:devel:languages:python

- Require old urllib3
  * Cookie headers are stripped since urllib3 2.0.6, which breaks Firewall

OBS-URL: https://build.opensuse.org/request/show/1127939
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-digitalocean?expand=0&rev=10
This commit is contained in:
2023-11-21 16:53:22 +00:00
committed by Git OBS Bridge
parent 87803f0b34
commit a774b4c6a1
2 changed files with 11 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 21 15:07:55 UTC 2023 - Markéta Machová <mmachova@suse.com>
- Require old urllib3
* Cookie headers are stripped since urllib3 2.0.6, which breaks Firewall
-------------------------------------------------------------------
Sun Jul 2 12:24:05 UTC 2023 - ecsos <ecsos@opensuse.org>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-digitalocean
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -30,6 +30,7 @@ BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.2.1}
BuildRequires: %{python_module responses}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module urllib3 < 2.0.6}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
@@ -37,6 +38,8 @@ Requires: python-jsonpickle
Requires: python-pytest
Requires: python-requests >= 2.2.1
Requires: python-responses
# urllib3 2.0.6 strips Cookies header, which changes the behavior of requests, which in turn breaks the Firewall tests
Requires: python-urllib3 < 2.0.6
BuildArch: noarch
%python_subpackages
@@ -44,7 +47,7 @@ BuildArch: noarch
Python module to manage Digital Ocean droplets.
%prep
%setup -q -n python-digitalocean-%{version}
%autosetup -p1 -n python-digitalocean-%{version}
%build
export LANG=en_US.UTF-8