public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/trash-cli] pr6: Do not BuildRequire a specific virtualenv version
Date: Sun, 20 Sep 2026 13:18:31 GMT	[thread overview]
Message-ID: <178991031141.1.11012177635467835080.rpms-trash-cli-f04fd18f1365@fedoraproject.org> (raw)

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]

                 reply	other threads:[~2026-09-20 13:18 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=178991031141.1.11012177635467835080.rpms-trash-cli-f04fd18f1365@fedoraproject.org \
    --to=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