Skip to content

Bump deps; pooch is out; numpy pin#310

Open
MridulS wants to merge 2 commits intoscipp:mainfrom
MridulS:pooch_1.9.0
Open

Bump deps; pooch is out; numpy pin#310
MridulS wants to merge 2 commits 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

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