Add pygamma_n back to analysis3#428
Conversation
|
This should close #423. Not 100% sure why the workflows are failing but I saw a lurking 403, ie. failed auth, so I'm not sure it's a 'real' failure (ie. failure to solve). With that said, this changes the lock file a lot, so I'd like to, at the very least, do some more careful verification & maybe see if we can minimise the changes. |
|
A quick verification note on the broken-label scope, because the lockfile churn is a bit noisy. I checked this against the current resolved outputs, not just by reading the diff:
Then I filtered those resolved URLs for Result:
Resolved broken-label artifact: So although this PR still has a lot of general solve churn, I did verify that we are not accidentally pulling other packages from I agree it would be worth automating this going forward — e.g. a workflow check that fails if any resolved package URL contains |
|
A quick summary of where this ended up and why. What changedThe main functional change is:
Relevant config shape in channels = [
"conda-forge",
{ channel = "accessnri", exclude-newer = "0d" },
"nodefaults",
"rapidsai",
"pytorch",
"nvidia",
"conda-forge/label/broken",
]
pygamma_n = { version = "==1.0.0", channel = "conda-forge/label/broken" }Why it ended up this wayI first tried the simpler route of just adding I also checked whether Pixi would let us scope the broken channel only at the dependency level without listing it in
About the diff noiseThe big lock/export churn was not caused by pulling lots of broken-channel packages. It came from a fresh solve updating many normal packages. I explicitly verified the broken-channel scope against the current resolved outputs:
and in both cases there is exactly one package resolved from So the current solve is not accidentally drawing in other broken-labelled packages. Rebuild/export hiccupWhile regenerating the exports, After deleting that corrupted cached package and rerunning, Guardrail added for future changesI also added a PR workflow to check broken-labelled packages more directly. The current design is intentionally simple:
So the rule becomes:
That should help keep future maintenance honest without making the check more complicated than it needs to be. |
Summary
pygamma_nback to theanalysis3pixi environmentconda-forge/label/broken1.0.0 build, which remains compatible with the currentnetcdf-fortranstackrecreate-env-yml.shhelperNotes
pygamma_nreleases failed because they require a newernetcdf-fortranthananalysis3can currently install.1.0.0fromconda-forge/label/brokensolves cleanly and matches the existing compatibility constraints for this environment.Closes #423