public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-dropbox] f43: Remove dependency on deprecated pytest-runner
Date: Fri, 10 Jul 2026 14:08:45 GMT [thread overview]
Message-ID: <178369252523.1.11363353267715724282.rpms-python-dropbox-25d73ecc9e1b@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-dropbox
Branch : f43
Commit : 25d73ecc9e1be2bebb4f108cb8c932bfd40c71dc
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-01-22T14:18:07+00:00
Stats : +51/-16 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-dropbox/c/25d73ecc9e1be2bebb4f108cb8c932bfd40c71dc?branch=f43
Log:
Remove dependency on deprecated pytest-runner
---
diff --git a/dropbox-12.0.2-no-pytest-runner.patch b/dropbox-12.0.2-no-pytest-runner.patch
new file mode 100644
index 0000000..9b3ae5b
--- /dev/null
+++ b/dropbox-12.0.2-no-pytest-runner.patch
@@ -0,0 +1,42 @@
+diff -Naur dropbox-12.0.2-original/setup.cfg dropbox-12.0.2/setup.cfg
+--- dropbox-12.0.2-original/setup.cfg 2024-06-03 17:45:26.000000000 +0100
++++ dropbox-12.0.2/setup.cfg 2026-01-22 14:17:16.419433749 +0000
+@@ -1,6 +1,3 @@
+-[aliases]
+-test = pytest
+-
+ [metadata]
+ description_file = README.rst
+
+diff -Naur dropbox-12.0.2-original/setup.py dropbox-12.0.2/setup.py
+--- dropbox-12.0.2-original/setup.py 2024-06-03 17:45:16.000000000 +0100
++++ dropbox-12.0.2/setup.py 2026-01-22 14:17:35.466709052 +0000
+@@ -30,19 +30,6 @@
+ 'stone>=2,<3.3.3',
+ ]
+
+-setup_requires = [
+- # Pin pytest-runner to 5.2.0, since 5.3.0 uses `find_namespaces` directive, not supported in
+- # Python 2.7
+- 'pytest-runner==5.2.0',
+-]
+-
+-# WARNING: This imposes limitations on test/requirements.txt such that the
+-# full Pip syntax is not supported. See also
+-# <http://stackoverflow.com/questions/14399534/>.
+-test_reqs = []
+-with open('test/requirements.txt') as f:
+- test_reqs += f.read().splitlines()
+-
+ with codecs.open('README.rst', encoding='utf-8') as f:
+ README = f.read()
+
+@@ -50,8 +37,6 @@
+ name='dropbox',
+ version=version,
+ install_requires=install_reqs,
+- setup_requires=setup_requires,
+- tests_require=test_reqs,
+ packages=['dropbox'],
+ zip_safe=False,
+ author_email='dev-platform@dropbox.com',
diff --git a/python-dropbox.spec b/python-dropbox.spec
index d18e5fc..850d0b2 100644
--- a/python-dropbox.spec
+++ b/python-dropbox.spec
@@ -1,13 +1,16 @@
%global pypi_name dropbox
Name: python-%{pypi_name}
Version: 12.0.2
-Release: 10%{?dist}
+Release: 11%{?dist}
Summary: Official Dropbox REST API Client
License: MIT
URL: https://www.dropbox.com/developers/core/sdks
Source0: %pypi_source
-Patch0: unpin-pytest-runner.patch
+# Remove pytest-runner / setup.py test support
+# https://github.com/dropbox/dropbox-sdk-python/pull/523
+# Without changes to requirements.txt, which is not in the PyPI sdist
+Patch: dropbox-12.0.2-no-pytest-runner.patch
BuildArch: noarch
@@ -29,9 +32,7 @@ Requires: python3-urllib3
A Python library for Dropbox's HTTP-based Core and Datastore APIs.
%prep
-%setup -q -n %{pypi_name}-%{version}
-
-%patch -P 0 -p0
+%autosetup -n %{pypi_name}-%{version} -p1
%generate_buildrequires
%pyproject_buildrequires
@@ -49,6 +50,9 @@ A Python library for Dropbox's HTTP-based Core and Datastore APIs.
%{python3_sitelib}/%{pypi_name}-%{version}.dist-info/
%changelog
+* Thu Jan 22 2026 Benjamin A. Beasley <code@musicinmybrain.net> - 12.0.2-11
+- Remove dependency on deprecated pytest-runner
+
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.2-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
diff --git a/unpin-pytest-runner.patch b/unpin-pytest-runner.patch
deleted file mode 100644
index 842cb86..0000000
--- a/unpin-pytest-runner.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- setup.py~ 2024-06-03 11:45:16.000000000 -0500
-+++ setup.py 2024-06-03 13:56:43.456082914 -0500
-@@ -33,7 +33,7 @@
- setup_requires = [
- # Pin pytest-runner to 5.2.0, since 5.3.0 uses `find_namespaces` directive, not supported in
- # Python 2.7
-- 'pytest-runner==5.2.0',
-+# 'pytest-runner==5.2.0',
- ]
-
- # WARNING: This imposes limitations on test/requirements.txt such that the
reply other threads:[~2026-07-10 14:08 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178369252523.1.11363353267715724282.rpms-python-dropbox-25d73ecc9e1b@fedoraproject.org \
--to=code@musicinmybrain.net \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox