From 3afafc37b19f34de8ec29b03132be6fbc152e19c 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 | 2 ++ pyproject.toml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 70b3bf40..62f2d537 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,6 +55,8 @@ jobs: timeout-minutes: 15 if: ${{ startsWith(matrix.os, 'windows') }} run: | + hatch run test:pip install git+https://github.com/davidbrochart/anyio.git@selector-thread#egg=anyio + hatch run test:pip install git+https://github.com/davidbrochart/zmq-anyio.git@anyio-selector-thread#egg=zmq_anyio hatch run cov:nowarn || hatch run test:nowarn --lf - name: Check Launcher 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