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

[tune] debug py37 build #12597

Merged
merged 6 commits into from
Dec 3, 2020
Merged

Conversation

richardliaw
Copy link
Contributor

@richardliaw richardliaw commented Dec 3, 2020

Why are these changes needed?

  • Lint is currently failing

Related issue number

Checks

  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

Signed-off-by: Richard Liaw <rliaw@berkeley.edu>
Signed-off-by: Richard Liaw <rliaw@berkeley.edu>
@richardliaw richardliaw marked this pull request as ready for review December 3, 2020 18:48
@amogkam
Copy link
Contributor

amogkam commented Dec 3, 2020

Ah nice catch! Do you know why the Python 3.6 tests don't go through the miniconda codepath? Or I guess what is if [ -n "${PYTHON-}" ] checking for?

@richardliaw
Copy link
Contributor Author

They do go through the miniconda path. On 3.7, i think we install miniconda but don't set pip to the right miniconda pip.

On 3.6 i think we install miniconda, and we use the miniconda pip going forward.

In any case, this actually passes tests: https://travis-ci.com/github/ray-project/ray/builds/206209467

@amogkam
Copy link
Contributor

amogkam commented Dec 3, 2020

@richardliaw This is great! I'm just asking so I can understand where the 3.6 and 3.7 tests diverge. Do you know where/why

On 3.7, i think we install miniconda but don't set pip to the right miniconda pip

is happening? I had spent some time trying to figure this out and from our install-dependencies script it did not seem like there should've been any pip difference between the 3.6 and 3.7 tests.

@richardliaw
Copy link
Contributor Author

My hypothesis is that the 3.6 miniconda env has the newest version of pip but not on 3.7.

I was able to verify that after miniconda installation, the pip --version on our 3.7 was not the latest pip.

However, it is actually really hard to give you a full debug because every tweak to the script requires a CI build, which can queue for multiple hours...

Signed-off-by: Richard Liaw <rliaw@berkeley.edu>
@richardliaw richardliaw changed the title [tune] debug py37 build [do not merge][tune] debug py37 build Dec 3, 2020
Signed-off-by: Richard Liaw <rliaw@berkeley.edu>
@richardliaw richardliaw changed the title [do not merge][tune] debug py37 build [tune] debug py37 build Dec 3, 2020
@richardliaw richardliaw merged commit 515f670 into ray-project:master Dec 3, 2020
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.

3 participants