Skip to content

Commit

Permalink
fix: The description content type for setuptools needs to be rst to m…
Browse files Browse the repository at this point in the history
…atch the readme
  • Loading branch information
marksweb authored and auvipy committed Apr 8, 2022
1 parent ee0bf29 commit f6d6474
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -134,7 +134,7 @@ def run_tests(self):
version=meta['version'],
description=meta['doc'],
long_description=long_description,
long_description_content_type='text/markdown',
long_description_content_type='text/x-rst',
keywords='celery django database result backend',
author=meta['author'],
author_email=meta['contact'],
Expand Down

1 comment on commit f6d6474

@auvipy
Copy link
Member

@auvipy auvipy commented on f6d6474 Apr 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

400 The description failed to render for 'text/x-rst'. See https://pypi.org/help/#description-content-type for more information.

<title>400 The description failed to render for 'text/x-rst'. See https://pypi.org/help/#description-content-type for more information.</title>

400 The description failed to render for 'text/x-rst'. See https://pypi.org/help/#description-content-type for more information.

The server could not comply with the request since it is either malformed or otherwise incorrect.

The description failed to render for 'text/x-rst'. See https://pypi.org/help/#description-content-type for more information. HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/ The description failed to render for 'text/x-rst'. See https://pypi.org/help/#description-content-type for more information.

Please sign in to comment.