Skip to content

Commit 091c3a6

Browse files
python3Packages.tempest: 46.0.0 -> 46.1.1 (#495317)
2 parents 4181b2b + 3a3b884 commit 091c3a6

2 files changed

Lines changed: 17 additions & 3 deletions

File tree

pkgs/development/python-modules/dogpile-cache/default.nix

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
buildPythonPackage,
44
fetchPypi,
55
setuptools,
6+
pytest-xdist,
67
pytestCheckHook,
78
mako,
89
decorator,
@@ -31,8 +32,14 @@ buildPythonPackage rec {
3132
];
3233

3334
nativeCheckInputs = [
34-
pytestCheckHook
3535
mako
36+
pytest-xdist
37+
pytestCheckHook
38+
];
39+
40+
disabledTestPaths = lib.optionals stdenv.hostPlatform.isLinux [
41+
# flaky
42+
"tests/cache/test_dbm_backend.py"
3643
];
3744

3845
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
@@ -44,6 +51,8 @@ buildPythonPackage rec {
4451
"test_get_value_plus_created_registry_safe_cache_slow"
4552
"test_get_value_plus_created_registry_unsafe_cache"
4653
"test_quick"
54+
"test_region_set_get_value"
55+
"test_region_set_multiple_values"
4756
"test_return_while_in_progress"
4857
"test_slow"
4958
];

pkgs/development/python-modules/tempest/default.nix

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@
3232

3333
buildPythonPackage rec {
3434
pname = "tempest";
35-
version = "46.0.0";
35+
version = "46.1.1";
3636
pyproject = true;
3737

3838
src = fetchPypi {
3939
inherit pname version;
40-
hash = "sha256-ddm1OE7BDwDM4T9GIB0+qK8WvU/+aC+FBIGWDm3ObHM=";
40+
hash = "sha256-E61jqj0Wy1f81ackoFnnEZI2UCw70YIGYxQA1ME++xU=";
4141
};
4242

4343
postPatch = ''
@@ -88,6 +88,11 @@ buildPythonPackage rec {
8888
chmod +x bin/*
8989
9090
stestr --test-path tempest/tests run -e <(echo "
91+
tempest.tests.common.test_concurrency.TestConcurrency.test_run_concurrent_tasks_dict_return_values
92+
tempest.tests.common.test_concurrency.TestConcurrency.test_run_concurrent_tasks_multiple_workers
93+
tempest.tests.common.test_concurrency.TestConcurrency.test_run_concurrent_tasks_single_process
94+
tempest.tests.common.test_concurrency.TestConcurrency.test_run_concurrent_tasks_success
95+
tempest.tests.common.test_concurrency.TestConcurrency.test_run_concurrent_tasks_with_exception
9196
tempest.tests.lib.cli.test_execute.TestExecute.test_execute_with_prefix
9297
")
9398
'';

0 commit comments

Comments
 (0)