Skip to content

[KYUUBI #3795][PYSPARK] Python 3.8+ support - #3797

Closed
cfmcgrady wants to merge 5 commits into
apache:masterfrom
cfmcgrady:kyuubi-3795
Closed

cfmcgrady wants to merge 5 commits into
apache:masterfrom
cfmcgrady:kyuubi-3795

Conversation

@cfmcgrady

Copy link
Copy Markdown
Contributor

Why are the changes needed?

to close #3795

Python ast api is changed after python 3.8, see ipython/ipython#11593

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before make a pull request

@bowenliang123

Copy link
Copy Markdown
Contributor

LGTM. Tests passed locally on Python 3.9 and 3.8

@github-actions github-actions Bot added the kind:infra license, community building, project builds, asf infra related, etc. label Nov 10, 2022
@github-actions github-actions Bot removed the kind:infra license, community building, project builds, asf infra related, etc. label Nov 10, 2022
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

Merging #3797 (16fde4e) into master (a3935d8) will increase coverage by 0.02%.
The diff coverage is n/a.

❗ Current head 16fde4e differs from pull request most recent head 44edcea. Consider uploading reports for the commit 44edcea to get more accurate results

@@             Coverage Diff              @@
##             master    #3797      +/-   ##
============================================
+ Coverage     52.84%   52.86%   +0.02%     
  Complexity       13       13              
============================================
  Files           496      496              
  Lines         27982    27971      -11     
  Branches       3859     3857       -2     
============================================
+ Hits          14786    14787       +1     
+ Misses        11799    11788      -11     
+ Partials       1397     1396       -1     
Impacted Files Coverage Δ
...rg/apache/kyuubi/ctl/cmd/log/LogBatchCommand.scala 63.93% <0.00%> (-1.64%) ⬇️
...main/scala/org/apache/kyuubi/ctl/util/Render.scala 95.18% <0.00%> (-1.03%) ⬇️
...he/kyuubi/ha/client/etcd/EtcdDiscoveryClient.scala 68.33% <0.00%> (-0.56%) ⬇️
...g/apache/kyuubi/operation/BatchJobSubmission.scala 74.64% <0.00%> (ø)
...apache/kyuubi/engine/JpsApplicationOperation.scala 77.41% <0.00%> (ø)
.../apache/kyuubi/client/KyuubiSyncThriftClient.scala 89.74% <0.00%> (+5.40%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@pan3793

pan3793 commented Nov 10, 2022

Copy link
Copy Markdown
Member

do you find any clue why it passed the python 3.9 in GA?

@cfmcgrady

Copy link
Copy Markdown
Contributor Author

do you find any clue why it passed the python 3.9 in GA?

no, still investigating this issue.

@pan3793

pan3793 commented Nov 11, 2022

Copy link
Copy Markdown
Member

Thanks, merging to master

@pan3793 pan3793 closed this in 7295049 Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Python multi-line script exection failed on Python 3.8+

4 participants