tripleo-validations package upload to pypi fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Undecided
|
Elod Illes |
Bug Description
With twine 4.0.0 release the tripleo-validations package upload to pypi fails with the error [1]:
Uploading distributions to https:/
Uploading tripleo_
...
WARNING Error during upload. Retry with the --verbose option for more details.
ERROR HTTPError: 400 Bad Request from https:/
Invalid description content type: type/subtype is not valid See
https:/
This is due to wrong metadata in setup.cfg [2], which is rst-x however it should be x-rst [3]. Previously this caused that pypi added simply 'UNKNOWN' to metadata (see whl files from former releases), but now pypi refuses the upload as this was fixed with PR #887 in twine [4].
This needs to be fixed at least in master and wallaby, as those are the branches that can get releases and published in pypi.
[1] https:/
[2] https:/
[3] https:/
[4] https:/
Changed in tripleo: | |
assignee: | nobody → Elod Illes (elod-illes) |
Fix proposed to branch: master /review. opendev. org/c/openstack /tripleo- validations/ +/851923
Review: https:/