On Wed, Aug 7, 2019 at 7:35 AM Dominique Leuenberger / DimStar <dimstar@opensuse.org> wrote:
On Tue, 2019-08-06 at 16:31 -0400, Todd Rme wrote:
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
options are many - from what I gather, the different tornado versions cannot coexist on a system thouhh (they all install to +%{python_sitearch}/tornado) - so in the end this will remain a disaster.
But gneerally, the thing you try to solve, is done like this:
3 packages: python-tornado (version <LATEST>.x) python-tornado5 (version 5.x) Provides: python-tornado = 5.x Conflicts: python-tornado python-tornado4 (version 4.x) Provides: python-tornado = 4.x Conflicts: python-tornado
Other packages then don't need to know at all what the names of the packages are, and can do:
Package FOO (works with tornado 5 and later): Requires: python-tornado >= x
Package BAR: works with Tornado 4 and 5, but not with 6: Requires: python-tornado >= 3.x Conflicts: python-tornado >= 6
And BAZ requires tornado 6 (or later - we don't know yet) Requires: python-tornado >= 6.x
Of course, BAZ and and BAR can't be installed next to each other, as BAR wold require a tornado < 6 - and none of them can be installed without conflicting with tornado 6.x.
So far clear I hope?
In the future, when we get tornado 7 in plus, python-tornado will be updated to version 7.x and python-tornado6 be introduced (thus, no version suffix always on the latest version)
The problem is that the package want to prefer is tornado 5, not tornado 6. tornado 6 just isn't widely supported right now. -- To unsubscribe, e-mail: opensuse-python+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-python+owner@opensuse.org