Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-digitalocean for 
openSUSE:Factory checked in at 2026-08-12 16:12:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-digitalocean (Old)
 and      /work/SRC/openSUSE:Factory/.python-digitalocean.new.17972 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-digitalocean"

Wed Aug 12 16:12:20 2026 rev:7 rq:1370782 version:1.17.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-digitalocean/python-digitalocean.changes  
2023-11-21 21:34:37.797127553 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-digitalocean.new.17972/python-digitalocean.changes
       2026-08-12 16:13:29.976986347 +0200
@@ -1,0 +2,9 @@
+Wed Aug 12 05:59:39 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch no-body-with-204-status.patch:
+  * Cookie header stripping was a red herring, do not return a body when
+    the status code is 204.
+- Remove upper pin on urllib3.
+- Clean up Requires.
+
+-------------------------------------------------------------------

New:
----
  no-body-with-204-status.patch

----------(New B)----------
  New:
- Add patch no-body-with-204-status.patch:
  * Cookie header stripping was a red herring, do not return a body when
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-digitalocean.spec ++++++
--- /var/tmp/diff_new_pack.uLntGl/_old  2026-08-12 16:13:31.817064070 +0200
+++ /var/tmp/diff_new_pack.uLntGl/_new  2026-08-12 16:13:31.833064746 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-digitalocean
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,26 +22,22 @@
 Release:        0
 Summary:        Python module for Digital Ocean droplets
 License:        LGPL-3.0-only
-Group:          Development/Languages/Python
 URL:            https://github.com/koalalorenzo/python-digitalocean/
 Source:         
https://github.com/koalalorenzo/python-digitalocean/archive/v%{version}.tar.gz
+# PATCH-FIX-OPENSUSE Do not return a body in the firewall mocks
+Patch0:         no-body-with-204-status.patch
 BuildRequires:  %{python_module jsonpickle}
 BuildRequires:  %{python_module pip}
 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:  %{python_module urllib3}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  unzip
 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
 
@@ -68,5 +64,5 @@
 %doc README.md
 %license LICENSE.txt
 %{python_sitelib}/digitalocean
-%{python_sitelib}/python_digitalocean-%{version}*-info
+%{python_sitelib}/python_digitalocean-%{version}.dist-info
 

++++++ no-body-with-204-status.patch ++++++
Index: python-digitalocean-1.17.0/digitalocean/tests/test_firewall.py
===================================================================
--- python-digitalocean-1.17.0.orig/digitalocean/tests/test_firewall.py
+++ python-digitalocean-1.17.0/digitalocean/tests/test_firewall.py
@@ -65,7 +65,6 @@ class TestFirewall(BaseTest):
 
         url = self.base_url + "firewalls/12345/droplets"
         responses.add(responses.POST, url,
-                      body=data,
                       status=204,
                       content_type='application/json')
 
@@ -81,7 +80,6 @@ class TestFirewall(BaseTest):
         url = self.base_url + "firewalls/12345/droplets"
         responses.add(responses.DELETE,
                       url,
-                      body=data,
                       status=204,
                       content_type='application/json')
 
@@ -96,7 +94,6 @@ class TestFirewall(BaseTest):
 
         url = self.base_url + "firewalls/12345/tags"
         responses.add(responses.POST, url,
-                      body=data,
                       status=204,
                       content_type='application/json')
 
@@ -111,7 +108,6 @@ class TestFirewall(BaseTest):
 
         url = self.base_url + "firewalls/12345/tags"
         responses.add(responses.DELETE, url,
-                      body=data,
                       status=204,
                       content_type='application/json')
 

Reply via email to