On Tue, Aug 6, 2019 at 12:19 PM Dominique Leuenberger / DimStar <dimstar@opensuse.org> wrote:
On Tue, 2019-08-06 at 11:59 -0400, Todd Rme wrote:
On Tue, Aug 6, 2019 at 10:58 AM Dominique Leuenberger / DimStar <dimstar@opensuse.org> wrote:
Hi Todd,
On Tue, 2019-08-06 at 10:45 -0400, Todd Rme wrote:
I have split the python-tornado packages into 3 version-specific packages in order to deal with the fact that some packages only support tornado 4 and others only tornado 5. openSUSE:Factory should be configured to prefer "python-tornado5", "python2-tornado5", and "python3-tornad5". The relevant submit requests are below:
https://build.opensuse.org/request/show/721284 https://build.opensuse.org/request/show/721285 https://build.opensuse.org/request/show/721286 https://build.opensuse.org/request/show/721287
The 'standard' way is to have the 'leading package' unversioned - and only add the compat ones with a version. So you'd get python-tornado (version 5 for now, until 6 comes out) plus python-tornado[34].
This would also bring with it that the Prefer: python[23]-tornado would for once and all be 'true' - and always refer tot he 'latest version'.
Cheers Dominique
Hi Dominique,
We discussed that, but felt that that use prefers is better in this situation. There are two big issues in this case.
First, we have a bunch of cross-distro packages that depend on tornado 4 (the salt testing stack) so changing the naming scheme would be break their cross-distro compatibility.
I think you misunderstood something: the 'Prefer' statement would still be in place, just for python[23]-Tornado (instead of python[23]- Tornado5. This is especially interesting as the config won't have to be changed with every major version coming out (i.e. Tornado 6)
Second, most packages support both tornado 4 and 5, any many support 4, 5, and 6. If we have those depend on tornado 5 specifically, then they can no longer be installed alongside packages that depend on tornado 4 only. This would artificially add a ton of conflicts for packages that depend on tornado 4 exclusively, greatly limiting how much they can be used.
There would be no difference: a package can require python-tornado > 4, which could be satisfied by Tornado 4, 5 and 6 (requiring that all python-tornadi<X> provide the symbol, but I'd assume that as a given anyway, otherwise no Prefer statement would be needed anyway).
As long as those packages can be installed alongside, then everything is good. and if they can't be installed alongside, then also having python-Tornado5 does not change that fact.
As for cross-distro: it would be even clearer - as the info about python-Tornado<x> would not have to be known at all.
I do not think I understand, then. Could you please explain what specific packages there should be and what each of them should do? Thanks -Todd -- To unsubscribe, e-mail: opensuse-python+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-python+owner@opensuse.org