-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
pymc-nightly upload fails with auth error #5548
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
Comments
To isolate this issue, I'm assuming it's to do with the lines in nightly.yml
which I copied over from the aesara equivalent file. I'm not sure I'll be able to help much fixing this, given my permissions, but this page explains how this github action works. And I suppose the answer is on this thread:
|
What's your pypi user name?
…On Sat, Mar 5, 2022 at 12:24 PM theorashid ***@***.***> wrote:
To isolate this issue, I'm assuming it's to do with the lines in
nightly.yml
- name: Publish to PyPI
uses: ***@***.***
with:
user: __token__
password: ${{ secrets.nightly_pypi_secret }}
which I copied over from the aesara equivalent file.
I'm not sure I'll be able to help much fixing this, given my permissions,
but this page
<https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/>
explains how this github action works.
And I suppose the answer is on this thread
<https://github.community/t/pypi-api-token-invalid/191552>:
Once you create your API token on PyPI, you can paste it in the secrets
tab of your repository as a new token. Then, whatever NAME you give that
token is used in the python-publish.yml file as ${{secrets.NAME}}. In this
case, it’s PYPI_API_TOKEN. Does that help?
—
Reply to this email directly, view it on GitHub
<#5548 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFETGBWHVZTS6JLDDENB43U6M75ZANCNFSM5P7QNH2A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
I don't think I'll be able to fix it because I can't access the secrets tab in the repository settings |
OK, I created a secret called |
Someone just tried this successfully 🥳 |
CC @fonnesbeck @theorashid
The text was updated successfully, but these errors were encountered: