Remove WARNING from building jobs on documentation

When adding MR on the gitlab, I found many WARNINGS complain about the long_description_content_type missing.

$ twine check packages/*
Checking packages/proteus-7.3.0.tar.gz: PASSED with warnings WARNING long_description_content_typemissing. defaulting totext/x-rst. Checking packages/tryton-7.3.0.tar.gz: PASSED with warnings WARNING long_description_content_typemissing. defaulting totext/x-rst. Checking packages/trytond-7.3.0.tar.gz: PASSED with warnings WARNING long_description_content_typemissing. defaulting totext/x-rst.

It can be fixed adding:

diff -r 5f602053cd29 modules/notification_email/setup.py
--- a/modules/notification_email/setup.py	Sat May 04 20:55:33 2024 +0200
+++ b/modules/notification_email/setup.py	Tue May 07 20:21:07 2024 +0200
@@ -58,6 +58,7 @@
     version=version,
     description='Tryton module for sending email notifications',
     long_description=read('README.rst'),
+    long_description_content_type='text/x-rst',
     author='Tryton',
     author_email='foundation@tryton.org',
     url='http://www.tryton.org/',

Should I create a Merge Request for those?. Or there is a reason for keep them like that.

For me twine is the problem because reST is the default value: Core metadata specifications - Python Packaging User Guide

Well,
you are possibly right. But we are getting 200 WARNINGs just for that… setting the default value does not do any harm either…

Well the warnings neither.
I really do not like to have to adapt to please tools.
But this could part of the implementation of Support PEP 517 (#12252) · Issues · Tryton / Tryton · GitLab