Skip to content

Commit

Permalink
💚 Unpin lamindb versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyosun committed Sep 9, 2024
1 parent 63630bc commit cbcc6ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import os

import nox
from laminci.nox import (
build_docs,
Expand All @@ -13,6 +15,7 @@
# directory in every github action runner
# this also allows to break out an installation section
nox.options.default_venv_backend = "none"
IS_PR = os.getenv("GITHUB_EVENT_NAME") != "push"


@nox.session
Expand All @@ -22,7 +25,8 @@ def lint(session: nox.Session) -> None:

@nox.session()
def build(session):
install_lamindb(session, branch="main", extras="bionty,aws")
branch = "main" if IS_PR else "release" # point back to "release"
install_lamindb(session, branch=branch, extras="bionty,aws")
run(session, "uv pip install --system .[dev]")
login_testuser1(session)
run_pytest(session)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = [{name = "Lamin Labs", email = "[email protected]"}]
readme = "README.md"
dynamic = ["version", "description"]
dependencies = [
"lamindb[bionty,aws]==0.76.4",
"lamindb[bionty,aws]",
]

[project.urls]
Expand Down

0 comments on commit cbcc6ae

Please sign in to comment.