fedora-python / pyp2rpm

Tool to convert a package from PyPI to RPM SPECFILE or to generate SRPM.
MIT License
123 stars 39 forks source link

For Fedora, consider making Python 3 only the default #163

Closed hroncok closed 6 years ago

hroncok commented 6 years ago

Currently, when pyp2rpm is used without any switches, it creates a combined py3+py2 package. I was wondering whether we are at a point where python2 subpackage would only be created when explicitly asked for (or when pyp2rpm determines the package is py2 only).

I think there are packagers that simply include the python2 subpackage because it was created automatically, even if they don't actually need one. Those who need it would simply use the appropriate switch (-p2).

Thoughts?

Conan-Kudo commented 6 years ago

This would be good for Fedora and Mageia, as we're considering the same change in Mageia, too.

However, I think this would require some coordination to figure out what to do about unversioned Python package names.

irushchyshyn commented 6 years ago

This has been fixed for Fedora and Mageia. And I will do another release for it. Closing, please reopen if needed.