public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/trash-cli] pr6: Do not BuildRequire a specific virtualenv version
@ 2026-09-20 13:18
0 siblings, 0 replies; only message in thread
From: @ 2026-09-20 13:18 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/trash-cli
Branch : pr6
Commit : f04fd18f136565866b4dc3d1771d6cc38137f407
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-03-06T21:15:28+01:00
Stats : +3/-12 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/trash-cli/c/f04fd18f136565866b4dc3d1771d6cc38137f407?branch=pr6
Log:
Do not BuildRequire a specific virtualenv version
---
diff --git a/trash-cli.spec b/trash-cli.spec
index 63b112b..ffa0947 100644
--- a/trash-cli.spec
+++ b/trash-cli.spec
@@ -5,7 +5,6 @@ Release: %autorelease
License: GPL-2.0-or-later
URL : https://github.com/andreafrancia/trash-cli
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
-Patch1: virtualenv-versionlift.patch
# Replace parameterized with built-in pytest functionality
# https://github.com/andreafrancia/trash-cli/pull/373
Patch2: trash-cli-0.24.5.26-no-parameterized.patch
@@ -22,6 +21,9 @@ compatible with rm and you can use trash-put as an alias to rm.
%prep
%autosetup -n %{name}-%{version} -p1
+# Remove pinned virtualenv version required for tox,
+# which we only run to get the test depndencies anyway.
+sed -i '/requires = virtualenv</d' tox.ini
%generate_buildrequires
%pyproject_buildrequires -t
diff --git a/virtualenv-versionlift.patch b/virtualenv-versionlift.patch
deleted file mode 100644
index c3ce467..0000000
--- a/virtualenv-versionlift.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff --git a/tox.ini b/tox.ini
-index 61c6de6..8ab184f 100644
---- a/tox.ini
-+++ b/tox.ini
-@@ -1,5 +1,5 @@
- [tox]
--requires = virtualenv<20.22.0
-+requires = virtualenv<21.00.0
- envlist = py27, py310
-
- [testenv]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-20 13:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-20 13:18 [rpms/trash-cli] pr6: Do not BuildRequire a specific virtualenv version
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox