Is there an existing issue for this?
What keywords did you use to search existing issues?
Since the release of twine 6.1.0, the parsing of the README files (format text/x-rst) fails in the OpenStack CI [1].
Error snippet: https://paste.opendev.org/show/bpIn5YiVeRrpNDMM06Ez/
Logs (of the snippet): https://04824dc10f811bf71cc7-f60cbd2bdbb8b5648c0b0982a5f4272f.ssl.cf1.rackcdn.com/939769/3/check/test-release-openstack/cd3a31f/job-output.txt
Source code from these logs: https://github.com/openstack/python-openstackclient
README file: https://raw.githubusercontent.com/openstack/python-openstackclient/refs/heads/master/README.rst
[1]https://zuul.opendev.org/t/openstack/builds?job_name=test-release-openstack&skip=0
What operating system are you using?
Linux
If you selected 'Other', describe your Operating System here
Ubuntu 24.04
What version of Python are you running?
How did you install twine? Did you use your operating system's package manager or pip or something else?
sudo python -m pip install twine!=1.12.0 requests-toolbelt!=0.9.0
(from https://opendev.org/zuul/zuul-jobs/src/commit/7932e7ccc9d689e8612322292386740d5726c18d/roles/ensure-twine/tasks/main.yaml)
What version of twine do you have installed (include the complete output)
$ twine --version
twine version 6.1.0 (keyring: 25.6.0, packaging: 24.2, requests: 2.32.3, requests-toolbelt: 1.0.0, urllib3: 1.26.20, id: 1.5.0)
Which package repository are you using?
pypi
Please describe the issue that you are experiencing
(already described)
Please list the steps required to reproduce this behaviour
Using the OpenStack CI. The steps are:
- Build the sdist of the project
- Execute twine
Anything else you'd like to mention?
No response
Is there an existing issue for this?
What keywords did you use to search existing issues?
Since the release of twine 6.1.0, the parsing of the README files (format text/x-rst) fails in the OpenStack CI [1].
Error snippet: https://paste.opendev.org/show/bpIn5YiVeRrpNDMM06Ez/
Logs (of the snippet): https://04824dc10f811bf71cc7-f60cbd2bdbb8b5648c0b0982a5f4272f.ssl.cf1.rackcdn.com/939769/3/check/test-release-openstack/cd3a31f/job-output.txt
Source code from these logs: https://github.com/openstack/python-openstackclient
README file: https://raw.githubusercontent.com/openstack/python-openstackclient/refs/heads/master/README.rst
[1]https://zuul.opendev.org/t/openstack/builds?job_name=test-release-openstack&skip=0
What operating system are you using?
Linux
If you selected 'Other', describe your Operating System here
Ubuntu 24.04
What version of Python are you running?
Python 3.12How did you install twine? Did you use your operating system's package manager or pip or something else?
What version of twine do you have installed (include the complete output)
Which package repository are you using?
pypi
Please describe the issue that you are experiencing
(already described)
Please list the steps required to reproduce this behaviour
Using the OpenStack CI. The steps are:
Anything else you'd like to mention?
No response