Tuesday, December 03, 2024

Re: [fixing scipy 1/2] Update py-beniget to 0.4.2.post1

On 2024/12/04 01:51, James Cook wrote:
> Currently when I run "make" in math/py-scypi, I see something like this:
>
> * Getting build dependencies for wheel...
>
> ERROR Missing dependencies:
> pythran<0.16.0,>=0.14.0
> gast~=0.5.0
> pythran<0.16.0,>=0.14.0
> beniget~=0.4.0 -> gast~=0.5.0
>
> It seems both pythran and beniget have gast=~0.5.0 in requirements.txt,
> which is violated by a recent update.
>
> This patch updates py-beniget to a version with a looser requirement
> for gast. I hope the "post1" is allowed in MODPY_EGG_VERSION; at
> least, it is working for me.

.post1 is definitely correct for MODPY_EGG_VERSION.

It is ok for PKGNAME as long as it doesn't go above .post9 (which is
unlikely to happen) - play with pkg_check-version to see why.


On 2024/12/04 01:58, James Cook wrote:
> This is the second thing I needed to change before I could install
> the scipy port.

Both committed. I thought I had already tested building scipy with
the previous changes, but my "make update" failed after a previous
attempt to update pythran (which built ok itself but scipy didn't
like it) leaving me with a PLIST_DB file that stopped the older
numbered version from packaging, but I didn't notice it before
going on to build scipy.

No comments:

Post a Comment