pkgsrc-Users archive

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

Re: textproc/py27-expat requires python27-2.7.16



Joerg Sonnenberger wrote:
> On Mon, Jun 03, 2019 at 09:34:32PM +0200, Sijmen J. Mulder wrote:
> > I had an older version of Python 2.7 installed which caused the
> > py27-expat build to fail on a missing struct field
> > PyExpat_CAPI.SetHashSalt, introduced in Python 2.7.16.
> 
> Most of the modules shipped with Python itself depend on a more or less
> precise match, so this is not exactly surprising.

I was afraid this would be the case!

> > The attached patch updates the python27 buildlink3.mk to require Python
> > 2.7.16 or later. I'm not sure if that's the right solution.
> 
> This is completely wrong though, since it changes the requirement for
> every single Python module.

It seems then that Python's built in modules, but only those, should
depend on the distversion. I'll have a go at that.

Sijmen


Home | Main Index | Thread Index | Old Index