Skip to content

Update pyproject.toml - bump numpy version #75

Open
ThomasMGeo wants to merge 1 commit into
Zabamund:masterfrom
ThomasMGeo:patch-1
Open

Update pyproject.toml - bump numpy version #75
ThomasMGeo wants to merge 1 commit into
Zabamund:masterfrom
ThomasMGeo:patch-1

Conversation

@ThomasMGeo

Copy link
Copy Markdown

Update to better support python 3.12.

The current numpy >=1.10 requirement is impossible to satisfy on Python 3.12, since NumPy versions 1.10-1.25 don't support Python 3.12.

Update to better support python 3.12. 

The current numpy >=1.10 requirement is impossible to satisfy on Python 3.12, since NumPy versions 1.10-1.25 don't support Python 3.12.
@jokva

jokva commented Jul 30, 2025

Copy link
Copy Markdown
Collaborator

Can this not be made conditional based on the python version? i.e. python3.12 -> >= 1.25, otherwise >= 1.10?

@jokva

jokva commented Jul 30, 2025

Copy link
Copy Markdown
Collaborator

Something like this:

    numpy>=1.20.3; python_version<'3.10'
    numpy>=1.21.0; python_version>='3.10'
    numpy>=1.23.2; python_version>='3.11'

https://github.com/pandas-dev/pandas/blob/2e218d10984e9919f0296931d92ea851c6a6faf5/setup.cfg#L34

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.

2 participants