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

feat: add minimal pypi release infrastructure #9

Merged
merged 4 commits into from
Nov 26, 2024
Merged

feat: add minimal pypi release infrastructure #9

merged 4 commits into from
Nov 26, 2024

Conversation

Alexander-Serov
Copy link
Contributor

Hey @phillipuniverse ,

I have suggested here the minimal code to perform pypi releases. This setup will perform a github action release on each tag.

To properly use it, you will need to set up pypi credentials in the repo settings. Here are the instructions.

Go to PyPI and create an API token
In your GitHub repository, go to Settings > Secrets
Add two new secrets:
PYPI_USERNAME: Your PyPI username
PYPI_PASSWORD: Your PyPI API token

Feel free to suggest changes to the license if necessary.

Hope it helps the project!

Close #5

@phillipuniverse
Copy link
Owner

@Alexander-Serov thanks for the contribution! I will take a look at this this week!

@phillipuniverse
Copy link
Owner

I will take a look at this this week!

"this week" turned into "this year"! Thanks so much for the contribution, let's see if this works!

@phillipuniverse phillipuniverse merged commit 9b90e19 into phillipuniverse:main Nov 26, 2024
3 checks passed
@phillipuniverse
Copy link
Owner

@Alexander-Serov FYI it took a few additional changes to get things working with the GitHub publisher but I am happy to report that 0.4.0 is live on pypi!

@Alexander-Serov
Copy link
Contributor Author

@Alexander-Serov FYI it took a few additional changes to get things working with the GitHub publisher but I am happy to report that 0.4.0 is live on pypi!

Great to hear that! Unfortunately, will not be able to benefit from the change myself since we are not yet on py>=3.10…
Cf this closed issue.

@phillipuniverse
Copy link
Owner

Unfortunately, will not be able to benefit from the change myself since we are not yet on py>=3.10…

Available in 0.5.0 via #12

@Alexander-Serov
Copy link
Contributor Author

Unfortunately, will not be able to benefit from the change myself since we are not yet on py>=3.10…

Available in 0.5.0 via #12

This is great news! I will let you know how it works for our applications. Thanks!

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.

Release on PyPI
2 participants