Skip to content

Commit

Permalink
💚 Fix packages installation in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Koncopd committed Jan 2, 2025
1 parent 54cc927 commit 4de1419
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ def lint(session: nox.Session) -> None:
["hub-local", "hub-prod", "hub-cloud", "storage", "docs"],
)
def install(session: nox.Session, group: str) -> None:
no_deps_packages = "git+https://github.com/laminlabs/lamindb@integrate-lnschema-core git+https://github.com/laminlabs/wetlab@integrate-lnschema-core git+https://github.com/laminlabs/lamin-cli"
schema_deps = f"""uv pip install --system git+https://github.com/laminlabs/bionty@integrate-lnschema-core
no_deps_packages = "git+https://github.com/laminlabs/lamindb git+https://github.com/laminlabs/wetlab git+https://github.com/laminlabs/lamin-cli"
schema_deps = f"""uv pip install --system git+https://github.com/laminlabs/bionty
uv pip install --system --no-deps {no_deps_packages}
"""
if group == "hub-cloud":
cmds = schema_deps + "uv pip install --system ./laminhub/rest-hub line_profiler"
elif group == "docs":
cmds = """uv pip install --system git+https://github.com/laminlabs/lamindb@integrate-lnschema-core"""
cmds = """uv pip install --system git+https://github.com/laminlabs/lamindb"""
elif group == "storage":
cmds = schema_deps + "uv pip install --system gcsfs huggingface_hub"
elif group == "hub-prod":
Expand Down

0 comments on commit 4de1419

Please sign in to comment.