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

deploy_test_PyPI action broken #239

Open
traversaro opened this issue Sep 6, 2024 · 3 comments
Open

deploy_test_PyPI action broken #239

traversaro opened this issue Sep 6, 2024 · 3 comments

Comments

@traversaro
Copy link
Member

See https://github.com/robotology/icub-models/actions/runs/10738659245 .

fyi @diegoferigo

@diegoferigo
Copy link
Member

diegoferigo commented Sep 6, 2024

The error is the following:

ERROR HTTPError: 400 Bad Request from https://test.pypi.org/legacy/
User 'traversaro' does not have two-factor authentication enabled.
Please enable two-factor authentication before attempting to upload to
PyPI. See https://test.pypi.org/help/#two-factor-authentication for
more information.

This is due to the change in PyPI authentication. I suggest to enable Trusted Publishers support as done in ami-iit/jaxsim#174 (note that it requires a configuration update also on the PyPI project).

@traversaro
Copy link
Member Author

Thanks, I followed this on the test.pypi.org and it worked fine, thanks!

@diegoferigo
Copy link
Member

Keep in mind that you might also need to update the deployment GH workflow as done in ami-iit/jaxsim#174. The action needs extra permissions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants