From fbcca6c0bcdfe3410757b5da2a0ca819108b9247 Mon Sep 17 00:00:00 2001 From: Victor Lin Date: Mon, 9 Feb 2026 16:57:39 -0800 Subject: [PATCH] Pin setuptools <82.0.0 on Python 3.10 Python 3.10 resolves to an unfortunate combination of (1) early versions of Snakemake which are reliant on pkg_resources from setuptools and (2) later versions of setuptools which no longer provide pkg_resources. This is mostly an issue with stopit (a Snakemake dependency) lacking an upper pin on setuptools, but we can use this workaround in the meantime. --- .github/actions/setup-integration-tests/action.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/actions/setup-integration-tests/action.yaml b/.github/actions/setup-integration-tests/action.yaml index b1047ed5..26099ad2 100644 --- a/.github/actions/setup-integration-tests/action.yaml +++ b/.github/actions/setup-integration-tests/action.yaml @@ -55,6 +55,10 @@ runs: run: mamba install augur auspice 'snakemake !=7.30.2' shell: bash -l -eo pipefail {0} + - if: inputs.python-version == '3.10' + run: mamba install 'setuptools <82.0.0' + shell: bash -l -eo pipefail {0} + - run: conda info shell: bash -l -eo pipefail {0}