#124 Update to 4.4.12, fix race conditions in tests
Merged a year ago by churchyard. Opened a year ago by churchyard.
rpms/ churchyard/python-tox 4.4.12  into  rawhide

file modified
+3 -3
@@ -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 @@ 

   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 @@ 

     "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",

file modified
+6 -7
@@ -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 @@ 

  # 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_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 @@ 

  

  

  %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)

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (tox-4.4.11.tar.gz) = 7a0a39ac55482aa423368fee6621aef9d95c58afd5d38975bcaf67edfebdc817aacc33efdd1f0f459953c25bceed73c6ef03ce789aea7f82f3ab1dcc6546118c

+ SHA512 (tox-4.4.12.tar.gz) = 896ecef178b0625246ffe4ab3a9a0c03650eb78633fa92706e93475d6589ac29d65bbf91b9ecfacfa8154739eefd463aeb1252be68998cdffddc270a4f89edd0

no initial comment

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/46ccdcbd9a344af0a9f00ac9a5fe3e9c

All scratch builds green.

The update bugzilla finally arrived, will amend the RHBZ reference.

rebased onto e93aa07

a year ago

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/7a5dd08ab44d4dbaaedc47a9c6eeecfc

rebased onto 342aea9

a year ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/1a6335f50a11425cbba33b50ae9cc1bc

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/4d7e969e96a6415c8344dfef908a7585

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/49bea851303c4f03983492fd42e677e2

Pull-Request has been merged by churchyard

a year ago