fix: allow install under read-only $HOME#175
Merged
chrisburr merged 3 commits intoDIRACGrid:mainfrom Apr 16, 2026
Merged
Conversation
4ebfcc7 to
a8cadab
Compare
DIRACOS installers do not need ~/.conda/environments.txt and the unconditional ~/.conda creation breaks installs under a read-only $HOME (DIRACGrid#174).
Mirrors the reproducer from DIRACGrid#174 on every basic-tests matrix row. Runs the installer as a non-root user (root ignores permission bits, which would mask the regression), then restores ownership for the post-install suite since singularity/apptainer's user-namespace mapping cannot traverse tester-owned dirs.
b2e3a59 to
2864178
Compare
46d9dd8 to
2c6a33a
Compare
Pin constructor to chrisburr/constructor@fix/mkdir-conda-guard so the basic-tests CI actually passes. Revert to the conda-forge release once the upstream fix lands and ships.
2c6a33a to
baf1b88
Compare
Member
Author
|
The PR to fix this upstream has been merged (this PR is still needed to get the DIRACOS2 side of the fix). |
fstagni
reviewed
Apr 15, 2026
| "ruamel.yaml" = ">=0.11.14,<0.19" | ||
|
|
||
| [pypi-dependencies] | ||
| constructor = { git = "https://github.com/chrisburr/constructor.git", branch = "fix/mkdir-conda-guard" } |
Contributor
There was a problem hiding this comment.
is this a temporary thing?
Member
Author
There was a problem hiding this comment.
Yes just until the next release of constructor as my pull request has already been merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Set
register_envs: falseto document that DIRACOS installers do not need~/.conda/environments.txt, and make the basic-tests CI rows exercise a read-only$HOMEto catch regressions like #174.BEGINRELEASENOTES
FIX: install under read-only $HOME (#174)
ENDRELEASENOTES