python3Packages.tempest: 46.0.0 -> 46.1.1 (#495317)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
pytest-xdist,
|
||||
pytestCheckHook,
|
||||
mako,
|
||||
decorator,
|
||||
@@ -31,8 +32,14 @@ buildPythonPackage rec {
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
mako
|
||||
pytest-xdist
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = lib.optionals stdenv.hostPlatform.isLinux [
|
||||
# flaky
|
||||
"tests/cache/test_dbm_backend.py"
|
||||
];
|
||||
|
||||
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
@@ -44,6 +51,8 @@ buildPythonPackage rec {
|
||||
"test_get_value_plus_created_registry_safe_cache_slow"
|
||||
"test_get_value_plus_created_registry_unsafe_cache"
|
||||
"test_quick"
|
||||
"test_region_set_get_value"
|
||||
"test_region_set_multiple_values"
|
||||
"test_return_while_in_progress"
|
||||
"test_slow"
|
||||
];
|
||||
|
||||
@@ -32,12 +32,12 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "tempest";
|
||||
version = "46.0.0";
|
||||
version = "46.1.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-ddm1OE7BDwDM4T9GIB0+qK8WvU/+aC+FBIGWDm3ObHM=";
|
||||
hash = "sha256-E61jqj0Wy1f81ackoFnnEZI2UCw70YIGYxQA1ME++xU=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
@@ -88,6 +88,11 @@ buildPythonPackage rec {
|
||||
chmod +x bin/*
|
||||
|
||||
stestr --test-path tempest/tests run -e <(echo "
|
||||
tempest.tests.common.test_concurrency.TestConcurrency.test_run_concurrent_tasks_dict_return_values
|
||||
tempest.tests.common.test_concurrency.TestConcurrency.test_run_concurrent_tasks_multiple_workers
|
||||
tempest.tests.common.test_concurrency.TestConcurrency.test_run_concurrent_tasks_single_process
|
||||
tempest.tests.common.test_concurrency.TestConcurrency.test_run_concurrent_tasks_success
|
||||
tempest.tests.common.test_concurrency.TestConcurrency.test_run_concurrent_tasks_with_exception
|
||||
tempest.tests.lib.cli.test_execute.TestExecute.test_execute_with_prefix
|
||||
")
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user