Skip to content

Include Environment objects in the cache checksum? #826

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

Open
tclose opened this issue May 19, 2025 · 2 comments
Open

Include Environment objects in the cache checksum? #826

tclose opened this issue May 19, 2025 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@tclose
Copy link
Contributor

tclose commented May 19, 2025

I'm thinking they probably should be, as this would be able to handle updates to software versions

@tclose tclose moved this to Triage in Pydra Roadmap May 19, 2025
@tclose tclose added the question Further information is requested label May 19, 2025
@tclose
Copy link
Contributor Author

tclose commented May 28, 2025

Could potentially include a version class attribute that gets auto included in the hash or put a sub-dir under the cache dir to handle versioning

@tclose tclose changed the title Should environments be included in the cache checksum? Should Environment objects be included in the cache checksum? May 28, 2025
@tclose tclose moved this from Triage to v1.0 in Pydra Roadmap May 28, 2025
@tclose tclose self-assigned this May 28, 2025
@tclose
Copy link
Contributor Author

tclose commented May 28, 2025

Could let the Environment object return its own checksum so if people wanted to disable this behaviour they can by subclassing and return a constant checksum

@tclose tclose added enhancement New feature or request and removed question Further information is requested labels May 28, 2025
@tclose tclose changed the title Should Environment objects be included in the cache checksum? Include Environment objects in the cache checksum? May 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: v1.0
Development

No branches or pull requests

1 participant