On Wed, Jun 19, 2019 at 6:05 AM Miro Hrončok <mhron...@redhat.com> wrote: > > We have an interesting request for python3-rpm-macros to depend on python3. > > See https://bugzilla.redhat.com/show_bug.cgi?id=1563789 > > Highlights: > > - users who build for Python 3 are told (in the guidelines) to BR > python3-devel > (that brings in both python3 and python3-rpm-macros) > - the existence of python3-rpm-macros is left as an implementation detail > for ^ > - in theory, those macros can be used with other Pythons > (such as pypy3 or python36, that is most likely not done in practice) > > Arguments: > > - to require: the macros are broken without a python3 interpreter > - to not: the macros should work with any python3 interpreter > > Solutions? > > - declare direct BR of macros without a python3 interpreter unsupported > - add dependency on python3. unused if used with another interpreter > - add a common virtual provide for all python3 interpreters > or require (python3 or pypy3 or python36...) - very tedious >
Have we ever tried using it with pypy3? Does it even work with that (that is, pypy3-foo packages can be made)? If it does, we should just add a common virtual provide to supported interpreters and require that. Else, just require python3. -- 真実はいつも一つ!/ Always, there's only one truth! _______________________________________________ python-devel mailing list -- python-devel@lists.fedoraproject.org To unsubscribe send an email to python-devel-le...@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.fedoraproject.org