diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 536ed1c..199c122 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,17 +19,17 @@ jobs: steps: - name: Checkout main - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Checkout lndocs - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: laminlabs/lndocs ssh-key: ${{ secrets.READ_LNDOCS }} path: lndocs ref: main - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Cache pre-commit diff --git a/laminci/nox.py b/laminci/nox.py index e1d299d..84d263b 100644 --- a/laminci/nox.py +++ b/laminci/nox.py @@ -68,7 +68,7 @@ def run_pytest(session: Session, coverage: bool = True, env: Optional[Dict] = No def build_docs(session: Session, strict: bool = False, strip_prefix: bool = False): prefix = "." if Path("./lndocs").exists() else ".." if nox.options.default_venv_backend == "none": - session.run(*f"pip install {prefix}/lndocs".split()) + session.run(*f"uv pip install --system {prefix}/lndocs".split()) else: session.install(f"{prefix}/lndocs") # do not simply add instance creation here diff --git a/pyproject.toml b/pyproject.toml index 3551f28..1cd51df 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,6 +10,7 @@ dynamic = ["version", "description"] dependencies = [ # this CANNOT depend on lamindb as long as we use it # as an upstream dependency within lndb! + "uv", "nox", "lamin_utils", "pyyaml",