public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-enrich] f45: Remove dependency on python3-mock
@ 2026-11-28 16:03 Maxwell G
0 siblings, 0 replies; only message in thread
From: Maxwell G @ 2026-11-28 16:03 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-28 16:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-28 16:03 [rpms/python-enrich] f45: Remove dependency on python3-mock Maxwell G
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox