robotology / icub-models

Official URDF and SDF models of the iCub humanoid robot.
Creative Commons Attribution Share Alike 4.0 International
33 stars 34 forks source link

deploy_test_PyPI action broken #239

Open traversaro opened 2 months ago

traversaro commented 2 months ago

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

fyi @diegoferigo

diegoferigo commented 2 months ago

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).

traversaro commented 2 months ago

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

diegoferigo commented 2 months ago

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.