-
Notifications
You must be signed in to change notification settings - Fork 224
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
Fail to install the dev version following the install instructions #856
Comments
We might need to have setuptools_scm as an install only dependency. I remember reading about it somewhere but need to check. |
Does the error message mean that
doesn't work because it doesn't contain git information, thus setuptools_scm can't determine the version? |
I'm not sure how to go about fixing this, but I assume we want this fixed before v0.3 release. Should we consider this a big enough issue to delay the release if it's not fixed in time? I'm not sure how much of an impact this will cause if it is not corrected. |
Yes to me. As I understand it, the easiest fix is changing it to
or we can encourage users to clone the repository:
|
Yeah, this one-liner seems to be the easiest, though it does require |
Yes, it clones the whole git repository, so much slower. Another workaround is setting the parameter |
Right. I just read the thread at pypa/pip#2432 (don't), and it seems that
This looks good. I suppose we could reset the fallback version every release (e.g. users will get 0.3.0+untagged, 0.4.0+untagged)? Alternatively (or in addition), we could just make use of the TestPyPI uploads and let people do |
Sounds good to me.
It sounds a good addition to me. I'm wondering if we want to use the |
Ok, I'll start a PR for this.
A bit hesitant with adding another extension. Maybe if it's used in more than one or two places, then we can start thinking about using |
I agree. |
Although #865 can fix the issue, I'm afraid users may still use
to install PyGMT, because it was a common way to install dev codes. Perhaps we should still set the parameter |
I can add the fallback version to PR #685 if that helps. |
Good. I prefer |
Description of the problem
The install instructions say users can install the development version using:
However, the command doesn't work and gives me the following error:
Possibly related to #695.
The text was updated successfully, but these errors were encountered: