Bug Description
See this job failing:
FAILED deltakit-decode/tests/unit/utils/test_derivation_tools.py::TestDerivationTools::test_generate_expectation_data_throws_warn_if_both_bool_true[samples0] - DeprecationWarning: This process (pid=2338) is multi-threaded, use of fork() may lead to deadlocks in the child.
FAILED deltakit-decode/tests/unit/utils/test_derivation_tools.py::TestDerivationTools::test_generate_expectation_values_raises_warning_if_num_processes_0_or_less_than_negative_1[0] - DeprecationWarning: This process (pid=2338) is multi-threaded, use of fork() may lead to deadlocks in the child.
FAILED deltakit-decode/tests/unit/utils/test_derivation_tools.py::TestDerivationTools::test_generate_expectation_values_raises_warning_if_num_processes_0_or_less_than_negative_1[-2] - DeprecationWarning: This process (pid=2338) is multi-threaded, use of fork() may lead to deadlocks in the child.
FAILED deltakit-decode/tests/unit/utils/test_derivation_tools.py::TestDerivationTools::test_generate_expectation_values_raises_warning_if_num_processes_0_or_less_than_negative_1[-3] - DeprecationWarning: This process (pid=2338) is multi-threaded, use of fork() may lead to deadlocks in the child.
FAILED deltakit-decode/tests/unit/utils/test_derivation_tools.py::TestDerivationTools::test_generate_expectation_values_raises_warning_if_num_processes_0_or_less_than_negative_1[-10] - DeprecationWarning: This process (pid=2338) is multi-threaded, use of fork() may lead to deadlocks in the child.
Minimal Reproducible Example (MRE)
Make sure that all the tests are running when running pytest in the main deltakit repository by replacing
# deltakit/pyproject.toml
testpaths = ["./tests/"]
by
# deltakit/pyproject.toml
testpaths = [
"./tests/",
"./deltakit-circuit/tests/",
"./deltakit-core/tests/",
"./deltakit-decode/tests/",
"./deltakit-explorer/tests/",
]
uv sync --all-packages --python 3.13 --resolution lowest-direct --group test
uv run --python 3.13 --no-sync pytest
Actual behaviour
With the above changes,
uv run --python 3.13 --no-sync pytest
fails but
uv run --python 3.13 --no-sync pytest deltakit-decode/tests
runs without any issue. This hints to tests in other deltakit sub-packages being part of the problem.
Expected behaviour
Tests are passing without any issue.
Additional context
No response
Bug Description
See this job failing:
Minimal Reproducible Example (MRE)
Make sure that all the tests are running when running
pytestin the maindeltakitrepository by replacingby
uv sync --all-packages --python 3.13 --resolution lowest-direct --group test uv run --python 3.13 --no-sync pytestActual behaviour
With the above changes,
fails but
runs without any issue. This hints to tests in other
deltakitsub-packages being part of the problem.Expected behaviour
Tests are passing without any issue.
Additional context
No response