aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTobias Burnus <tburnus@baylibre.com>2025-03-15 08:53:18 +0100
committerTobias Burnus <tburnus@baylibre.com>2025-03-15 08:53:18 +0100
commit254549d2bb9bb3c2719dec597427919c59514fc3 (patch)
tree456c48631a6c9cbece9620bb21d6107318ae7f41 /gcc
parent6f3bca0db8645c2556e5a01669af4384bb230d87 (diff)
downloadgcc-254549d2bb9bb3c2719dec597427919c59514fc3.zip
gcc-254549d2bb9bb3c2719dec597427919c59514fc3.tar.gz
gcc-254549d2bb9bb3c2719dec597427919c59514fc3.tar.bz2
contrib/gcc-changelog: Fix Git.AutoInterrupt - sys.meta_path is None exception
I think the following message is new with Python 3.13, at least I starting seeing the following exception, which could be fixed by a simple call to 'repo.close()'. Seemingly the issue was that the lifetime of the destructor exceeded the object lifetime. Exception ignored in: <function Git.AutoInterrupt.__del__ at 0x7ff995aa4f40> Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/git/cmd.py", line 790, in __del__ File "/usr/lib/python3.13/site-packages/git/cmd.py", line 781, in _terminate File "/usr/lib64/python3.13/subprocess.py", line 2227, in terminate ImportError: sys.meta_path is None, Python is likely shutting down contrib/ChangeLog: * gcc-changelog/git_repository.py (parse_git_revisions): Destroy the Repo object by calling repo.close() at the end of the function.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions