From fee44f1f6988eeb5062c09ed192267da670794ff37e02378482130a4997f5e14 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 16 Mar 2022 23:43:29 +0000 Subject: [PATCH 1/2] - Skip some unreliable tests. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=51 --- python-pyudev.changes | 5 +++++ python-pyudev.spec | 3 ++- pyudev-0.23.2+14.obscpio | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-pyudev.changes b/python-pyudev.changes index 2293c0b..a16fc05 100644 --- a/python-pyudev.changes +++ b/python-pyudev.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 16 23:40:55 UTC 2022 - Steve Kowalik + +- Skip some unreliable tests. + ------------------------------------------------------------------- Thu Mar 10 14:04:43 UTC 2022 - mcepl@cepl.eu diff --git a/python-pyudev.spec b/python-pyudev.spec index 372d641..b46783e 100644 --- a/python-pyudev.spec +++ b/python-pyudev.spec @@ -73,7 +73,8 @@ sed -i -e "s|'sphinx.ext.intersphinx',\\?||" -e "s|'sphinxcontrib.issuetracker', %check # We don't have real /dev in osc build chroot gh#pyudev/pyudev#404 -%pytest -k 'not real_udev' +# ... or apparently, a reliable testsuite gh#pyudev/pyudev#457 +%pytest -k 'not (real_udev or test_as)' %files %{python_files} %license COPYING diff --git a/pyudev-0.23.2+14.obscpio b/pyudev-0.23.2+14.obscpio index 77a71a6..5ed327b 100644 --- a/pyudev-0.23.2+14.obscpio +++ b/pyudev-0.23.2+14.obscpio @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c9c30065a9f55885b2c140b8b361e6ab4be6b88f9617ab4959b83a077c49397e +oid sha256:099c0196ce9525072c4efe4e9cda78c426c8fac9bf9cae6834458012d7680964 size 390667 From 1597d92213d1737a408029a2f466d62594f140fe98d279a515f04229886e52f7 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 17 Mar 2022 09:08:36 +0000 Subject: [PATCH 2/2] Also skip test_getitem, which only fails sporadically OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=52 --- python-pyudev.changes | 2 +- python-pyudev.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python-pyudev.changes b/python-pyudev.changes index a16fc05..587d426 100644 --- a/python-pyudev.changes +++ b/python-pyudev.changes @@ -1,5 +1,5 @@ ------------------------------------------------------------------- -Wed Mar 16 23:40:55 UTC 2022 - Steve Kowalik +Thu Mar 17 09:06:05 UTC 2022 - Steve Kowalik - Skip some unreliable tests. diff --git a/python-pyudev.spec b/python-pyudev.spec index b46783e..ce06274 100644 --- a/python-pyudev.spec +++ b/python-pyudev.spec @@ -74,7 +74,7 @@ sed -i -e "s|'sphinx.ext.intersphinx',\\?||" -e "s|'sphinxcontrib.issuetracker', %check # We don't have real /dev in osc build chroot gh#pyudev/pyudev#404 # ... or apparently, a reliable testsuite gh#pyudev/pyudev#457 -%pytest -k 'not (real_udev or test_as)' +%pytest -k 'not (real_udev or test_as or test_getitem)' %files %{python_files} %license COPYING