@task
def GitHub_release_text():
 shortversion = get_sympy_short_version()
 htmltable = table()
 out = 'See https://github.com/sympy/sympy/wiki/release-notes-for-{shortversion} for the release notes.\n\n{htmltable}\n\n**Note**: Do not download the **Source code (zip)** or the **Source code (tar.gz)**\nfiles below.\n'
 out = out.format(shortversion=shortversion, htmltable=htmltable)
 print(blue('Here are the release notes to copy into the GitHub release Markdown form:', bold=True))
 print()
 print(out)
 return out

@ task def GitHub_release_text ( ) : shortversion = get_sympy_short_version ( ) htmltable = table ( ) out = 'See https://github.com/sympy/sympy/wiki/release-notes-for-{shortversion} for the release notes.\n\n{htmltable}\n\n**Note**: Do not download the **Source code (zip)** or the **Source code (tar.gz)**\nfiles below.\n' out = out . format ( shortversion = shortversion , htmltable = htmltable ) print ( blue ( 'Here are the release notes to copy into the GitHub release Markdown form:' , bold = True ) ) print ( ) print ( out ) return out
generate text to put in the github release markdown box .