From 3f8e7dc837984a6a97b17fdcc975d0cb1f219bf3 Mon Sep 17 00:00:00 2001 From: David Brochart Date: Wed, 20 Nov 2024 11:30:46 +0100 Subject: [PATCH] Use selector thread from anyio --- .github/workflows/ci.yml | 6 +++++- pyproject.toml | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70b3bf40..eccb4527 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,11 @@ jobs: timeout-minutes: 15 if: ${{ startsWith(matrix.os, 'windows') }} run: | - hatch run cov:nowarn || hatch run test:nowarn --lf + hatch run test:pip install git+https://github.com/davidbrochart/zmq-anyio.git@anyio-selector-thread#egg=zmq_anyio --ignore-installed + hatch run test:pip install git+https://github.com/davidbrochart/anyio.git@selector-thread#egg=anyio --ignore-installed + hatch run test:pip list + hatch run test:python --version + hatch run test:pytest -v - name: Check Launcher run: | diff --git a/pyproject.toml b/pyproject.toml index 6396c739..c4313fd3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -319,3 +319,6 @@ ignore = ["W002"] [tool.repo-review] ignore = ["PY007", "PP308", "GH102", "MY101"] + +[tool.hatch.metadata] +allow-direct-references = true