From 8bb2d652cadea9a2ea08d6f8a4b785e4ca378a25 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Tue, 26 Sep 2023 20:41:26 +0300 Subject: [PATCH 1/2] pyproject.toml: loosen dependencies to avoid building from source --- pyproject.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8544bb20..6e0afacc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,11 @@ [build-system] -requires = ["setuptools", "wheel", "cython==0.29.30", "numpy==1.22.0", "packaging"] +requires = [ + "setuptools", + "wheel", + "cython~=0.29.30", + "numpy>=1.22.0", + "packaging", +] [flake8] max-line-length=120 From 6277f09c5f8f695b21877aa795cd458615fed479 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Tue, 26 Sep 2023 20:43:59 +0300 Subject: [PATCH 2/2] requirements.txt: loosen pandas pin (1.4 would need to be compiled from source on macs) --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 76071439..2837c36e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -23,7 +23,7 @@ flask==2.* pysbd==0.3.4 # deps for notebooks umap-learn==0.5.* -pandas==1.4.* +pandas>=1.4,<2.0 # deps for training matplotlib==3.7.* # coqui stack