Closed MartinThoma closed 1 year ago
Interesting, I don't know what's going on with that. I read the documentations and I have the markdown tag correctly there.
@Teemu Could you please answer the questions in the other issue? pypa/warehouse is the official repository of pypi.org; so the folks there should be able to give awesome support :-)
From my previous encounters with this kind of problem, you need a few things in order to use Markdown descriptions on PyPI:
long_description_content_type="text/markdown"
in your setup.py (which you have)If you're uploading wheels, it might also be a good idea that you have the most recent wheel version as well.
Anyway I've looked at the two PKG-INFO files inside pytest-sugar-0.9.4.tar.gz and neither of them has the
Description-Content-Type: text/markdown
field, which indicates that you used a too-old setuptools version to generate the sdist.
(and now I see that I merely repeated the information already provided on the linked warehouse issue)
@Teemu Could you answer the questions in https://github.com/pypa/warehouse/issues/8472 about the pytest-sugar build? Maybe they can help us to fix it.
field, which indicates that you used a too-old setuptools version to generate the sdist.
I'm 100% sure that this was the case. :)
I suggest running twine check
on the distributions before uploading them (which prints the warning about the lack of this information).
It appears Markdown is rendering properly for the pytest-sugar
README on its PyPI page, so I believe this issue can be closed.
Closing as per previous comment.
When I go to the pytest-sugar page on PyPI, I see that markdown is not rendered. The version there is 0.9.4 and if there were no other changes, this version was introduced with 92ae9dee - the latest commit.
I'm uncertain why markdown is not rendered, though. I have a similar setup for my packages and they look fine. Does anybody here have an idea?