@task
def get_sympy_short_version():
 version = get_sympy_version()
 parts = version.split('.')
 non_rc_parts = [i for i in parts if i.isdigit()]
 return '.'.join(non_rc_parts)

@ task def get_sympy_short_version ( ) : version = get_sympy_version ( ) parts = version . split ( '.' ) non_rc_parts = [ i for i in parts if i . isdigit ( ) ] return '.' . join ( non_rc_parts )
get the short version of sympy being released .