From d6f96feef6d9b4be15d26ad0443f656688157212 Mon Sep 17 00:00:00 2001 From: Janosh Riebesell Date: Fri, 21 Jun 2024 12:11:51 -0400 Subject: [PATCH] try pinning setuptools<70 --- .github/workflows/test.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b6a12480..6943829f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,7 +34,7 @@ jobs: - name: Install dependencies run: | - uv pip install cython setuptools --system + uv pip install cython setuptools<70 --system python setup.py build_ext --inplace diff --git a/pyproject.toml b/pyproject.toml index 470842b5..91d5cc4c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,7 @@ find = { include = ["chgnet*"], exclude = ["tests", "tests*"] } "chgnet.pretrained" = ["*", "**/*"] [build-system] -requires = ["Cython", "setuptools>=65.0", "wheel"] +requires = ["Cython", "setuptools>=65,<70", "wheel"] build-backend = "setuptools.build_meta" [tool.ruff]