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

ci(pypi): use PyPi token instead of username and password #574

Merged
merged 1 commit into from
May 23, 2024

Conversation

AntoineDao
Copy link
Member

Apparently username and password is no longer a supported deployment method: https://github.com/pollination/queenbee/actions/runs/9054289912/job/24873984153#step:8:3423

@mostaphaRoudsari , could I get you to add a new PyPi API Token scoped to this repository and name is PYPI_TOKEN? Here are the instructions to create the token: https://pypi.org/help/#apitoken

I suspect this is created and managed by the ladybugbot account. This is part of some upgrades I am making that will allow me to upgrade pollination server to python 3.12.

@mostaphaRoudsari
Copy link
Member

mostaphaRoudsari commented May 12, 2024

@AntoineDao, we already had to make this change for other Pollination packages. You can use these two secrets.

image

The command line can stay the same. Here is an example:

https://github.com/pollination/annual-energy-use/blob/ff7cf9c159f4374dbd10d3f22eebbfe8a1e39772/.github/workflows/ci.yaml#L31-L38

P.S. now that you decided to change this repository to poetry, I wanted to make sure you are aware of uv: https://pypi.org/project/uv/

Streamlit started to switch to it because of the performance benefits.

https://discuss.streamlit.io/t/community-cloud-switching-from-pip-to-uv/67235
https://twitter.com/ThiagoTDotCom/status/1780379729100718360

@AntoineDao AntoineDao merged commit b1c810d into master May 23, 2024
16 checks passed
Copy link

🎉 This PR is included in version 1.28.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

None yet

2 participants