Skip to content
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

Have client CI/CD publish source distribution to PyPI as well #2858

Merged
merged 3 commits into from
Feb 11, 2025

Conversation

devennavani
Copy link
Contributor

@devennavani devennavani commented Feb 11, 2025

Have client CI/CD publish source distribution to PyPI as well.

I ran python setup.py sdist bdist_wheel locally and installed modal from the .tar.gz file and ran a couple of examples and everything worked.

This is needed because conda-forge needs a source distribution from PyPI to build the package.

@freider
Copy link
Contributor

freider commented Feb 11, 2025

Makes sense to me. Should move to uv/hatchling publishing/builds soon I hope to make all this a bit cleaner :)

@devennavani devennavani marked this pull request as ready for review February 11, 2025 22:30
@devennavani devennavani requested review from mwaskom, freider and erikbern and removed request for erikbern February 11, 2025 22:30
@devennavani
Copy link
Contributor Author

@prbot approve

Copy link

@modal-pr-review-automation modal-pr-review-automation bot left a comment

Choose a reason for hiding this comment

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

Approved 👍. @mwaskom will follow-up review this.

Copy link
Contributor

@mwaskom mwaskom left a comment

Choose a reason for hiding this comment

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

LGTM. Might be nice to clean up the packages that we include though.

@devennavani
Copy link
Contributor Author

LGTM. Might be nice to clean up the packages that we include though.

@mwaskom Added, excluded modal_docs/ and modal_global_objects/

@devennavani devennavani requested a review from mwaskom February 11, 2025 23:18
@devennavani devennavani merged commit 8324ac1 into main Feb 11, 2025
24 checks passed
@devennavani devennavani deleted the deven/publish_source_distribution branch February 11, 2025 23:25
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