changeLog: https://more-itertools.readthedocs.io/en/stable/versions.html#id1

- deselects TestConcurrentTee.test_concurrent_consumers

Signed-off-by: Jaipaul Cheernam <[email protected]>
---
Changes since v2:
  - As agreed in review meeting, disable the test
Changes since v1:
   - TestConcurrentTee.test_concurrent_consumers test is test spins up 100 
threads,
     each fully consuming an independent tee of a 100,000-element iterator, 
with locking/synchronization between them.
     This values are hard coded, so either test case needs to deselect or 
timeout needs to increase.
     So, I choose to increase timeout for riscv64/riscv32 rather than deslect. 
 .../recipes-devtools/python/python3-more-itertools/run-ptest | 5 +++++
 ...-itertools_10.8.0.bb => python3-more-itertools_11.1.0.bb} | 4 +++-
 2 files changed, 8 insertions(+), 1 deletion(-)
 create mode 100644 
meta/recipes-devtools/python/python3-more-itertools/run-ptest
 rename meta/recipes-devtools/python/{python3-more-itertools_10.8.0.bb => 
python3-more-itertools_11.1.0.bb} (78%)

diff --git a/meta/recipes-devtools/python/python3-more-itertools/run-ptest 
b/meta/recipes-devtools/python/python3-more-itertools/run-ptest
new file mode 100644
index 0000000000..b03a09d746
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-more-itertools/run-ptest
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+# test_concurrent_consumers is a 100-thread stress test that times out under
+# qemu TCG emulation (~1700s on riscv), skip it
+pytest --automake -k 'not test_concurrent_consumers'
diff --git a/meta/recipes-devtools/python/python3-more-itertools_10.8.0.bb 
b/meta/recipes-devtools/python/python3-more-itertools_11.1.0.bb
similarity index 78%
rename from meta/recipes-devtools/python/python3-more-itertools_10.8.0.bb
rename to meta/recipes-devtools/python/python3-more-itertools_11.1.0.bb
index 053197ea5c..a291074daf 100644
--- a/meta/recipes-devtools/python/python3-more-itertools_10.8.0.bb
+++ b/meta/recipes-devtools/python/python3-more-itertools_11.1.0.bb
@@ -3,7 +3,9 @@ HOMEPAGE = "https://github.com/erikrose/more-itertools";
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3396ea30f9d21389d7857719816f83b5"
 
-SRC_URI[sha256sum] = 
"f638ddf8a1a0d134181275fb5d58b086ead7c6a72429ad725c67503f13ba30bd"
+SRC_URI[sha256sum] = 
"48e8f4d9e7e5878571ecf6f2b4e57634f93cd474cc8cfbd2376f2d11b396e30d"
+
+SRC_URI += "file://run-ptest"
 
 inherit pypi python_flit_core ptest-python-pytest
 
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#247890): 
https://lists.openembedded.org/g/openembedded-core/message/247890
Mute This Topic: https://lists.openembedded.org/mt/121772919/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to