From c86a01141478f6ace6f33a68fbcb7214492bd633 Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Wed, 21 May 2025 22:57:38 +0100 Subject: [PATCH] Pin setuptools to workaround ``package_index`` removal Fix https://github.com/broadinstitute/fiss/issues/192 , which was caused by the removal of `package_index` from setuptools in https://github.com/pypa/setuptools/pull/4963 . Note that I needed to use `setuptools.build_meta:__legacy__` as `build-backend` (instead of the usual `setuptools.build_meta`) because otherwise `python3 -m build` would fail with: ``` ModuleNotFoundError: No module named 'firecloud' ``` --- pyproject.toml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..ba9156a --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools<80.3.0"] +build-backend = "setuptools.build_meta:__legacy__"