Skip to content

[SPARK-58308][INFRA] Remove usage of ipython_genutils#57478

Open
gaogaotiantian wants to merge 3 commits into
apache:masterfrom
gaogaotiantian:remove-ipython_genutils
Open

[SPARK-58308][INFRA] Remove usage of ipython_genutils#57478
gaogaotiantian wants to merge 3 commits into
apache:masterfrom
gaogaotiantian:remove-ipython_genutils

Conversation

@gaogaotiantian

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Removed all usage of ipython_genutils.

Why are the changes needed?

This package was originally introduced by SPARK-38517 because of jupyter/nbconvert#1725 . However, ipython_genutils has not been maintained for 10 years and nbconvert quickly removed the usage and dependency of it. So now our doc gen CI should not rely on it either.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

CI should confirm that we don't need it anymore.

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

No.

@uros-b uros-b left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@gaogaotiantian PTAL at dev/spark-test-image/lint/Dockerfile:92, this might be an incomplete removal vs. the PR's stated goal. Master has exactly three ipython_genutils references; the PR removes the two in spark-rm/Dockerfile and docs/Dockerfile but leaves the third, 'ipython_genutils' \ at lint/Dockerfile:92 (confirmed still present at head ref d480bb0). The lint image is not dead, it is actively built and used by CI (.github/workflows/build_and_test.yml:511-515 builds from ./dev/spark-test-image/lint/).

@gaogaotiantian

Copy link
Copy Markdown
Contributor Author

Thanks for catching this @uros-b . I removed it for lint image too. Also resolved the conflict to master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants