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

Also publish sdist to PyPI #82

Merged
merged 1 commit into from Nov 2, 2022
Merged

Conversation

hugovk
Copy link
Contributor

@hugovk hugovk commented Nov 2, 2022

This should fix #81.

Before #70, we built both the sdist and wheel before uploading to PyPI.

After #70, we built them at the start, uploaded just the wheel as an artifact, then downloaded the wheel for testing, and downloaded the wheel for publishing to PyPI. But no sdist for publishing.

We can fix this by uploading both sdist and wheel as artifact, ensuring we only install the wheel using --only-binary=:all:, and then for PyPI publishing we also have both files.

(Another way would be to rebuild both in the pypi-release instead of using the artifact.)

@TheTripleV TheTripleV merged commit b9f1dea into wpilibsuite:main Nov 2, 2022
@hugovk hugovk deleted the sdist-and-wheel branch November 2, 2022 18:11
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.

No sources published on pypi.org for version 0.7.1
2 participants