From af7820d9f15bf8d97fd1d15fddbea030017ca567 Mon Sep 17 00:00:00 2001 From: Jessica Mauvais Date: Thu, 30 Apr 2026 08:04:32 -0700 Subject: [PATCH 1/2] fixed ruff install (version not avail) --- .github/workflows/lint.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 009e3f7d..601581d6 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -45,10 +45,9 @@ jobs: run: | uv venv .venv - - name: Install dependencies + - name: Install ruff run: | . .venv/bin/activate - if [ -f pip/cpu_requirements.txt ]; then pip install -r pip/cpu_requirements.txt; fi uv pip install ruff - name: Lint with ruff From 2eef16231d82ddc35886da83e19141c66aeefd56 Mon Sep 17 00:00:00 2001 From: Jessica Mauvais Date: Thu, 30 Apr 2026 08:35:47 -0700 Subject: [PATCH 2/2] removed 'uv run' from lint. widened cpu requirements for lightning versions --- .github/workflows/lint.yml | 2 +- pip/cpu_requirements.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 601581d6..9d95bcf7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -54,5 +54,5 @@ jobs: run: | # Check all lint rules . .venv/bin/activate - uv run ruff check atomsci/ + ruff check atomsci/ diff --git a/pip/cpu_requirements.txt b/pip/cpu_requirements.txt index 4e0db5f5..4e7940e3 100644 --- a/pip/cpu_requirements.txt +++ b/pip/cpu_requirements.txt @@ -24,7 +24,7 @@ torch==2.1.2+cpu torchdata==0.7.1 # Lightning; pin to a recent stable series to avoid breaking changes -lightning==2.2.5 +lightning>=2.2,<2.7 # TensorFlow CPU; compatible with DeepChem 2.8 tensorflow-cpu~=2.14.0 @@ -100,4 +100,4 @@ mordred # ========================== pytest -ipykernel \ No newline at end of file +ipykernel