Almost all of the Python packages I maintain have something useful in the GitHub archive
that isn’t in the PyPI archive. I find that PyPI source distributions commonly lack test
suites and usually lack documentation. I choose PyPI sources where all else is equal, but
in a lot of cases using GitHub sources is really the only reasonable option.
On Sat, Oct 30, 2021, at 3:42 PM, Gordon Messmer wrote:
> On 10/29/21 05:49, Miro Hrončok wrote:
>> For some of them (e.g. mako), this seems to be a mistake even.
>
>
> There are a lot of "dev0" versions in that set, so I took a look for the
> cause. It looks like all of the "dev0" packages use github source
> rather than PyPI sources, which means that none of the release process
> defined in setup.py/cfg is being used for those packages; they're just
> tarballs of the git repo.
>
>
https://src.fedoraproject.org/rpms/python-mako/blob/rawhide/f/python-mako...
>
> "dev0" doesn't appear to be a bug in the scripts. Builds from github
> are intentionally marked dev releases:
>
>
https://github.com/sqlalchemy/mako/blob/main/setup.cfg#L72
>
> That pattern also appears in the updated policy document:
>
>
https://fedoraproject.org/wiki/Changes/PythonPackagingGuidelines202x
>
> I'd suggest that we should instead strongly encourage the use of PyPI
> URLs.
> _______________________________________________
> python-devel mailing list -- python-devel(a)lists.fedoraproject.org
> To unsubscribe send an email to
> python-devel-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct:
>
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
>
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedorapr...
> Do not reply to spam on the list, report it:
>
https://pagure.io/fedora-infrastructure