-
-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
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
Package installation inside git repo breaks #60
Comments
| Installing param (pip install param) into a virtual environment that is inside a git repository fails with Thanks for the report! Chris, I think you should go ahead with what we mentioned about ignoring all errors from version.py, just for cases like this where we don't quite know what environment it might have been placed into. Jean-Luc, maybe it would be worth version.py catching this error and falling back to the declared version (plus perhaps "-dirty" or "-unknown" as a warning that we were unable to get version info). The University of Edinburgh is a charitable body, registered in |
Hi I'm not sure it will work just yet - at least if any of our projects is being tested in this environment other than param. The 'reponame' argument needs to be set in the I'll fix this now. |
I think to test the fix, I need to install from a source distribution, not via pip's git support. |
Ah. We were hoping that you would test it so that we could make a new release confidently, but I guess we'll have to wing it and cross our fingers! We'll let you know when 1.2.1 is ready. The University of Edinburgh is a charitable body, registered in |
Ok, 1.2.1 is released and should fix this problem -- please reopen this issue if not! |
This is fixed for me. Thanks! |
Installing param (pip install param) into a virtual environment that is inside a git repository fails with
Exception: Cannot find any git version tags of format v_._
This makes it difficult to install param as part of certain Jenkins CI workflows that make use of git + virtualenv.
The text was updated successfully, but these errors were encountered: