File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -70,11 +70,17 @@ jobs:
7070 echo "=== Checking for RunFinishedError in _asyncio.py ==="
7171 grep -n "RunFinishedError" "$ANYIO_PATH/_backends/_asyncio.py" || echo "Not found"
7272
73- echo "=== Testing with 'uv run --no-sync' (what pytest will use) ==="
74- uv run --no-sync python -c "from importlib.metadata import version; print('anyio version:', version('anyio')) "
73+ echo "=== Showing actual line 72 of _asyncio.py ==="
74+ sed -n '72p' "$ANYIO_PATH/_backends/_asyncio.py "
7575
76- echo "=== Comparing with 'uv run --frozen --no-sync' (old approach) ==="
77- uv run --frozen --no-sync python -c "from importlib.metadata import version; print('anyio version:', version('anyio'))" || echo "Failed with --frozen"
76+ echo "=== Showing lines 70-75 of _asyncio.py ==="
77+ sed -n '70,75p' "$ANYIO_PATH/_backends/_asyncio.py"
78+
79+ echo "=== Testing with 'uv run --no-project --no-sync' (what pytest will use) ==="
80+ uv run --no-project --no-sync python -c "from importlib.metadata import version; print('anyio version:', version('anyio'))"
81+
82+ echo "=== Testing import from anyio with uv run ==="
83+ uv run --no-project --no-sync python -c "from anyio._backends import _asyncio; print('Import successful')" || echo "Import failed"
7884
7985 - name : Run pytest
8086 run : uv run ${{ matrix.dep-resolution.name == 'lowest-direct' && '--no-project --no-sync' || '--frozen --no-sync' }} pytest
You can’t perform that action at this time.
0 commit comments