From 601e64099221499096547e3d33e93bd7ef66a99b Mon Sep 17 00:00:00 2001 From: Alex Tong Date: Wed, 9 Oct 2024 18:58:02 -0400 Subject: [PATCH 1/2] Update workflows due to upstream updates. --- .pre-commit-config.yaml | 2 +- runner-requirements.txt | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 99f79f2..46e3553 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -55,7 +55,7 @@ repos: # python docstring formatting - repo: https://github.com/myint/docformatter - rev: v1.7.5 + rev: master hooks: - id: docformatter require_serial: true diff --git a/runner-requirements.txt b/runner-requirements.txt index 90e92dd..0a17314 100644 --- a/runner-requirements.txt +++ b/runner-requirements.txt @@ -38,7 +38,7 @@ pytest # tests # --------- pkg reqs -------- # lightning-bolts matplotlib -numpy +numpy<2.0.0 # Due to pandas incompatibility scipy scikit-learn scprep diff --git a/setup.py b/setup.py index cde6dd2..3756d8b 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ "torchvision>=0.11.0", "lightning-bolts", "matplotlib", - "numpy", + "numpy<2.0.0", # Due to pandas incompatibility "scipy", "scikit-learn", "scprep", From 9321742fdfadba75b8d439df847888623a1ad2d3 Mon Sep 17 00:00:00 2001 From: Alex Tong Date: Wed, 9 Oct 2024 19:06:52 -0400 Subject: [PATCH 2/2] Formatting --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 3756d8b..80521ad 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ "torchvision>=0.11.0", "lightning-bolts", "matplotlib", - "numpy<2.0.0", # Due to pandas incompatibility + "numpy<2.0.0", # Due to pandas incompatibility "scipy", "scikit-learn", "scprep",