Skip to content
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

Fix missing pip issue on travis #292

Merged
merged 1 commit into from
Dec 4, 2017
Merged

Fix missing pip issue on travis #292

merged 1 commit into from
Dec 4, 2017

Conversation

dorukozturk
Copy link
Contributor

No description provided.

@dorukozturk dorukozturk changed the title Fix missing pip issue on travis [WIP] Fix missing pip issue on travis Nov 30, 2017
nicain
nicain previously approved these changes Nov 30, 2017
Copy link
Contributor

@nicain nicain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@dorukozturk
Copy link
Contributor Author

@nicain This will take a while (1 hour or so). Once travis passes I will merge it and you can rebase.

@nicain
Copy link
Contributor

nicain commented Nov 30, 2017

@dorukozturk These last two checks, travis and appveyor, seem to take forever. appveyor never even ran on my last PR. Any thoughts about what the slow-down could be? Maybe our project got throttled?

@dorukozturk dorukozturk force-pushed the fix-travis-pip-error branch 6 times, most recently from 5577be2 to 7a8e39b Compare December 1, 2017 17:23
@nicain
Copy link
Contributor

nicain commented Dec 1, 2017

@dorukozturk ping. This delay in running ci seems really strange. Any ideas what could be going on?

@dorukozturk
Copy link
Contributor Author

@nicain Travis was always slow. I think they cannot run macOS virtually so there is a big queue. Appveyor is weird though. I think I will just contact them and see what is going on. If @jcfr thinks it is ok we can maybe merge this PR since circle tests pass. I don't want to block you anymore.

@nicain
Copy link
Contributor

nicain commented Dec 1, 2017

OK. TBH I am blocked by the fix you provide here, and the slow CI from travis and appveyor, so even if you do merge this Ill still need to wait until we can resolve the travis/appveyor slowness. I need the change in #288 to keep working on #275, so I can just keep driving at that. So my opinion is don't merge, lets get to the root of the problem.

@dorukozturk
Copy link
Contributor Author

@nicain Sorry I thought I was commenting on your PR as opposed to mine (I mean maybe we should merge your PR) . I contacted the Appveyor people and they fixed the Windows build issue. Travis is still up in the air and I am trying to fix it.

@nicain
Copy link
Contributor

nicain commented Dec 1, 2017

Awesome. Just saw this: https://circleci.com/blog/one-more-thing-apple-developers-can-now-build-for-macos-ios-tvos-and-watchos-on-circleci-2-0/ We are using travis for macOS, right? Can we move that over to circleci?

@dorukozturk
Copy link
Contributor Author

@nicain We just talked about this with Jc. I think it is a paid option but it should be a big gain time-wise on our builds.

@jcfr
Copy link
Collaborator

jcfr commented Dec 1, 2017

circleci 2.0 macos

I tried to set CircleCI 2 for macos (in addition of the docker) up for a project with the same problem. See scikit-build/scikit-ci-addons@7f0c8d5

But it is shown as "Not running", this happen because it is not free.

Here are the pricing details: https://circleci.com/pricing/#build-os-x

Cc: @mgrauer

That said, I will have an other look at the pip issue on travis for macos. This happen because of the recent update of macOS image by Travis and the fact we try to install the support tooling on system python.

.travis.yml Outdated
@@ -38,6 +38,8 @@ cache:
- $HOME/.pyenv/versions/2.7.14

before_install:
- wget https://bootstrap.pypa.io/get-pip.py
- python get-pip.py
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The following will work:

curl --silent --show-error https://bootstrap.pypa.io/get-pip.py | sudo -H python

@codecov-io
Copy link

codecov-io commented Dec 1, 2017

Codecov Report

Merging #292 into dev will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev     #292      +/-   ##
==========================================
+ Coverage   42.82%   42.84%   +0.02%     
==========================================
  Files          35       35              
  Lines        3622     3622              
  Branches      719      719              
==========================================
+ Hits         1551     1552       +1     
  Misses       1931     1931              
+ Partials      140      139       -1
Flag Coverage Δ
#form 42.84% <ø> (+0.02%) ⬆️
#integration 42.84% <ø> (+0.02%) ⬆️
#pynwb 42.84% <ø> (+0.02%) ⬆️
Impacted Files Coverage Δ
src/pynwb/form/utils.py 73.61% <0%> (+0.34%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 765d9e3...951f660. Read the comment docs.

nicain
nicain previously approved these changes Dec 2, 2017
Copy link
Contributor

@nicain nicain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks all, glad this seems to be working.

@dorukozturk dorukozturk changed the title [WIP] Fix missing pip issue on travis Fix missing pip issue on travis Dec 2, 2017
@dorukozturk dorukozturk force-pushed the fix-travis-pip-error branch 4 times, most recently from 19cbb53 to d7fcf5e Compare December 2, 2017 19:40
@dorukozturk dorukozturk force-pushed the fix-travis-pip-error branch 18 times, most recently from ad27857 to 951f660 Compare December 4, 2017 18:07
@@ -14,7 +14,7 @@ initialize-venv: &initialize-venv
publish-prerelease-on-github: &publish-prerelease-on-github
name: Publish wheel and source distribution on github
command: |
if [ "${CIRCLE_BRANCH}" == "dev" ]; then
if [[ "${CIRCLE_BRANCH}" == "dev" && "${PUBLISH_RELEASE}" == "true" ]]; then
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should always be done.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The variable should probably be named UPLOAD_WHEELS or PUBLISH_WHEELS ... having the word RELEASE in the name of the variable seems that the actual "stable release" is published ...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup I agree; this tricked me until you made this comment.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I rebased it (changes in the cirlcle config are gone for this PR) and will merge this since this PR fixed the travis issue.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Full disclosure, I made the commit adding this variable. I will do a follow up Pr as soon as CI fixes are all integrated

@dorukozturk dorukozturk merged commit 216cbb3 into dev Dec 4, 2017
@dorukozturk dorukozturk deleted the fix-travis-pip-error branch December 4, 2017 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants