public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Maxwell G <maxwell@gtmx.me>
To: git-commits@fedoraproject.org
Subject: [rpms/python-enrich] f45: Remove dependency on python3-mock
Date: Sat, 28 Nov 2026 16:03:49 GMT [thread overview]
Message-ID: <179588182953.1.15197910563709638416.rpms-python-enrich-24c9f0c53a2c@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-enrich
Branch : f45
Commit : 24c9f0c53a2c30803d51027348e6211e5e2f3ea6
Author : Maxwell G <maxwell@gtmx.me>
Date : 2024-01-12T21:54:57+00:00
Stats : +27/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-enrich/c/24c9f0c53a2c30803d51027348e6211e5e2f3ea6?branch=f45
Log:
Remove dependency on python3-mock
---
diff --git a/python-enrich.spec b/python-enrich.spec
index 3d5db94..480a630 100644
--- a/python-enrich.spec
+++ b/python-enrich.spec
@@ -19,6 +19,10 @@ License: MIT
BuildArch: noarch
patch: 0001-remove-unsuported-pytest-option.patch
patch: 0002_remove_pytest_plus_dependency.patch
+# Backport of:
+# Remove mock from test dependencies (#46)
+# https://github.com/pycontribs/enrich/commit/6a21526fed438cdcd3ee0f9be27d8348293adcee
+Patch: remove-python-mock.patch
BuildRequires: python3-devel
BuildRequires: pyproject-rpm-macros
diff --git a/remove-python-mock.patch b/remove-python-mock.patch
new file mode 100644
index 0000000..75b20ec
--- /dev/null
+++ b/remove-python-mock.patch
@@ -0,0 +1,23 @@
+From 916c074099c75d02cf1436462710baf63b0709bc Mon Sep 17 00:00:00 2001
+From: David Runge <dave@sleepmap.de>
+Date: Thu, 1 Dec 2022 14:42:27 +0100
+Subject: [PATCH] Remove mock from test dependencies (#46)
+
+Co-authored-by: Sorin Sbarnea <sorin.sbarnea@gmail.com>
+---
+ setup.cfg | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/setup.cfg b/setup.cfg
+index a0a8c61..5c995cc 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -62,8 +62,7 @@ install_requires =
+
+ [options.extras_require]
+ test =
+- mock>=3.0.5
+ pytest-cov>=2.7.1
+ pytest-mock>=3.3.1
+ pytest-xdist>=1.29.0
+ pytest>=5.4.0
reply other threads:[~2026-11-28 16:03 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=179588182953.1.15197910563709638416.rpms-python-enrich-24c9f0c53a2c@fedoraproject.org \
--to=maxwell@gtmx.me \
--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