Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-dropbox for openSUSE:Factory
checked in at 2026-09-29 17:50:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-dropbox (Old)
and /work/SRC/openSUSE:Factory/.python-dropbox.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dropbox"
Tue Sep 29 17:50:44 2026 rev:9 rq:1381274 version:12.2.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-dropbox/python-dropbox.changes
2025-05-13 20:06:38.813801108 +0200
+++
/work/SRC/openSUSE:Factory/.python-dropbox.new.383539/python-dropbox.changes
2026-09-29 17:52:59.212242211 +0200
@@ -1,0 +2,17 @@
+Tue Sep 29 02:32:52 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Update to 12.2.2:
+ * Automatically add content hashes to uploads
+ * Migrate packaging from setup.py to pyproject.toml (PEP 517/621)
+ * Fix client bugs: refresh retry, error parsing, clone user-agent, scope
+ validation
+ * Remove redundant ply entry from requirements.txt
+ * Modernize GitHub Actions in coverage and spec_update workflows
+ * Drop six dependency and require Python 3.11+
+ * Fix release workflow so sdist install works under setuptools >= 82
+ * Remove pytest-runner / setup.py test support
+- Remove patch remove_six.patch, included upstream.
+- Add patch remove-mock.patch:
+ * Do not require external mock module.
+
+-------------------------------------------------------------------
Old:
----
dropbox-12.0.2.tar.gz
remove_six.patch
New:
----
dropbox-12.2.2.tar.gz
remove-mock.patch
----------(Old B)----------
Old: * Remove pytest-runner / setup.py test support
- Remove patch remove_six.patch, included upstream.
- Add patch remove-mock.patch:
----------(Old E)----------
----------(New B)----------
New:- Remove patch remove_six.patch, included upstream.
- Add patch remove-mock.patch:
* Do not require external mock module.
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-dropbox.spec ++++++
--- /var/tmp/diff_new_pack.y5Lwm8/_old 2026-09-29 17:53:00.549298034 +0200
+++ /var/tmp/diff_new_pack.y5Lwm8/_new 2026-09-29 17:53:00.551298118 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-dropbox
#
-# Copyright (c) 2025 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
@@ -18,22 +18,29 @@
%{?sle15_python_module_pythons}
Name: python-dropbox
-Version: 12.0.2
+Version: 12.2.2
Release: 0
Summary: Official Dropbox API Client
License: MIT
-Group: Development/Languages/Python
URL: https://github.com/dropbox/dropbox-sdk-python
Source:
https://github.com/dropbox/dropbox-sdk-python/archive/refs/tags/v%{version}.tar.gz#/dropbox-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM remove_six.patch
https://github.com/dropbox/dropbox-sdk-python/pull/493
-Patch1: remove_six.patch
+# PATCH-FIX-UPSTREAM gh#dropbox/dropbox-sdk-python#598
+Patch0: remove-mock.patch
+BuildRequires: %{python_module base >= 3.11}
BuildRequires: %{python_module pip}
+BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+# SECTION test requirements
+BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module pytest-mock}
+BuildRequires: %{python_module requests >= 2.16.2}
+BuildRequires: %{python_module stone >= 3.5.3}
+# /SECTION
Requires: python-requests >= 2.16.2
-Requires: python-stone
+Requires: python-stone >= 3.5.3
BuildArch: noarch
%python_subpackages
@@ -51,7 +58,9 @@
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-# Tests require an access token
+%check
+# Integration tests require real AWS credientials
+%pytest --ignore test/integration
%files %{python_files}
%doc README.rst
@@ -59,5 +68,3 @@
%{python_sitelib}/dropbox
%{python_sitelib}/dropbox-%{version}.dist-info
-%check
-
++++++ dropbox-12.0.2.tar.gz -> dropbox-12.2.2.tar.gz ++++++
++++ 219647 lines of diff (skipped)
++++++ remove-mock.patch ++++++
>From a13fb00196c2b5d56b989a76c5dd4c4bc4aafd31 Mon Sep 17 00:00:00 2001
From: Steve Kowalik <[email protected]>
Date: Tue, 29 Sep 2026 12:16:58 +1000
Subject: [PATCH] Remove external mock dependency
Python 3.4 added mock to the unittest module, and we support a much
newer version than that, so drop the requirement.
---
pyproject.toml | 2 +-
test/requirements.txt | 1 -
test/unit/test_dropbox_unit.py | 2 +-
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/pyproject.toml b/pyproject.toml
index cdaac3de..24c701a9 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -34,7 +34,7 @@ Homepage = "http://www.dropbox.com/developers"
Source = "https://github.com/dropbox/dropbox-sdk-python"
[project.optional-dependencies]
-test = ["pytest", "mock", "pytest-mock", "coverage", "stone>=3.5.3,<4"]
+test = ["pytest", "pytest-mock", "coverage", "stone>=3.5.3,<4"]
docs = ["sphinx", "sphinx_rtd_theme"]
dev = ["flake8", "twine", "wheel", "build"]
diff --git a/test/requirements.txt b/test/requirements.txt
index 65d087ab..2d395953 100644
--- a/test/requirements.txt
+++ b/test/requirements.txt
@@ -1,5 +1,4 @@
pytest
-mock
pytest-mock
coverage
stone>=3.5.3,<4
diff --git a/test/unit/test_dropbox_unit.py b/test/unit/test_dropbox_unit.py
index 31a4e8d4..0a8bb30f 100644
--- a/test/unit/test_dropbox_unit.py
+++ b/test/unit/test_dropbox_unit.py
@@ -4,8 +4,8 @@
import json
import pickle
from datetime import datetime, timedelta
+from unittest import mock
-import mock
import pytest
import requests