You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checking dist/bandit-1.7.7-py3-none-any.whl: FAILED
ERROR `long_description` has syntax errors in markup and would not be
rendered on PyPI.
line 115: Error: Unexpected indentation.
WARNING `long_description_content_type` missing. defaulting to `text/x-rst`.
Checking dist/bandit-1.7.7.tar.gz: FAILED
ERROR `long_description` has syntax errors in markup and would not be
rendered on PyPI.
line 115: Error: Unexpected indentation.
WARNING `long_description_content_type` missing. defaulting to `text/x-rst`.
I suspect this is a result of markdown formatted text in the README which is RST format and used for the setuptools description.
Reproduction steps
1. Create a new release/tag for Bandit
2. Manually run the Publish to Test PyPI GitHub action
3. Notice the failure in the logs
Expected behavior
The action should run error free.
Bandit version
1.7.6 (Default)
Python version
3.12 (Default)
Additional context
No response
The text was updated successfully, but these errors were encountered:
A recent change to the README has code blocks in markdown format.
Since our README is actually reStructuredText format, this causes
syntax errors.
It's even bigger of a problem when an attempt to publish the package
with the README serving as the PyPI description. The syntax errors
prevents package publishing.
FixesPyCQA#1102
Signed-off-by: Eric Brown <eric_wade_brown@yahoo.com>
A recent change to the README has code blocks in markdown format.
Since our README is actually reStructuredText format, this causes
syntax errors.
It's even bigger of a problem when an attempt to publish the package
with the README serving as the PyPI description. The syntax errors
prevents package publishing.
Fixes#1102
Signed-off-by: Eric Brown <eric_wade_brown@yahoo.com>
Describe the bug
When running the Publish to Test PyPI job, it fails with the following errors
https://github.com/PyCQA/bandit/actions/runs/7629885396/job/20784333526
I suspect this is a result of markdown formatted text in the README which is RST format and used for the setuptools description.
Reproduction steps
Expected behavior
The action should run error free.
Bandit version
1.7.6 (Default)
Python version
3.12 (Default)
Additional context
No response
The text was updated successfully, but these errors were encountered: