From 61fccde07a4f6ae2e209802cae330bf5f924baea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Beraud?= Date: Mon, 1 Jul 2019 20:46:30 +0200 Subject: [PATCH] Force to use markdown to prevent pypi issue Recently the pypi team have reintroduce some deactivated tests on package deployment and especially tests concerning long_description syntaxe. If projects don't specify that they use the markdown format the package deployment will fail if something went wrong in the markdown format. By example if a project use inline literal this can be an issue due to the fact that if `long_description_content_type` is missing [1]. The default format will be `text/x-rst` where code block is different from markdown. These changes force to use the markdown format to avoid this kind of issue on project who use `README` at markdown format. [1] http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007459.html For more details: https://github.com/pypa/warehouse/issues/5890#issuecomment-494868157 Change-Id: I0f1b5c2f911b6a421525075a8c52cf27da38bf39 --- setup.cfg | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.cfg b/setup.cfg index 19a43c1..63a761e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,6 +2,7 @@ name = tripleo-ha-utils summary = Give a set of tools to test TripleO HA capabilities description-file = +long_description_content_type = text/markdown README.md author = Raoul Scarazzini author-email = rasca@redhat.com