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

Reference results: Archive Python environment information #596

Closed
MakisH opened this issue Nov 18, 2024 · 1 comment
Closed

Reference results: Archive Python environment information #596

MakisH opened this issue Nov 18, 2024 · 1 comment

Comments

@MakisH
Copy link
Member

MakisH commented Nov 18, 2024

As suggested by @fsimonis, we can use pip freeze to get a tree of all dependencies used in a venv:

https://pip.pypa.io/en/stable/cli/pip_freeze/

@MakisH
Copy link
Member Author

MakisH commented Feb 21, 2025

A file pip-installed-packages.log is included in all Python-related tutorials since #608.

Missing is including this in the reference results. This, however, would break many assumptions that we currently have in what we consider as reference results and how we archive them. We currently only consider the precice-exports/, which are defined per tutorial, while this file is defined per case.

In general, more files and potentially the complete results would be useful to be archived as reference results for debugging purposes. But this would increase the storage requirements a lot (even if we use Git LFS, getting the repository would download multiple multi-MB files), and would require several changes in the way we archive things.

As a much easier and more useful work-around, I suggest (manually) archiving the full build artifact outside this repository. For this reason, I have now included the run number in the name of the artifacts in #628. When someone triggers the generation of new reference results, they could also archive the complete artifact (since these are retained by GitHub for up to 90 days).

I will address this again in #629, in the context of #400, update the related documentation, and add reminders. Closing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant