Skip to content

Commit

Permalink
fix GitPython compatibility, fix #430
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils committed Aug 11, 2022
1 parent 6b389be commit 460bb9f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# Unreleased: pdoc next

- Add compatibility with Python 3.11
([#394](https://github.com/mitmproxy/pdoc/issues/394), [@mhils](https://github.com/mhils))
- Make sure that docstrings are picked up for functions that have been
turned into non-function objects by decorators.
([#416](https://github.com/mitmproxy/pdoc/issues/416), [@jeamland](https://github.com/jeamland))
Expand All @@ -13,6 +15,8 @@
([#428](https://github.com/mitmproxy/pdoc/issues/428), [@mhils](https://github.com/mhils))
- pdoc now terminates if a module cannot be imported instead of raising a warning.
([#407](https://github.com/mitmproxy/pdoc/issues/407), [@mhils](https://github.com/mhils))
- Fix compatibility with GitPython.
([#430](https://github.com/mitmproxy/pdoc/issues/430), [@mhils](https://github.com/mhils))

# 2022-06-08: pdoc 12.0.2

Expand Down
2 changes: 2 additions & 0 deletions pdoc/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@ def __init__(self, *args, **kwargs): # pragma: no cover
"ld",
shutil.which("gcc") or shutil.which("cc"),
shutil.which("objdump"),
# https://github.com/mitmproxy/pdoc/issues/430: GitPython invokes git commands, which is also fine.
"git",
)
)
if not command_allowed:
Expand Down

0 comments on commit 460bb9f

Please sign in to comment.