HomeSoftware Heritage

swh-pypi: Activate --verbose output for failing upload

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

swh-pypi: Activate --verbose output for failing upload

Without it, the error message is not clear from the get go and we need to tamper with
build configuration to actually have access to the error message.

See [1] with the --verbose flag versus [2] without it.

[1]

17:56:44  [?25hINFO     Response from https://upload.pypi.org/legacy/:
17:56:44           400 The description failed to render for 'text/x-rst'. See
17:56:44           https://pypi.org/help/#description-content-type for more information.
17:56:44  INFO     <html>
17:56:44            <head>
17:56:44             <title>400 The description failed to render for 'text/x-rst'. See
17:56:44           https://pypi.org/help/#description-content-type for more
17:56:44           information.</title>
17:56:44            </head>
17:56:44            <body>
17:56:44             <h1>400 The description failed to render for 'text/x-rst'. See
17:56:44           https://pypi.org/help/#description-content-type for more
17:56:44           information.</h1>
17:56:44             The server could not comply with the request since it is either
17:56:44           malformed or otherwise incorrect.<br/><br/>
17:56:44           The description failed to render for &#x27;text/x-rst&#x27;. See
17:56:44           https://pypi.org/help/#description-content-type for more information.
17:56:44
17:56:44
17:56:44            </body>
17:56:44           </html>

from https://jenkins.softwareheritage.org/job/DLDCVS/job/pypi-upload/12/console

[2]

17:44:19  [?25hWARNING  Error during upload. Retry with the --verbose option for more details.

https://jenkins.softwareheritage.org/job/DLDCVS/job/pypi-upload/11/console

Details

Provenance
ardumontAuthored on Apr 25 2022, 6:03 PM
ardumontPushed on Apr 25 2022, 6:08 PM
Differential Revision
D7651: swh-pypi: Activate --verbose output for failing upload

Commit No Longer Exists

This commit no longer exists in the repository.