-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Shallow clone from git. Resolve #2432. #3051
Conversation
expect_stderr was added to a few tests due to the following messages: - *warning: --depth is ignored in local clones; use file:// instead.* - *You are in 'detached HEAD' state...* (This is to be expected when the revision shallow-cloned is a tag. As the git-clone manpage says "--branch can also take tags and detaches the HEAD at that commit in the resulting repository.")
Any ideas on how to fix Travis would be appreciated. I haven't been able to reproduce any of these failures locally. |
Ah, I was able to reproduce with a Ubuntu 'precise' VM (what Travis uses). So I probably just have to resolve some incompatibility with ancient versions of git. |
Yep, the failures only occur with |
Well that makes sense. That was the point where the
to:
|
Well at least part of the problem is with the fact that the tests use the same It might be better to wait for Travis to upgrade to Ubuntu Trusty than to hack around this just to make the tests (not pip itself) compatible with |
Attempt to use Trusty: #3262 |
I noticed a potential issue, setuptools-scm might break if the last tag doesn't come along |
Accidentally closed this, reopening. Sorry! |
Hello! As part of an effort to ease the contribution process and adopt a more standard workflow pip has switched to doing development on the If you do nothing, this Pull Request will be automatically migrated by @BrownTruck for you. If you would like to retain control over this pull request then you should resubmit it against the If you choose to migrate this Pull Request yourself, here is an example message that you can copy and paste:
If this pull request is no longer needed, please feel free to close it. |
This Pull Request has been automatically migrated to #3739 to reparent it to the |
expect_stderr was added to a few tests due to the following messages: