Repository navigation
Conversation
hydra 1.3 does not run on Python 3.14. lerna covers the API the gateway uses, so prefer it, and keep hydra as what it falls back to. Add `csp_gateway/_config_framework.py`, which makes the choice once and exports the module and `HydraConfig` for everything else to import. Setting `CSP_GATEWAY_CONFIG_FRAMEWORK` to `hydra` or `lerna` pins one; a value that is neither is rejected rather than quietly falling back, so a typo in it is not a mystery to debug. The CLI's `main` decorator and the two readers of the output directory now go through it. Those readers ask `HydraConfig.initialized()` first, and nothing but a `main` decorator sets it -- composing a config through ccflow leaves it unset on both frameworks -- so the one that answers is always the one that ran. hydra stays a dependency. It is the fallback, and ccflow composes the config through it regardless of what the gateway itself imports. Signed-off-by: Tim Paine <[email protected]>
Contributor
Test Results1 183 tests +5 1 173 ✅ +5 10m 7s ⏱️ -49s Results for commit 1a7822a. ± Comparison against base commit 0932a2f. This pull request removes 1 and adds 6 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #359 +/- ##
==========================================
- Coverage 88.61% 88.59% -0.03%
==========================================
Files 167 169 +2
Lines 21465 21513 +48
Branches 1948 1952 +4
==========================================
+ Hits 19022 19060 +38
- Misses 2443 2453 +10 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
timkpaine
marked this pull request as ready for review
October 20, 2026 20:17
timkpaine
requested review from
arhamchopra,
emilybarrettp72,
feussy,
hintse,
ptomecek and
vstolin
as code owners
October 20, 2026 20:17
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.
No description provided.