From 4d90fa5cb2415f8d8d4f17b59cd4240cdc90cef7 Mon Sep 17 00:00:00 2001 From: Min RK Date: Fri, 2 Aug 2024 11:22:57 +0200 Subject: [PATCH] install for free threading --- .github/workflows/test.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bf856adf5..4eaac1fec 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -139,6 +139,11 @@ jobs: run: | pip install --upgrade pip wheel pip install -r test-requirements.txt + + - name: install free-threading dependencies + if: ${{ !matrix.free_threading }} + run: | + pip install --upgrade --pre -i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple cython - name: remove tornado if: matrix.tornado == 'none' @@ -192,12 +197,18 @@ jobs: echo ZMQ_DRAFT_API=1 >> "$GITHUB_ENV" - name: build pyzmq + if: ${{ !matrix.free_threading }} run: | pip install -v -e . + - name: build pyzmq (free threading) + if: ${{ matrix.free_threading }} + run: | + pip install -v --no-build-isolation . + - name: import zmq run: | - python -c "import zmq" + python -I -c "import zmq" - name: run tests run: |