Skip to content

Update PET-MAD example to PET-MAD v1.1.0rc4 #129

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

Merged
merged 4 commits into from
Apr 30, 2025
Merged

Conversation

abmazitov
Copy link
Contributor

No description provided.

@abmazitov abmazitov changed the title Updated versions to PET-MAD v1.1.0rc4 Update PET-MAD example to PET-MAD v1.1.0rc4 Apr 29, 2025
Comment on lines 6 to 7
- lammps-metatensor=2025.02.04.mts0=cpu_hb5fed64_nompi_git.ce972db_0
- pet-mad=1.1.0rc4=pyhb0d71a2_0
Copy link
Contributor

Choose a reason for hiding this comment

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

Please do not pin to specific versions, but use >= and < where relevant

Suggested change
- lammps-metatensor=2025.02.04.mts0=cpu_hb5fed64_nompi_git.ce972db_0
- pet-mad=1.1.0rc4=pyhb0d71a2_0
- lammps-metatensor
- pet-mad >=1.1.0rc4

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Why not? It was @ceriottm who asked me to pin the exact version

Copy link
Contributor

Choose a reason for hiding this comment

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

Because if everyone pins everything everywhere, it gets very painful. We could introduce lockfiles to save the exact versions of a set of dependencies known to work together in the cookbook, but the current situation where half of the dependencies are pinned and the other half is not means a lot of churn and repeat work whenever we do an update.

Copy link
Contributor

Choose a reason for hiding this comment

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

As mentioned in #127 (review), we also don't want people who are using these example to be stuck on old versions, with bugs already fixed in the latest releases.

IMO the default behavior should be that all examples run on the latest version of everything, and we can deviate on a case by case basis if there is a good reason

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well, okay, that works

Copy link
Contributor

Choose a reason for hiding this comment

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

we saw clearly this didn't work though. the pet-mad example broke, and then we couldn't really merge anything new until that was fixed. I think that expecting to keep the whole thing running, and expecting people to fix other examples whenever they want to update one is not realistic.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think we could use semver pinning for stable packages, but pin exactly metaverse packages that are still changing too quickly

Copy link

Here is the build version of the cookbook in this pull request: documentation.zip, you can view it locally by unzipping documentation.zip and open the index.html with your favorite browser.

@ceriottm
Copy link
Contributor

OK, merging this and we move on the discussion on pinning to #127

@ceriottm ceriottm self-requested a review April 30, 2025 07:02
@ceriottm ceriottm merged commit 3a7f5c4 into main Apr 30, 2025
21 checks passed
@ceriottm ceriottm deleted the update-pet-mad-example branch April 30, 2025 07:10
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.

3 participants