serge-sans-paille / pythran

Ahead of Time compiler for numeric kernels
https://pythran.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.98k stars 191 forks source link

setuptools 62+ required to build #2196

Closed adamjstewart closed 3 months ago

adamjstewart commented 3 months ago

Originally discovered by @rgommers

Starting with #2162, building pythran with setuptools 60 or older results in failure to detect project name or version:

  Created wheel for UNKNOWN: filename=UNKNOWN-0.0.0-py3-none-any.whl size=2302 sha256=b46d11132f5384c143756b1ed741d7a1848b92f77ddc837eaebf68ad91ae333b

and setuptools 61 fails with:

  ValueError: invalid pyproject.toml config: `tool.setuptools.dynamic`

Setuptools 62 or newer is required to build from source.

serge-sans-paille commented 3 months ago

debian stable packages setuptools 66 but we have to wait for ubuntu lunar to get setuptools 66 I'll check if I can fix the pyproject.toml first

serge-sans-paille commented 3 months ago

check done : it seems to require more work that I'm not eager to do. I'll followup with #2197