-
Notifications
You must be signed in to change notification settings - Fork 28.4k
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
[SPARK-25079][python] update python3 executable to 3.6.x #24266
Conversation
Thanks for taking a look for this @shaneknapp! |
Test build #104173 has finished for PR 24266 at commit
|
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! |
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. |
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.
LGTM
ok, fixed the centos workers' python2.7/pandas versioning:
will retrigger a test now. |
test this please |
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.
LGTM
Test build #104220 has finished for PR 24266 at commit
|
argh... spurious non-python failure. |
test this please |
dev/run-tests.py
Outdated
@@ -546,7 +546,8 @@ def main(): | |||
hadoop_version = os.environ.get("AMPLAB_JENKINS_BUILD_PROFILE", "hadoop2.7") | |||
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK by me; does this need to change before you merge?
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.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
quick update: py36
will actually remain the path for this python env on master
...
Test build #104223 has finished for PR 24266 at commit
|
Test build #104222 has finished for PR 24266 at commit
|
Hi, @shaneknapp . Looks nice~
BTW, from the log, I'm wondering if we can change
|
yep, definitely beyond the scope of this PR. |
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. |
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? |
Oh, it fails on branch-2.4, too. |
Test build #104256 has finished for PR 24266 at commit
|
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? |
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. |
Retest this please. |
Test build #104349 has finished for PR 24266 at commit
|
test this please |
Test build #104490 has finished for PR 24266 at commit
|
omfg lol:
(˚Õ˚)ر ~~~~╚╩╩╝ |
did this worker revolt against the fix?! I guess lets try this again |
retest this please |
python3.6 revolted. this is a "new" failure... did something change in the tests? |
Only #24306 but it has nothing to do with timestamps or timezones.. |
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. |
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 |
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. |
test this please |
Test build #104561 has finished for PR 24266 at commit
|
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>
.
|
Test build #104671 has finished for PR 24266 at commit
|
test this please |
Test build #104680 has finished for PR 24266 at commit
|
retest this please |
I think it's good to go |
yep, i think so too! let's wait for the build to finish... |
Test build #104700 has finished for PR 24266 at commit
|
Merged to master. Thank you so much, @shaneknapp |
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 |
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. |
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.