Uh oh!
There was an error while loading. Please reload this page.
[SPARK-25079][python] update python3 executable to 3.6.x - #24266
[SPARK-25079][python] update python3 executable to 3.6.x#24266shaneknapp wants to merge 2 commits into
Conversation
HyukjinKwon
commented
Apr 1, 2019
Thanks for taking a look for this @shaneknapp! |
SparkQA
commented
Apr 2, 2019
Test build #104173 has finished for PR 24266 at commit
|
shaneknapp
commented
Apr 2, 2019
huh. looks like pandas got downgraded for python2.7... i'll check the versions installed on the jenkins workers tomorrow. we've never supported pandas for pypy, so those skipped tests are expected. however, all of the 3.6 tests passed! woo! |
HyukjinKwon
commented
Apr 2, 2019
Yea, that sounds all good. If I haven't missed something, Pandas of Python 2.7 was already low version too. Nice to see Python 3.6 got all passed. We have picked one version of Python 3.x so far so I don't think it matters the test coverage by this change - should be fine. |
shaneknapp
commented
Apr 2, 2019
ok, fixed the centos workers' python2.7/pandas versioning: will retrigger a test now. |
shaneknapp
commented
Apr 2, 2019
test this please |
SparkQA
commented
Apr 2, 2019
Test build #104220 has finished for PR 24266 at commit
|
shaneknapp
commented
Apr 2, 2019
argh... spurious non-python failure. |
shaneknapp
commented
Apr 2, 2019
test this please |
| test_env = "amplab_jenkins" | ||
| # add path for Python3 in Jenkins if we're calling from a Jenkins machine | ||
| os.environ["PATH"] = "/home/anaconda/envs/py3k/bin:" + os.environ.get("PATH") | ||
| # TODO(sknapp): s/py36/py3k before merging! |
There was a problem hiding this comment.
OK by me; does this need to change before you merge?
There was a problem hiding this comment.
yeah... this is so i can test against the py36 conda environment on the jenkins workers. right before i merge, i'll pause jenkins, update the conda env name, push my revert and then let jenkins build again.
folks will need to update their PRs post-merge as well.
i'm waiting on @BryanCutler and the arrow 0.12.1 release before doing any of this, however. probably early to mid next week.
there will be a detailed email going out to dev@ about this on monday.
There was a problem hiding this comment.
this also reminds me that one day, i would love to go through everything and remove all mention of amplab. that project has been over since 2016! :)
There was a problem hiding this comment.
quick update: py36 will actually remain the path for this python env on master...
SparkQA
commented
Apr 3, 2019
Test build #104223 has finished for PR 24266 at commit
|
SparkQA
commented
Apr 3, 2019
Test build #104222 has finished for PR 24266 at commit
|
dongjoon-hyun
commented
Apr 3, 2019
Hi, @shaneknapp . Looks nice~ BTW, from the log, I'm wondering if we can change |
shaneknapp
commented
Apr 3, 2019
yep, definitely beyond the scope of this PR. |
shaneknapp
commented
Apr 3, 2019
i'm really curious why this is suddenly popping up (from the console output of this build): i noticed this yesterday, and went through and made sure that pytz was installed and at the same version across all workers... which it is. this failed on i'll poke around a bit more and see if i can't get to the bottom of things today... if not today, then next week as i'm out thursday-sunday. |
shaneknapp
commented
Apr 3, 2019
test this please |
Oh, the test failures are on the master branch. I agree that it's Locally, it works in my Mac (Python 2.7.10). @HyukjinKwon , @BryanCutler . Could you take a look on the master branch Python UT failures (5692 ~ 5696) to unblock this PR? |
dongjoon-hyun
commented
Apr 3, 2019
Oh, it fails on branch-2.4, too. |
SparkQA
commented
Apr 3, 2019
Test build #104256 has finished for PR 24266 at commit
|
srowen
commented
Apr 4, 2019
So, hm, are all the tests failing already due to a Python update? I don't necessarily want to roll that back but is it a matter of updating pytz too everywhere? does it need to be updated separately for Python 2 vs 3? |
squito
commented
Apr 5, 2019
btw I filed a separate jira on the US/Pacific-New thing: https://issues.apache.org/jira/browse/SPARK-27389. I couldn't figure out what was going on either ... It does seem like US/Pacific-New is some weird TZ that should never have really existed and isn't supported everywhere, but I can't figure out what has changed that is causing it to suddenly fail this. |
dongjoon-hyun
commented
Apr 7, 2019
Retest this please. |
SparkQA
commented
Apr 7, 2019
Test build #104349 has finished for PR 24266 at commit
|
SparkQA
commented
Apr 10, 2019
Test build #104490 has finished for PR 24266 at commit
|
omfg lol: (˚Õ˚)ر ~~~~╚╩╩╝ |
BryanCutler
commented
Apr 11, 2019
did this worker revolt against the fix?! I guess lets try this again |
BryanCutler
commented
Apr 11, 2019
retest this please |
shaneknapp
commented
Apr 11, 2019
python3.6 revolted. this is a "new" failure... did something change in the tests? |
BryanCutler
commented
Apr 11, 2019
Only #24306 but it has nothing to do with timestamps or timezones.. |
shaneknapp
commented
Apr 11, 2019
the tests pass when i run them manually on the ubuntu workers... i can't wait to reimage the centos boxes. anyways, i'll patch up the centos workers later today and this should go away. |
SparkQA
commented
Apr 11, 2019
Test build #104521 has finished for PR 24266 at commit
|
so, this build passed on amp-jenkins-worker-02, and failed on -05 (which was one of the workers that initially had this issue). i just finished manually running these tests on both of these workers, as well as my ubuntu testing worker, and both the ubuntu box and -02 passed, while -05 failed (as expected). the python 3.6 envs on all three machines are identical, which i confirmed by checking i'm now resorting to |
dongjoon-hyun
commented
Apr 12, 2019
Thank you so much for spending much time on this, @shaneknapp ! |
well, i got the tests to pass on worker-05: however, that tzdata file is present and in the same location on the other workers that AREN'T failing tests. ¯\_(ツ)_/¯ |
so, to test whether or not (re)moving the Pacific-New timezone data file to /tmp actually works on all machines, i did the same thing on -03:
i then ran the python tests, and they failed. seriously, i think my brain is about to (im|ex)plode. edit: to get this to run successfully on -03, i had to:
for now i remain, and most likely for a very long time, completely confused. |
shaneknapp
commented
Apr 12, 2019
test this please |
SparkQA
commented
Apr 13, 2019
Test build #104561 has finished for PR 24266 at commit
|
shaneknapp
commented
Apr 13, 2019
via email
ok, i think this is ready to be merge/deployed next week. i'll send out an
email to dev@ and get this scheduled. …On Fri, Apr 12, 2019 at 6:30 PM UCB AMPLab ***@***.***> wrote:
Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/104561/
Test PASSed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#24266 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABiDrJ8WxD9o9CqWeMUkCJFMUD_ey-Dxks5vgTMugaJpZM4cWyjH>
.
|
SparkQA
commented
Apr 17, 2019
Test build #104671 has finished for PR 24266 at commit
|
shaneknapp
commented
Apr 17, 2019
test this please |
SparkQA
commented
Apr 18, 2019
Test build #104680 has finished for PR 24266 at commit
|
HyukjinKwon
commented
Apr 18, 2019
retest this please |
HyukjinKwon
commented
Apr 18, 2019
I think it's good to go |
shaneknapp
commented
Apr 18, 2019
yep, i think so too! let's wait for the build to finish... |
SparkQA
commented
Apr 18, 2019
Test build #104700 has finished for PR 24266 at commit
|
HyukjinKwon
commented
Apr 19, 2019
Merged to master. Thank you so much, @shaneknapp |
dongjoon-hyun
commented
Apr 19, 2019
Thank you, @shaneknapp and @HyukjinKwon . Since this is an official Python 3.6 community support, can we have this on cc @dbtsai and @mattf-apache |
shaneknapp
commented
Apr 19, 2019
since @HyukjinKwon jumped the gun a little bit and merged this to master, i'm going to try and accelerate the schedule and deploy the new python envs for these two branches today. if not today, then monday. |
dongjoon-hyun
commented
Apr 19, 2019
Thank you! |
What changes were proposed in this pull request?
have jenkins test against python3.6 (instead of 3.4).
How was this patch tested?
extensive testing on both the centos and ubuntu jenkins workers.
NOTE: this will need to be backported to all active branches.