Skip to content

[SPARK-44522][BUILD] Upgrade scala-xml to 2.2.0 #42119

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

Closed
wants to merge 4 commits into from

Conversation

LuciferYang
Copy link
Contributor

@LuciferYang LuciferYang commented Jul 24, 2023

What changes were proposed in this pull request?

This pr aims to upgrade scala-xml from 2.1.0 to 2.2.0.

Why are the changes needed?

The new version bring some bug fix like:

The full release notes as follows:

Does this PR introduce any user-facing change?

No

How was this patch tested?

@@ -205,6 +205,7 @@ jobs:
HIVE_PROFILE: ${{ matrix.hive }}
GITHUB_PREV_SHA: ${{ github.event.before }}
SPARK_LOCAL_IP: localhost
SCALA_PROFILE: scala2.13
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test scala 2.13, will revert after test pass

@LuciferYang LuciferYang changed the title Test Scala xml 2.2.0 [SPARK-44522][BUILD] Upgrade scala-xml to 2.2.0 Jul 24, 2023
@github-actions github-actions bot removed the INFRA label Jul 24, 2023
Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM (Pending CIs). Thank you, @LuciferYang .

@LuciferYang
Copy link
Contributor Author

For scala 2.13, all scala test passed.

https://github.com/LuciferYang/spark/runs/15278359785

pyspark-pandas-slow-connect failure is well known

Building wheels for collected packages: pyspark
  Building wheel for pyspark (setup.py): started
  Building wheel for pyspark (setup.py): finished with status 'error'
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [1724 lines of output]
      /tmp/tmp.Ex2gmKU9bV/3.9/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options
      !!
      
              ********************************************************************************
              Usage of dash-separated 'description-file' will not be supported in future
              versions. Please use the underscore name 'description_file' instead.
      
Error: No space left on device : '/home/runner/runners/2.306.0/_diag/pages/9b7af01d-9255-4597-a103-2b1fbff3f418_551a9d66-8149-5c0e-5e40-9b55ab3d9173_1.log'

@LuciferYang
Copy link
Contributor Author

LuciferYang commented Jul 24, 2023

For scala 2.13, all scala test passed.

https://github.com/LuciferYang/spark/runs/15278359785

pyspark-pandas-slow-connect failure is well known

Building wheels for collected packages: pyspark
  Building wheel for pyspark (setup.py): started
  Building wheel for pyspark (setup.py): finished with status 'error'
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [1724 lines of output]
      /tmp/tmp.Ex2gmKU9bV/3.9/lib/python3.9/site-packages/setuptools/dist.py:755: SetuptoolsDeprecationWarning: Invalid dash-separated options
      !!
      
              ********************************************************************************
              Usage of dash-separated 'description-file' will not be supported in future
              versions. Please use the underscore name 'description_file' instead.
      
Error: No space left on device : '/home/runner/runners/2.306.0/_diag/pages/9b7af01d-9255-4597-a103-2b1fbff3f418_551a9d66-8149-5c0e-5e40-9b55ab3d9173_1.log'

Seems https://github.com/apache/spark/pull/42115/files try to fix this

@srowen
Copy link
Member

srowen commented Jul 24, 2023

Looks OK just re-run tests

@LuciferYang
Copy link
Contributor Author

LuciferYang commented Jul 24, 2023

Looks OK just re-run tests

OK, it's a known issue, need to wait #42115 to fix the issue , the failed task cannot be retried successfully currently

@LuciferYang
Copy link
Contributor Author

rebase

@srowen srowen closed this in 43b753a Jul 27, 2023
@srowen
Copy link
Member

srowen commented Jul 27, 2023

Merged to master

@LuciferYang
Copy link
Contributor Author

Thanks @srowen

ragnarok56 pushed a commit to ragnarok56/spark that referenced this pull request Mar 2, 2024
### What changes were proposed in this pull request?
This pr aims to upgrade `scala-xml` from 2.1.0 to 2.2.0.

### Why are the changes needed?
The new version bring some bug fix like:
- scala/scala-xml#651
- scala/scala-xml#677

The full release notes as follows:
- https://github.com/scala/scala-xml/releases/tag/v2.2.0

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
- Pass GitHub Actions
- Checked Scala 2.13, all Scala test passed: https://github.com/LuciferYang/spark/runs/15278359785

Closes apache#42119 from LuciferYang/scala-xml-220.

Authored-by: yangjie01 <[email protected]>
Signed-off-by: Sean Owen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants