-
Notifications
You must be signed in to change notification settings - Fork 12
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
👷 Switch to uv for CI #1518
👷 Switch to uv for CI #1518
Conversation
Signed-off-by: zethson <[email protected]>
Signed-off-by: zethson <[email protected]>
not quite sure why this test suddenly fails |
Signed-off-by: zethson <[email protected]>
Wild idea: Because the Python kernel changed which changes the notebook hash. |
Signed-off-by: zethson <[email protected]>
Signed-off-by: zethson <[email protected]>
Signed-off-by: zethson <[email protected]>
Not wild, it is very probably what happened. |
Signed-off-by: zethson <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1518 +/- ##
==========================================
- Coverage 93.13% 93.03% -0.10%
==========================================
Files 52 52
Lines 4862 4981 +119
==========================================
+ Hits 4528 4634 +106
- Misses 334 347 +13 ☔ View full report in Codecov by Sentry. |
Signed-off-by: zethson <[email protected]>
Signed-off-by: zethson <[email protected]>
Signed-off-by: zethson <[email protected]>
Signed-off-by: zethson <[email protected]>
Note: I cache submodule installs in my CI runs, along with all dependencies. This would save more time here as well. |
Not sure whether hitting the cache is worth for the clones, but we can try! Thanks @chaichontat |
Exactly! Maybe a reason for storing source code for notebooks as |
Building the docs in non-strict mode gives these strange warnings: And these docs: https://66013d3de8ba209aea9a6083--lamindb-qnwk.netlify.app/guide.html These 4 come from the transform types: 🤔 |
Well, all of them come from documenting From the current production docs: https://lamin.ai/docs/lamindb.core.types.transformtype#lamindb.core.types.TransformType In this PR, it's broken: https://66013d3de8ba209aea9a6083--lamindb-qnwk.netlify.app/lamindb.core.types.transformtype#lamindb.core.types.TransformType |
The sphinx code that renders
Hence, no mention of modules, etc. I suspect that a more recent docs dependency now renders the Enum differently, and leads to the error. |
I'm also installing the docs dependencies with uv now, but the error persists. Looking at dependencies of the last successful build:
Versus here (pip install that first failed):
I don't find any difference. It's exactly the same environment. |
Hence, the reason is not the docs dependencies, but the upstream Python dependencies. Docs in Sergei's PR are passing, too. uv must be installing something that breaks sphinx documentation for Enums... |
It seems this was it. Back to strict mode. |
Sad - Python 3.11 might give us another tiny speedup ^_^ |
Do you want to keep this local or should I add a |
We'll backport to laminci once the transition has been made everywhere. If we do it now, we'll break all repos because they don't come with uv install. |
That's why I suggested a flag -> |
Ideally, we install uv by default through laminci just like we default nox, then we could backport right away. |
You could simply add uv here and then it'd work! |
Sorry, I didn't see that you suggested. But adding uv as a dependency to laminci will ensure that all repos keep working, and then we don't need to add a new flag. |
On it |
@falexwolf could you make a laminci release, please? laminlabs/laminci#34 |
I just put laminci 0.12.0 on pypi! |
Signed-off-by: zethson <[email protected]>
Signed-off-by: zethson <[email protected]>
Signed-off-by: zethson <[email protected]>
Otherwise, great! Can be merged! |
Working on this while being in calls