Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-Documentation.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
**Steps to replicate the issue**:
Pypi upload fails after documentation update of README.rst and ROADMAP.rst.
**What happens?**:
The description failed to render in the default format of reStructuredText.
D:\pwb\GIT\core>twine upload dist/* --repository testpypi --verbose
Uploading distributions to https://test.pypi.org/legacy/
INFO dist\pywikibot_core-8.0.0-py3-none-any.whl (679.6 KB)
INFO dist\pywikibot-core-8.0.0.tar.gz (584.2 KB)
INFO Querying keyring for username
Enter your username: <redacted>
INFO Querying keyring for password
Enter your password:
INFO username: <redacted>
INFO password: <hidden>
Uploading pywikibot_core-8.0.0-py3-none-any.whl
100% ---------------------------------------- 729.7/729.7 kB • 00:00 • 1.1
MB/s
INFO Response from https://test.pypi.org/legacy/:
400 The description failed to render in the default format of
reStructuredText. See
https://test.pypi.org/help/#description-content-type for more
information.
INFO <html>
<head>
<title>400 The description failed to render in the default
format of
reStructuredText. See
https://test.pypi.org/help/#description-content-type for more
information.</title>
</head>
<body>
<h1>400 The description failed to render in the default format of
reStructuredText. See
https://test.pypi.org/help/#description-content-type for more
information.</h1>
The server could not comply with the request since it is either
malformed or otherwise incorrect.<br/><br/>
The description failed to render in the default format of
reStructuredText. See
https://test.pypi.org/help/#description-content-type for more
information.
</body>
</html>
ERROR HTTPError: 400 Bad Request from https://test.pypi.org/legacy/
The description failed to render in the default format of
reStructuredText. See
https://test.pypi.org/help/#description-content-type for more
information.
Replacing `.. code::` with `::` does not help.
**Software version**:
Pywikibot 8.0.0
**Other information**:
Upload still works for Pywikibot 7.7:
https://pypi.org/project/pywikibot/#history
@KBach: any idea?
TASK DETAIL
https://phabricator.wikimedia.org/T327056
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Xqt, Aklapper, pywikibot-bugs-list, KBach, PotsdamLamb, Jyoo1011,
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Urstrulykkr, Viztor, Wenyi,
Tbscho, MayS, Framawiki, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis,
mys_721tx, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]