tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Only one Python 3.x at a time?



On Fri, Apr 12, 2019 at 01:56:49PM +0200, Dr. Thomas Orgis wrote:
> I observed a failure to build py37-matplotlib. This is because it
> depends on py37-cairo, which I cannot install when I also have
> py36-cairo. My plan was to have python 2.7, 3.6 and 3.7 as upcoming
> version installed in parallel. Pkgsrc promises that this is possible.
> It sadly isn't with py-cairo. It installs
> 
> 	include/pycairo/py3cairo.h
> 
> regardless of the minor Python version. This is not easily fixable as
> other packages (and users on our system) will depend on this name for
> the cairo binding header.
> 
> This makes me wonder: Just how complete is the support to install
> multiple Python 3.x realms in parallel? My conclusion now is that I
> will install 3.7 as such, but will avoid building any packages for it.
> There can be only one complete install of Python 3.x (and also of 2.x,
> but there, it's no question which one).
> 
> Is this the conclusion I should draw? Do we want to fight against this
> kind of conflict?

We have split packages for this reason - look at py-gobject3 and
py-gobject3-common.

Someone needs to do this for py-cairo, it seems. Perhaps you? :)
 Thomas


Home | Main Index | Thread Index | Old Index