[python-gitpython] 3.1.44-1: new upstream version #2860
Build package on amd64
build failed
Details
test/test_git.py::TestGit::test_it_uses_shell_or_not_as_specified_6__True__True__True_
/usr/lib/python3.13/unittest/mock.py:1609: DeprecationWarning: Setting Git.USE_SHELL to True is unsafe and insecure, as the effect of special shell syntax cannot usually be accounted for. This can result in a command injection vulnerability and arbitrary code execution. Git.USE_SHELL is deprecated and will be removed in a future release.
setattr(self.target, self.attribute, new_attr)
test/test_imports.py::test_git_util_attribute_is_git_index_util
/home/runner/work/workflow/workflow/src/gitpython/test/test_imports.py:18: DeprecationWarning: The expression git.util
and the import from git import util
actually reference git.index.util, and not the git.util module accessed in from git.util import XYZ
or sys.modules["git.util"]
. This potentially confusing behavior is currently preserved for compatibility, but may be changed in the future and should not be relied on.
assert git.util is git.index.util
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED ../../../../../../../dev/test/test_util.py::TestRmtree::test_does_not_wrap_perm_error_unless_enabled[False] - Failed: DID NOT RAISE <class 'PermissionError'>
FAILED ../../../../../../../dev/test/test_util.py::TestRmtree::test_does_not_wrap_perm_error_unless_enabled[True] - Failed: DID NOT RAISE <class 'PermissionError'>
= 2 failed, 584 passed, 74 skipped, 16 deselected, 1 xfailed, 29 warnings in 96.12s (0:01:36) =
==> ERROR: A failure occurred in check().
Aborting...