<div dir="ltr"><div>I reported a related bug on pypa:</div><div><br></div><div><a href="https://github.com/pypa/warehouse/issues/8791">https://github.com/pypa/warehouse/issues/8791</a></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 6 nov. 2020 à 13:49, Thierry Carrez <<a href="mailto:thierry@openstack.org">thierry@openstack.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The weird thing is that the PyPI error message says:<br>
<br>
"The description failed to render in the default format of reStructuredText"<br>
<br>
while we specify:<br>
<br>
long_description_content_type='text/markdown'<br>
<br>
in setup.py. It looks like PyPI is ignoring our indication in setup.py, <br>
and therefore (accurately) reporting failure to render in RST.<br>
<br>
Herve Beraud wrote:<br>
> I confirm the markdown issue was fixed 1 year ago [1] by myself and <br>
> since 3 new versions of ansible-role-redhat-subscription have been <br>
> released [2].<br>
> <br>
> The markdown fix is embedded in the three releases:<br>
> $ git tag --contains fceb51c66e<br>
> 1.0.4<br>
> 1.1.0<br>
> 1.1.1<br>
> <br>
> 2 releases was successfully uploaded to pypi:<br>
> - <a href="https://pypi.org/project/ansible-role-redhat-subscription/1.1.0/" rel="noreferrer" target="_blank">https://pypi.org/project/ansible-role-redhat-subscription/1.1.0/</a><br>
> - <a href="https://pypi.org/project/ansible-role-redhat-subscription/1.0.4/" rel="noreferrer" target="_blank">https://pypi.org/project/ansible-role-redhat-subscription/1.0.4/</a><br>
> <br>
> I saw a couple of changes in your README and they seem to mix markdown <br>
> and restructuredText [3], maybe it could explain this issue but these <br>
> changes are also in previous versions:<br>
> <br>
> $ git tag --contains 0949f34ffb<br>
> 1.0.3<br>
> 1.0.4<br>
> 1.1.0<br>
> 1.1.1<br>
> <br>
> Maybe pypa introduced more strict checks on their side since our last <br>
> release...<br>
> <br>
> I tried to generate a PKG-INFO locally and everything seems ok.<br>
> <br>
> Also I didn't see any new bugs that seem related to this issue on the <br>
> pypa side [4].<br>
> <br>
> [1] <br>
> <a href="https://opendev.org/openstack/ansible-role-redhat-subscription/commit/fceb51c66eb343a7cd20891da8728c65ff703ce7" rel="noreferrer" target="_blank">https://opendev.org/openstack/ansible-role-redhat-subscription/commit/fceb51c66eb343a7cd20891da8728c65ff703ce7</a><br>
> [2] <br>
> <a href="https://opendev.org/openstack/releases/commits/branch/master/deliverables/_independent/ansible-role-redhat-subscription.yaml" rel="noreferrer" target="_blank">https://opendev.org/openstack/releases/commits/branch/master/deliverables/_independent/ansible-role-redhat-subscription.yaml</a><br>
> [3] <br>
> <a href="https://opendev.org/openstack/ansible-role-redhat-subscription/commit/0949f34ffb10e51787e824b00f0b5ae69592cdda" rel="noreferrer" target="_blank">https://opendev.org/openstack/ansible-role-redhat-subscription/commit/0949f34ffb10e51787e824b00f0b5ae69592cdda</a><br>
> [4] <br>
> <a href="https://github.com/search?q=org%3Apypa+The+description+failed+to+render+in+the+default+format+of+reStructuredText&type=issues" rel="noreferrer" target="_blank">https://github.com/search?q=org%3Apypa+The+description+failed+to+render+in+the+default+format+of+reStructuredText&type=issues</a><br>
> <br>
> <br>
> <br>
> Le jeu. 5 nov. 2020 à 14:26, Thierry Carrez <<a href="mailto:thierry@openstack.org" target="_blank">thierry@openstack.org</a> <br>
> <mailto:<a href="mailto:thierry@openstack.org" target="_blank">thierry@openstack.org</a>>> a écrit :<br>
> <br>
>     Marios Andreou wrote:<br>
>      > thanks for the update on that I would have missed it if you<br>
>     didn't send<br>
>      > this mail.<br>
> <br>
>     This is actually in reaction to a release job failure email that I<br>
>     received, so that we discuss the solution on the list. There was no<br>
>     prior email on the topic.<br>
> <br>
>      > I am a bit confused though as you mentioned 1.1.0 here do you<br>
>      > mean this is something to do with the<br>
>     ansible-role-redhat-subscription<br>
>      > repo itself?<br>
> <br>
>     The failure is linked to the content of the repository: basically, PyPI<br>
>     is rejecting how the README is specified. So it will likely require a<br>
>     patch to ansible-role-redhat-subscription itself, in which case we'd<br>
>     push a new tag (1.1.2).<br>
> <br>
>     That said, it's unclear what the problem is, as the same problem was<br>
>     fixed[1] a year ago already and nothing really changed since the<br>
>     (successful) 1.1.0 publication. We'll explore more and let you know if<br>
>     there is anything you can help with :)<br>
> <br>
>     [1]<br>
>     <a href="https://opendev.org/openstack/ansible-role-redhat-subscription/commit/fceb51c66eb343a7cd20891da8728c65ff703ce7" rel="noreferrer" target="_blank">https://opendev.org/openstack/ansible-role-redhat-subscription/commit/fceb51c66eb343a7cd20891da8728c65ff703ce7</a><br>
> <br>
>     -- <br>
>     Thierry Carrez (ttx)<br>
> <br>
> <br>
> <br>
> -- <br>
> Hervé Beraud<br>
> Senior Software Engineer at Red Hat<br>
> irc: hberaud<br>
> <a href="https://github.com/4383/" rel="noreferrer" target="_blank">https://github.com/4383/</a><br>
> <a href="https://twitter.com/4383hberaud" rel="noreferrer" target="_blank">https://twitter.com/4383hberaud</a><br>
> -----BEGIN PGP SIGNATURE-----<br>
> <br>
> wsFcBAABCAAQBQJb4AwCCRAHwXRBNkGNegAALSkQAHrotwCiL3VMwDR0vcja10Q+<br>
> Kf31yCutl5bAlS7tOKpPQ9XN4oC0ZSThyNNFVrg8ail0SczHXsC4rOrsPblgGRN+<br>
> RQLoCm2eO1AkB0ubCYLaq0XqSaO+Uk81QxAPkyPCEGT6SRxXr2lhADK0T86kBnMP<br>
> F8RvGolu3EFjlqCVgeOZaR51PqwUlEhZXZuuNKrWZXg/oRiY4811GmnvzmUhgK5G<br>
> 5+f8mUg74hfjDbR2VhjTeaLKp0PhskjOIKY3vqHXofLuaqFDD+WrAy/NgDGvN22g<br>
> glGfj472T3xyHnUzM8ILgAGSghfzZF5Skj2qEeci9cB6K3Hm3osj+PbvfsXE/7Kw<br>
> m/xtm+FjnaywZEv54uCmVIzQsRIm1qJscu20Qw6Q0UiPpDFqD7O6tWSRKdX11UTZ<br>
> hwVQTMh9AKQDBEh2W9nnFi9kzSSNu4OQ1dRMcYHWfd9BEkccezxHwUM4Xyov5Fe0<br>
> qnbfzTB1tYkjU78loMWFaLa00ftSxP/DtQ//iYVyfVNfcCwfDszXLOqlkvGmY1/Y<br>
> F1ON0ONekDZkGJsDoS6QdiUSn8RZ2mHArGEWMV00EV5DCIbCXRvywXV43ckx8Z+3<br>
> B8qUJhBqJ8RS2F+vTs3DTaXqcktgJ4UkhYC2c1gImcPRyGrK9VY0sCT+1iA+wp/O<br>
> v6rDpkeNksZ9fFSyoY2o<br>
> =ECSj<br>
> -----END PGP SIGNATURE-----<br>
> <br>
> <br>
> Le jeu. 5 nov. 2020 à 16:21, Marios Andreou <<a href="mailto:marios@redhat.com" target="_blank">marios@redhat.com</a> <br>
> <mailto:<a href="mailto:marios@redhat.com" target="_blank">marios@redhat.com</a>>> a écrit :<br>
> <br>
> <br>
> <br>
>     On Thu, Nov 5, 2020 at 3:24 PM Thierry Carrez <<a href="mailto:thierry@openstack.org" target="_blank">thierry@openstack.org</a><br>
>     <mailto:<a href="mailto:thierry@openstack.org" target="_blank">thierry@openstack.org</a>>> wrote:<br>
> <br>
>         Marios Andreou wrote:<br>
>          > thanks for the update on that I would have missed it if you<br>
>         didn't send<br>
>          > this mail.<br>
> <br>
>         This is actually in reaction to a release job failure email that I<br>
>         received, so that we discuss the solution on the list. There was no<br>
>         prior email on the topic.<br>
> <br>
>          > I am a bit confused though as you mentioned 1.1.0 here do you<br>
>          > mean this is something to do with the<br>
>         ansible-role-redhat-subscription<br>
>          > repo itself?<br>
> <br>
>         The failure is linked to the content of the repository:<br>
>         basically, PyPI<br>
>         is rejecting how the README is specified. So it will likely<br>
>         require a<br>
>         patch to ansible-role-redhat-subscription itself, in which case<br>
>         we'd<br>
>         push a new tag (1.1.2).<br>
> <br>
>         That said, it's unclear what the problem is, as the same problem<br>
>         was<br>
>         fixed[1] a year ago already and nothing really changed since the<br>
>         (successful) 1.1.0 publication. We'll explore more and let you<br>
>         know if<br>
>         there is anything you can help with :)<br>
> <br>
> <br>
>     ack! Thank you much clearer for me now. If there is an update<br>
>     required then no problem we can address that and update with a newer tag<br>
> <br>
> <br>
>         [1]<br>
>         <a href="https://opendev.org/openstack/ansible-role-redhat-subscription/commit/fceb51c66eb343a7cd20891da8728c65ff703ce7" rel="noreferrer" target="_blank">https://opendev.org/openstack/ansible-role-redhat-subscription/commit/fceb51c66eb343a7cd20891da8728c65ff703ce7</a><br>
> <br>
>         -- <br>
>         Thierry Carrez (ttx)<br>
> <br>
> <br>
> <br>
> -- <br>
> Hervé Beraud<br>
> Senior Software Engineer at Red Hat<br>
> irc: hberaud<br>
> <a href="https://github.com/4383/" rel="noreferrer" target="_blank">https://github.com/4383/</a><br>
> <a href="https://twitter.com/4383hberaud" rel="noreferrer" target="_blank">https://twitter.com/4383hberaud</a><br>
> -----BEGIN PGP SIGNATURE-----<br>
> <br>
> wsFcBAABCAAQBQJb4AwCCRAHwXRBNkGNegAALSkQAHrotwCiL3VMwDR0vcja10Q+<br>
> Kf31yCutl5bAlS7tOKpPQ9XN4oC0ZSThyNNFVrg8ail0SczHXsC4rOrsPblgGRN+<br>
> RQLoCm2eO1AkB0ubCYLaq0XqSaO+Uk81QxAPkyPCEGT6SRxXr2lhADK0T86kBnMP<br>
> F8RvGolu3EFjlqCVgeOZaR51PqwUlEhZXZuuNKrWZXg/oRiY4811GmnvzmUhgK5G<br>
> 5+f8mUg74hfjDbR2VhjTeaLKp0PhskjOIKY3vqHXofLuaqFDD+WrAy/NgDGvN22g<br>
> glGfj472T3xyHnUzM8ILgAGSghfzZF5Skj2qEeci9cB6K3Hm3osj+PbvfsXE/7Kw<br>
> m/xtm+FjnaywZEv54uCmVIzQsRIm1qJscu20Qw6Q0UiPpDFqD7O6tWSRKdX11UTZ<br>
> hwVQTMh9AKQDBEh2W9nnFi9kzSSNu4OQ1dRMcYHWfd9BEkccezxHwUM4Xyov5Fe0<br>
> qnbfzTB1tYkjU78loMWFaLa00ftSxP/DtQ//iYVyfVNfcCwfDszXLOqlkvGmY1/Y<br>
> F1ON0ONekDZkGJsDoS6QdiUSn8RZ2mHArGEWMV00EV5DCIbCXRvywXV43ckx8Z+3<br>
> B8qUJhBqJ8RS2F+vTs3DTaXqcktgJ4UkhYC2c1gImcPRyGrK9VY0sCT+1iA+wp/O<br>
> v6rDpkeNksZ9fFSyoY2o<br>
> =ECSj<br>
> -----END PGP SIGNATURE-----<br>
> <br>
<br>
<br>
-- <br>
Thierry Carrez (ttx)<br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Hervé Beraud</div><div>Senior Software Engineer at Red Hat</div><div>irc: hberaud</div><div><a href="https://github.com/4383/" target="_blank">https://github.com/4383/</a></div><div><a href="https://twitter.com/4383hberaud" target="_blank">https://twitter.com/4383hberaud</a><br></div><div>-----BEGIN PGP SIGNATURE-----<br><br>wsFcBAABCAAQBQJb4AwCCRAHwXRBNkGNegAALSkQAHrotwCiL3VMwDR0vcja10Q+<br>Kf31yCutl5bAlS7tOKpPQ9XN4oC0ZSThyNNFVrg8ail0SczHXsC4rOrsPblgGRN+<br>RQLoCm2eO1AkB0ubCYLaq0XqSaO+Uk81QxAPkyPCEGT6SRxXr2lhADK0T86kBnMP<br>F8RvGolu3EFjlqCVgeOZaR51PqwUlEhZXZuuNKrWZXg/oRiY4811GmnvzmUhgK5G<br>5+f8mUg74hfjDbR2VhjTeaLKp0PhskjOIKY3vqHXofLuaqFDD+WrAy/NgDGvN22g<br>glGfj472T3xyHnUzM8ILgAGSghfzZF5Skj2qEeci9cB6K3Hm3osj+PbvfsXE/7Kw<br>m/xtm+FjnaywZEv54uCmVIzQsRIm1qJscu20Qw6Q0UiPpDFqD7O6tWSRKdX11UTZ<br>hwVQTMh9AKQDBEh2W9nnFi9kzSSNu4OQ1dRMcYHWfd9BEkccezxHwUM4Xyov5Fe0<br>qnbfzTB1tYkjU78loMWFaLa00ftSxP/DtQ//iYVyfVNfcCwfDszXLOqlkvGmY1/Y<br>F1ON0ONekDZkGJsDoS6QdiUSn8RZ2mHArGEWMV00EV5DCIbCXRvywXV43ckx8Z+3<br>B8qUJhBqJ8RS2F+vTs3DTaXqcktgJ4UkhYC2c1gImcPRyGrK9VY0sCT+1iA+wp/O<br>v6rDpkeNksZ9fFSyoY2o<br>=ECSj<br>-----END PGP SIGNATURE-----<br><br></div></div></div></div></div></div></div></div></div></div></div></div></div>