-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
twine check
fails when badges have a scale factor ...
#304
Comments
Please provide a concrete reference to a readme that contains the problematic behavior - it's unclear from the linked issue which conditions lead to the problem. |
Related to pypa/readme_renderer#304
From https://github.com/PhasesResearchLab/ESPEI
Gives output:
|
Thanks for the error message, that points out a warning from We have disabled the ability to read external files, which prevents docutils from trying to load images to scale these. See: readme_renderer/readme_renderer/rst.py Lines 68 to 71 in 1d0497c
I haven't looked too hard yet for what alternatives might be avilable, or if there's a way to only allow images, but now there's a reason. |
PyPI does not allow file insertion for security reasons. See pypa/readme_renderer#304 (comment)
PyPI does not allow file insertion for security reasons. See pypa/readme_renderer#304 (comment)
As reported in:
pypa/twine#1102
twine check
fails when parsing thereadme
file contains badges. If one of the badge has a scale factor, thereadme_renderer
fails claiming it is not allowed to access to the internet.The text was updated successfully, but these errors were encountered: