-
Notifications
You must be signed in to change notification settings - Fork 3
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
Use conda-env-lock #211
Use conda-env-lock #211
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #211 +/- ##
==========================================
- Coverage 93.76% 92.76% -1.01%
==========================================
Files 18 18
Lines 1894 1894
==========================================
- Hits 1776 1757 -19
- Misses 118 137 +19 ☔ View full report in Codecov by Sentry. |
@jonashaag Thank you for the work! |
Hmm, two problems:
|
You upgraded the CI to 3.12 :P
Yes, it's a somewhat complex CI. From my point of view, I Guess we could create a different environment for each DB specific CI job. From my understanding of |
Yes but you'd need multiple Actually something I'm happy to add to conda-env-lock is to use multiple |
That compared to the situation where we magically add dependencies at runtime for testing in CI sounds like a fair tradeoff for reproducibility and sane debugging.
🚀 |
I started implementing this but not sure if we actually want that in conda-env-lock: https://github.com/Quantco/conda-env-lock/issues/109 Maybe we should just auto-generate the derivative |
I'm giving up on this for now. Datajudge's CI uses a lot of environments:
In conda-env-lock since there is no "templating" of lock file definitions, that would require 30 IMO not a good fit for conda-env-lock at the moment. |
@jonashaag Thanks for looking into this! I think we're very open to suggestions if you have some ideas on how to streamline our CI environment setup in the future. |
I don't have any good ideas, you're not doing anything wrong. The only thing that would simplify things is to test fewer combinations. For example I wonder if it doesn't suffice to test "oldest SA and Python" and "newest SA and Python" as opposed to all combinations. OTOH machine labor is cheap and human labor is expensive so maybe it makes sense to keep all those tests |
@jonashaag I will take the liberty to close this for now - feel free to reopen at any point in time. :) |
I want to make conda-env-lock open source and need an open-source example repo. How about datajudge?