-
-
Notifications
You must be signed in to change notification settings - Fork 938
incorrect 'git' version for GitPython==3.1.28 installed from PyPI #1500
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Milestone
Comments
This was referenced Oct 10, 2022
In 21ec529 there is the change: -__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, line = line.replace("'git'", "'%s'" % VERSION) and that fails, which leaves |
Thanks for letting me know! This should be fixed with v3.1.29, please let me know in the comments if it isn't though. |
I can confirm that a proper versio is printed for GitPython 3.1.29, thanks a lot for the quick fix!
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: