Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix versions of Python dependencies for each distribution #610

Open
MakisH opened this issue Jan 27, 2025 · 1 comment
Open

Fix versions of Python dependencies for each distribution #610

MakisH opened this issue Jan 27, 2025 · 1 comment

Comments

@MakisH
Copy link
Member

MakisH commented Jan 27, 2025

Triggered by #609, as well as by #584 and related issues, I think we need a mechanism to make the versions of our Python dependencies very specific every time we release a new distribution, for reproducibility reasons.

This could be included in a release pull request template here, and maybe there is some Action or similar mechanism to check the version restrictions in requirements.txt files.

However, if we do this by changing the actual files here, we would need to merge back-and-forth, which would be a bit ugly.

An alternative would be something like a Gemfile.lock approach, where we would specify a set of versions that are known to work in a separate file (for example requirements-reference.txt).

@fsimonis
Copy link
Member

fsimonis commented Jan 27, 2025

We could also fix the direct dependencies in the requirements.txt.

Common packages like numpy and scipy would be good candidates.
preCICE should remain in compatibility mode though.
And we need to fix the solvers anyway.

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

No branches or pull requests

2 participants