icub-models icon indicating copy to clipboard operation
icub-models copied to clipboard

deploy_test_PyPI action broken

Open traversaro opened this issue 1 year ago • 3 comments

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

fyi @diegoferigo

traversaro avatar Sep 06 '24 12:09 traversaro

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 https://github.com/ami-iit/jaxsim/pull/174 (note that it requires a configuration update also on the PyPI project).

diegoferigo avatar Sep 06 '24 14:09 diegoferigo

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

traversaro avatar Sep 06 '24 14:09 traversaro

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

diegoferigo avatar Sep 06 '24 14:09 diegoferigo