From 29c0ed633edbff674b0af202681b9e1bb38de61f Mon Sep 17 00:00:00 2001 From: Alexander Tong Date: Wed, 9 Oct 2024 19:07:40 -0400 Subject: [PATCH] Update workflows due to upstream updates. (#138) * Update workflows due to upstream updates. Future work: Unpin numpy version and pin docformatter. --- .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..80521ad 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",