Skip to content

[SPARK-46894][PYTHON][FOLLOW-UP] Includes error-conditions.json into PyPI package#46328

Closed
HyukjinKwon wants to merge 1 commit into
apache:masterfrom
HyukjinKwon:SPARK-46894-followup
Closed

[SPARK-46894][PYTHON][FOLLOW-UP] Includes error-conditions.json into PyPI package#46328
HyukjinKwon wants to merge 1 commit into
apache:masterfrom
HyukjinKwon:SPARK-46894-followup

Conversation

@HyukjinKwon

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This PR is a followup of #44920 that includes error-conditions.json into PyPI package.

Why are the changes needed?

So PyPI packages work with pip install. https://github.com/apache/spark/actions/runs/8913716987/job/24479781481 is broken for now.

Does this PR introduce any user-facing change?

No, the main change has not been released out yet.

How was this patch tested?

Manually tested the packaging, and check the file exists in the package.

Was this patch authored or co-authored using generative AI tooling?

No.

@HyukjinKwon

Copy link
Copy Markdown
Member Author

cc @nchammas FYI

@github-actions github-actions Bot added the PYTHON label May 2, 2024
@HyukjinKwon

Copy link
Copy Markdown
Member Author

and @itholic too

@nchammas nchammas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm surprised none of the tests I ran as part of #44920 caught this issue. I built several packages via make-distribution.sh and tested them successfully.

https://github.com/apache/spark/actions/runs/8913716987/job/24479781481 is broken for now.

I guess this CI build tests a non-standard install path that I didn't cover in my testing. Is it specific to spark-connect?

Comment thread python/packaging/classic/setup.py Outdated
@HyukjinKwon HyukjinKwon force-pushed the SPARK-46894-followup branch from 5add375 to 9bc1d1a Compare May 2, 2024 01:44
@dongjoon-hyun

Copy link
Copy Markdown
Member

Oh, much simpler.

@HyukjinKwon

Copy link
Copy Markdown
Member Author

Merged to master.

It will be tested in the scheduled job.

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