Skip to content

Bump deps; pooch is out; numpy pin#310

Merged
MridulS merged 1 commit intoscipp:mainfrom
MridulS:pooch_1.9.0
Feb 13, 2026
Merged

Bump deps; pooch is out; numpy pin#310
MridulS merged 1 commit intoscipp:mainfrom
MridulS:pooch_1.9.0

Conversation

@MridulS
Copy link
Member

@MridulS MridulS commented Feb 2, 2026

This should fix #289 too.

pyproject.toml Outdated
"scippnexus>=25.06.0",
# Numba has an upper pin and pip-compile-multi will
# always complain about solving envs with different numpy pins.
"numpy<2.4",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not have upper pins in the main dependencies.
We should try to find a different way of solving this issue.
Numba is not a core dependency, but is needed for the tests.

We could e.g. add the pin to the tests deps, instead of the main deps, or add a pin in the test.in file?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree I don't like this setup either.

The problem is that pip-compile-multi does not care about the pyproject.toml file, it is solving envs from the requirements folder.

I can add this to base.in, but this adds another place to bump deps manually which I don't like much. But anyway pushed a new commit which should move the numpy pin out of pyproject.toml

@MridulS MridulS enabled auto-merge (squash) February 12, 2026 15:44
"matplotlib>=3.10.7",
"numba>=0.59",
"pooch>=1.5",
"numba>=0.63",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not that it is harmful, but why do we need this minimum version of numba?
Seems unrelated to the linked issue which is about pooch?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

numba has upper pins on numpy and numba 0.63 supports python 3.14

numba 0.59 has upper pin on 1.27
numba 0.60 has upper pin on 2.1
numba 0.61 has upper pin on 2.2
....

So we would need to bump numba to atleast 0.60 anyway to have some sane resolution with pip compile multi

@MridulS MridulS merged commit 5a548f4 into scipp:main Feb 13, 2026
4 checks passed
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.

[py314] Use filter argument for extracting data from registry

2 participants