[packages/python-stestr] - drop future dependency, patch replaces future by six also for python2

qboosh qboosh at pld-linux.org
Thu Feb 22 21:18:43 CET 2024


commit bf0e8f00c41484cc863d929a6dad21d784786f87
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Feb 22 21:08:29 2024 +0100

    - drop future dependency, patch replaces future by six also for python2

 python-stestr.spec         |  1 -
 stestr-no-py3-future.patch | 10 ++++++++++
 2 files changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/python-stestr.spec b/python-stestr.spec
index 5bb50ee..629b198 100644
--- a/python-stestr.spec
+++ b/python-stestr.spec
@@ -28,7 +28,6 @@ BuildRequires:	python-PyYAML >= 3.10.0
 BuildRequires:	python-cliff >= 2.8.0
 BuildRequires:	python-ddt >= 1.0.1
 BuildRequires:	python-fixtures >= 3.0.0
-BuildRequires:	python-future
 BuildRequires:	python-mock >= 2.0
 BuildRequires:	python-six >= 1.10.0
 BuildRequires:	python-subunit >= 1.3.0
diff --git a/stestr-no-py3-future.patch b/stestr-no-py3-future.patch
index e7f53f5..acb4fa0 100644
--- a/stestr-no-py3-future.patch
+++ b/stestr-no-py3-future.patch
@@ -16,3 +16,13 @@
  from subunit import TestProtocolClient
  import subunit.v2
  import testtools
+--- stestr-2.6.0/requirements.txt.orig	2019-12-13 19:59:07.000000000 +0100
++++ stestr-2.6.0/requirements.txt	2024-02-22 20:50:40.689071684 +0100
+@@ -1,7 +1,6 @@
+ # The order of packages is significant, because pip processes them in the order
+ # of appearance. Changing the order has an impact on the overall integration
+ # process, which may cause wedges in the gate later.
+-future
+ pbr!=2.1.0,>=2.0.0,!=4.0.0,!=4.0.1,!=4.0.2,!=4.0.3 # Apache-2.0
+ cliff>=2.8.0 # Apache-2.0
+ python-subunit>=1.3.0 # Apache-2.0/BSD
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-stestr.git/commitdiff/bf0e8f00c41484cc863d929a6dad21d784786f87



More information about the pld-cvs-commit mailing list