Skip to content

Create pyproject.toml#6

Open
bretonr wants to merge 1 commit intoHiPERCAM:masterfrom
bretonr:master
Open

Create pyproject.toml#6
bretonr wants to merge 1 commit intoHiPERCAM:masterfrom
bretonr:master

Conversation

@bretonr
Copy link

@bretonr bretonr commented Feb 6, 2025

In more recent versions of python (>3.11) the Cython compiling fails as the setuptools have changed and requires numpy to be installable in isolation. The easiest fix is to use pyproject.toml defining the requirements. It's currently requiring numpy<2.0 as everything breaks with numpy 2.0 at the moment. In the future the toml file could be expanded to contain more project info which currently sits in the setup.py.

In more recent versions of python (>3.11) the Cython compiling fails as the setuptools have changed and requires numpy to be installable in isolation. The easiest fix is to use pyproject.toml defining the requirements. It's currently requiring numpy<2.0 as everything breaks with numpy 2.0 at the moment. In the future the toml file could be expanded to contain more project info which currently sits in the setup.py.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant