Re: RFC: Drop python-rpm-generators for the subpackage to be built as part of the rpm package itself

2018-01-14 Thread Neal Gompa
On Sun, Jan 14, 2018 at 7:22 AM, Igor Gnatenko
 wrote:
> On Thu, 2018-01-11 at 10:37 -0500, Neal Gompa wrote:
>> Hey,
>>
>> As I was looking at the rpm.spec and fixing up a small bit of the
>> build for the Python bindings, it occurred to me that we have left
>> python-rpm-generators out of sync with rpm.
>>
>> I'm wondering if it even makes sense to keep that as a separate source
>> package, and instead build the python3-rpm-generators subpackage from
>> the main rpm package. I'd much rather do that as it makes it much
>> easier to keep everything in sync.
>>
>> We inherited the split from Fedora, who did it for their failed
>> modularity effort to try to make a base system environment that was
>> only C and shell but also contain the rpm-build package (I didn't say
>> it made sense...). From the point of view of Mageia, who is unlikely
>> to attempt what Fedora is doing, I'm not sure there's a particular
>> value in doing so. I was not even particularly enthused about this
>> when Fedora did it...
>>
>> Insofar as bytecompilation issues are concerned, we should probably
>> rename the file on install to not have the .py suffix, so that the
>> Python interpreter doesn't consider it as something to bytecompile.
>> That will allow us to avoid the issues that necessitate python -> rpm
>> -> python rebuilds.
>>
>> What do you all think?
>
> To be honest, I would like to separate even upstream to its own repository. I
> don't think it makes sense to keep it part of RPM itself.
>
> CCing python SIG and RPM maintainers for their feedback.
> - --
> - -Igor Gnatenko

If we were going to do something like that, I'd actually like to have
a repository in rpm-software-management where we can contribute
dependency generators of all kinds beyond the basic ones included in
RPM for everyone to use. It makes no sense for people to reinvent the
same things over and over simply because they didn't know it was
already written somewhere.


-- 
真実はいつも一つ!/ 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


Re: RFC: Drop python-rpm-generators for the subpackage to be built as part of the rpm package itself

2018-01-14 Thread Igor Gnatenko
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Thu, 2018-01-11 at 10:37 -0500, Neal Gompa wrote:
> Hey,
> 
> As I was looking at the rpm.spec and fixing up a small bit of the
> build for the Python bindings, it occurred to me that we have left
> python-rpm-generators out of sync with rpm.
> 
> I'm wondering if it even makes sense to keep that as a separate source
> package, and instead build the python3-rpm-generators subpackage from
> the main rpm package. I'd much rather do that as it makes it much
> easier to keep everything in sync.
> 
> We inherited the split from Fedora, who did it for their failed
> modularity effort to try to make a base system environment that was
> only C and shell but also contain the rpm-build package (I didn't say
> it made sense...). From the point of view of Mageia, who is unlikely
> to attempt what Fedora is doing, I'm not sure there's a particular
> value in doing so. I was not even particularly enthused about this
> when Fedora did it...
> 
> Insofar as bytecompilation issues are concerned, we should probably
> rename the file on install to not have the .py suffix, so that the
> Python interpreter doesn't consider it as something to bytecompile.
> That will allow us to avoid the issues that necessitate python -> rpm
> -> python rebuilds.
> 
> What do you all think?

To be honest, I would like to separate even upstream to its own repository. I
don't think it makes sense to keep it part of RPM itself.

CCing python SIG and RPM maintainers for their feedback.
- -- 
- -Igor Gnatenko
-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEhLFO09aHZVqO+CM6aVcUvRu8X0wFAlpbS2oACgkQaVcUvRu8
X0wuQA//c/dzTdVrqe9KSfW2kapfFwhYwJvHGH2aD5WZNxqkcYSvwnXh1tUzfEtO
GYwedYcEneTPpoI4IbHq+v7s5ds7BEWdlI6BNF/dlQOk98J+8HSXeikoqoC9g845
nTwwvJh6d7la0O0Jc2XRIHgqw/Flw5YhtQPyfo5jCvEX42LsMGmRvpVRJsVftvud
XFFFTVAgCS2kJTAiygiRx2vkx/adtcucmAOBGG9TAUnoEH4glHSyslyJFyWo/M2K
GDgxXfqnaseuiHPkQ3S4hgw+oBxuHxQ6GMB2n/ktQqY9XVYy9JODBG77VgLrjt+G
kw/h0pfHetIN8mafrvkPXHmF7d4fS/CCS/W47BUm+f9qRiyw1Mpd48XugL+1IWHM
3/X1H1uWXNBDJKevVZoXkPO4qYV6shqXHAwtWBlTqnoH6UmM08Ob/Xvd+BLgU8wp
1Fu03KrmD8swBo0JtLsaecypYEEmeK5FmgVtl8AiCsoLi65Qwq/4RA3C6dA1AMCo
aROpHrA1oDexq6fW1bQPhXIjzJtVPGC85+aomKPkVRM4+Fk6ceUrTJ0tEAA2kCkw
mLhh6sTsMrq4epK3buM6n/brRLwffsrLO4cESeWBqlPKnfYuinEt3yJglDhWHaaS
132dyoIx7Tc4VM0Fe7sKay9WgwbpK80eom/Y4hSas30vVnSTE3o=
=Sm5k
-END PGP SIGNATURE-
___
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org