-
Notifications
You must be signed in to change notification settings - Fork 86
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
@nicain This will take a while (1 hour or so). Once travis passes I will merge it and you can rebase. |
8f2f6a1
to
4c2017c
Compare
@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? |
5577be2
to
7a8e39b
Compare
@dorukozturk ping. This delay in running ci seems really strange. Any ideas what could be going on? |
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. |
@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. |
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? |
@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. |
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 |
There was a problem hiding this comment.
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
7a8e39b
to
c9c25ee
Compare
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
c9c25ee
to
42136b3
Compare
There was a problem hiding this 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.
19cbb53
to
d7fcf5e
Compare
ad27857
to
951f660
Compare
.circleci/config.yml
Outdated
@@ -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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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 ...
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
951f660
to
1c71be6
Compare
No description provided.