You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-__version__ = 'git'+__version__ = "git"-#{ Initialization+# { Initialization
def _init_externals() -> None:
"""Initialize external projects by putting them into the path"""
- if __version__ == 'git' and 'PYOXIDIZER' not in os.environ:- sys.path.insert(1, osp.join(osp.dirname(__file__), 'ext', 'gitdb'))+ if __version__ == "git" and "PYOXIDIZER" not in os.environ:+ sys.path.insert(1, osp.join(osp.dirname(__file__), "ext", "gitdb"))
However, setup.py puts the version in by doing a find/replace with a search for 'git':
line=line.replace("'git'", "'%s'"%VERSION)
and that fails, which leaves "git" in two places in __init__.py.
It would fail to perform the replacement, but unfortunately wouldn't
stop the release process.
The latter could be done, but isn't implemented either as it's hard
to test given everything is runtime.
It looks like there's mistake in the release of GitPython 3.1.28 with respect to the version.
Here's the output I'm getting when GitPython 3.1.28 is installed (using
pip3 install
)With older GitPython versions, I'm getting a proper version instead:
The text was updated successfully, but these errors were encountered: