From 002fd765a6e2ce4e3af0a4c59f977081d9cadf42 Mon Sep 17 00:00:00 2001 From: matthewtrotter Date: Sun, 28 Apr 2024 14:32:02 -0500 Subject: [PATCH] py312 --- .github/workflows/python-lib.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-lib.yaml b/.github/workflows/python-lib.yaml index 31b7ebb..aa4793f 100644 --- a/.github/workflows/python-lib.yaml +++ b/.github/workflows/python-lib.yaml @@ -21,7 +21,8 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install build pytest wheel distutils + pip install build pytest wheel + if [ "${{ matrix.python-version }}" = "3.12" ]; then pip install distutils; fi if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Test with pytest run: pytest test.py