Update to 4.4.12, fix race conditions in tests
This commit is contained in:
parent
24ef320ae9
commit
342aea9ec7
3 changed files with 10 additions and 11 deletions
|
|
@ -1,4 +1,4 @@
|
|||
From bee1dabd4e560e1f2b798a597ccb848ab9a8a869 Mon Sep 17 00:00:00 2001
|
||||
From eb6cd0a5fe1734c5eee78b9889ba7a07fdeb2111 Mon Sep 17 00:00:00 2001
|
||||
From: Lumir Balhar <lbalhar@redhat.com>
|
||||
Date: Tue, 10 Jan 2023 08:34:25 +0100
|
||||
Subject: [PATCH] fix tests
|
||||
|
|
@ -10,7 +10,7 @@ Subject: [PATCH] fix tests
|
|||
3 files changed, 5 insertions(+), 33 deletions(-)
|
||||
|
||||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index ebb1ef7..aa4842f 100644
|
||||
index 19ee5ec..b806958 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -73,8 +73,6 @@ optional-dependencies.docs = [
|
||||
|
|
@ -23,7 +23,7 @@ index ebb1ef7..aa4842f 100644
|
|||
"distlib>=0.3.6",
|
||||
"flaky>=3.7",
|
||||
@@ -82,7 +80,6 @@ optional-dependencies.testing = [
|
||||
"hatchling>=1.13",
|
||||
"hatchling>=1.14",
|
||||
"psutil>=5.9.4",
|
||||
"pytest>=7.2.2",
|
||||
- "pytest-cov>=4",
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
%undefine _py3_shebang_s
|
||||
|
||||
Name: python-tox
|
||||
Version: 4.4.11
|
||||
Version: 4.4.12
|
||||
Release: 1%{?dist}
|
||||
Summary: Virtualenv-based automation of test activities
|
||||
|
||||
|
|
@ -104,6 +104,7 @@ Obsoletes: python3-tox < 3.24.4-2
|
|||
# see https://github.com/tox-dev/tox/pull/2843#discussion_r1065028356
|
||||
sed -ri -e 's/"(packaging|filelock|platformdirs|psutil|diff-cover|pyproject-api|pytest-xdist|wheel)>=.*/"\1",/g' \
|
||||
-e 's/"(virtualenv)>=.*/"\1>=20",/g' \
|
||||
-e 's/"(hatchling)>=.*/"\1>=1.13",/g' \
|
||||
pyproject.toml
|
||||
|
||||
%generate_buildrequires
|
||||
|
|
@ -146,12 +147,7 @@ k="${k-}${k+ and }not test_local_execute_basic_pass_show_on_standard_newline_flu
|
|||
k="${k-}${k+ and }not test_local_execute_write_a_lot"
|
||||
%endif
|
||||
|
||||
# test_sequential is flaky when heavily parallelized,
|
||||
# some files are created in place and there seem to be a race condition.
|
||||
# https://github.com/tox-dev/tox/issues/2985
|
||||
%pytest -v --run-integration tests/session/cmd/test_sequential.py
|
||||
|
||||
%pytest -v -n auto -k "${k-}" --run-integration --ignore tests/session/cmd/test_sequential.py
|
||||
%pytest -v -n auto -k "${k-}" --run-integration
|
||||
%endif
|
||||
|
||||
|
||||
|
|
@ -160,6 +156,9 @@ k="${k-}${k+ and }not test_local_execute_write_a_lot"
|
|||
|
||||
|
||||
%changelog
|
||||
* Thu Apr 13 2023 Miro Hrončok <mhroncok@redhat.com> - 4.4.12-1
|
||||
- Update to 4.4.12 (rhbz#2186618)
|
||||
|
||||
* Wed Apr 12 2023 Miro Hrončok <mhroncok@redhat.com> - 4.4.11-1
|
||||
- Update to 4.4.11 (rhbz#2184726)
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (tox-4.4.11.tar.gz) = 7a0a39ac55482aa423368fee6621aef9d95c58afd5d38975bcaf67edfebdc817aacc33efdd1f0f459953c25bceed73c6ef03ce789aea7f82f3ab1dcc6546118c
|
||||
SHA512 (tox-4.4.12.tar.gz) = 896ecef178b0625246ffe4ab3a9a0c03650eb78633fa92706e93475d6589ac29d65bbf91b9ecfacfa8154739eefd463aeb1252be68998cdffddc270a4f89edd0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue