GeezerVison is showing github.com — 3.1.30 & 3.1.31: failing tests · Issue #1557 · gitpython-developers/GitPython
3.1.30 & 3.1.31: failing tests #1557
Description
Hi! Since 3.1.30 there are few failing tests:
FAILED ../../../../dev/git/ext/gitdb/gitdb/test/performance/test_pack.py::TestPackedDBPerformance::test_correctness
FAILED ../../../../dev/git/ext/gitdb/gitdb/test/performance/test_pack.py::TestPackedDBPerformance::test_loose_correctness
FAILED ../../../../dev/git/ext/gitdb/gitdb/test/performance/test_pack.py::TestPackedDBPerformance::test_pack_random_access
FAILED ../../../../dev/git/ext/gitdb/gitdb/test/performance/test_pack_streaming.py::TestPackStreamingPerformance::test_pack_writing
FAILED ../../../../dev/git/ext/gitdb/gitdb/test/performance/test_pack_streaming.py::TestPackStreamingPerformance::test_stream_reading
FAILED ../../../../dev/test/test_submodule.py::TestSubmodule::test_git_submodules_and_add_sm_with_new_commit
FAILED ../../../../dev/test/test_submodule.py::TestSubmodule::test_list_only_valid_submodules
==== 7 failed, 453 passed, 42 skipped, 20 deselected, 6 warnings in 47.15s =====
python-gitpython-3.1.31-1-x86_64-build.log
python-gitpython-3.1.31-1-x86_64-check.log
Activity
Byron commented on Mar 4, 2023
The first cause I found was transport 'file' not allowed. Unfortunately the test-suite isn't yet able to configure itself accordingly even though it would be possible by setting a few environment variables. Thus it's necessary to set the configuration similar to how it's done on CI.
The reason for this occurring now should be a more recent git executable, at least that's what seems to make most sense here.
For those seeing this, the issue could be fixed by setting the configuration variables linked above for the whole process before the test-suite launches by setting these environment variables.
Metadata
Metadata
Development
No branches or pull requestsIssue actions