forked from pool/python-stestr
- update to 4.1.0:
* This stestr release is a feature release that primarily fixes compatibility with subunit 1.4.3 and initial compatibility with Python 3.12. * Apply black autoformatter to code base * Reuse subunit_trace output/validation logic for load/run * Revert "Fix #330 - Preserve load-list order" * Remove vestigial future package from requirements * Pin black to 2022 version * Fix ResourceWarning from SubunitTestRunner._list() * Add support for storing stestr configs in pyproject.toml * Adding another prefix to the existing list of unittest_import_strs * Update docs job to avoid setup.py entrypoint * Replace removed SafeConfigParser with ConfigParser * Explicitly list extras as dependency - drop remove-future-requirement.patch (upstream) result status * Bump hacking version OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stestr?expand=0&rev=51
This commit is contained in:
@@ -1,3 +1,24 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 4 10:52:17 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 4.1.0:
|
||||
* This stestr release is a feature release that primarily fixes
|
||||
compatibility with subunit 1.4.3 and initial compatibility
|
||||
with Python 3.12.
|
||||
* Apply black autoformatter to code base
|
||||
* Reuse subunit_trace output/validation logic for load/run
|
||||
* Revert "Fix #330 - Preserve load-list order"
|
||||
* Remove vestigial future package from requirements
|
||||
* Pin black to 2022 version
|
||||
* Fix ResourceWarning from SubunitTestRunner._list()
|
||||
* Add support for storing stestr configs in pyproject.toml
|
||||
* Adding another prefix to the existing list of
|
||||
unittest_import_strs
|
||||
* Update docs job to avoid setup.py entrypoint
|
||||
* Replace removed SafeConfigParser with ConfigParser
|
||||
* Explicitly list extras as dependency
|
||||
- drop remove-future-requirement.patch (upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 5 06:09:11 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
@@ -33,7 +54,7 @@ Sat Oct 16 20:23:53 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 3.2.1:
|
||||
* Fixed the detection of test worker failures before reporting final
|
||||
result status
|
||||
result status
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 17 20:39:34 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
@@ -65,7 +86,7 @@ Mon Feb 8 13:05:10 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
* Change option '--blacklist-file' to '--exclude-list'
|
||||
* Change option '--whitelist-file' to '--include-list'
|
||||
* Change option '--whitelist-file' to '--include-list'
|
||||
* Bump hacking version
|
||||
* Bump hacking version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 14 21:17:21 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
@@ -25,14 +25,12 @@
|
||||
%bcond_with test
|
||||
%endif
|
||||
Name: python-stestr%{psuffix}
|
||||
Version: 4.0.1
|
||||
Version: 4.1.0
|
||||
Release: 0
|
||||
Summary: A parallel Python test runner built around subunit
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/mtreinish/stestr
|
||||
Source: https://files.pythonhosted.org/packages/source/s/stestr/stestr-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM gh#mtreinish/stestr#112598d44ee682553c2540b853f9626085b8df2c
|
||||
Patch0: remove-future-requirement.patch
|
||||
BuildRequires: %{python_module pbr >= 2.0.0}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
|
@@ -1,57 +0,0 @@
|
||||
From 112598d44ee682553c2540b853f9626085b8df2c Mon Sep 17 00:00:00 2001
|
||||
From: Nicolas Simonds <nisimond@cisco.com>
|
||||
Date: Wed, 4 Jan 2023 09:11:51 -0800
|
||||
Subject: [PATCH] Remove vestigial future package from requirements
|
||||
|
||||
This package appears to be a holdover from dropping Python 2.x
|
||||
support, and is no longer needed.
|
||||
|
||||
This resolves https://nvd.nist.gov/vuln/detail/CVE-2022-40899
|
||||
|
||||
Also update tox.ini to work wirth modern vintages of tox.
|
||||
---
|
||||
requirements.txt | 1 -
|
||||
stestr/repository/file.py | 2 +-
|
||||
tox.ini | 4 +++-
|
||||
3 files changed, 4 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/requirements.txt b/requirements.txt
|
||||
index 26797119..55149fed 100644
|
||||
--- a/requirements.txt
|
||||
+++ b/requirements.txt
|
||||
@@ -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.4.0 # Apache-2.0/BSD
|
||||
diff --git a/stestr/repository/file.py b/stestr/repository/file.py
|
||||
index 6ecf1ec6..581e45a6 100644
|
||||
--- a/stestr/repository/file.py
|
||||
+++ b/stestr/repository/file.py
|
||||
@@ -19,7 +19,7 @@
|
||||
import sys
|
||||
import tempfile
|
||||
|
||||
-from future.moves.dbm import dumb as my_dbm
|
||||
+from dbm import dumb as my_dbm
|
||||
from subunit import TestProtocolClient
|
||||
import subunit.v2
|
||||
import testtools
|
||||
diff --git a/tox.ini b/tox.ini
|
||||
index 3f04e2d1..69b42b34 100644
|
||||
--- a/tox.ini
|
||||
+++ b/tox.ini
|
||||
@@ -7,7 +7,9 @@ skipsdist = True
|
||||
usedevelop = True
|
||||
install_command = pip install -U --force-reinstall {opts} {packages}
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
-whitelist_externals = find
|
||||
+allowlist_externals =
|
||||
+ find
|
||||
+ stestr
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands =
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c2c1c73bfc7cfca39127159e3fbc74193aebf2cd02d8a0427f2e58648e36cf26
|
||||
size 111695
|
3
stestr-4.1.0.tar.gz
Normal file
3
stestr-4.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5f61c369eece63c292d13599e12aa158af7685990643f24dd6fa7fabfe34e98a
|
||||
size 113187
|
Reference in New Issue
Block a user