Skip to content

Commit 8777c64

Browse files
chore: remove debug logging from CI workflow
1 parent 8d6f70f commit 8777c64

File tree

1 file changed

+1
-42
lines changed

1 file changed

+1
-42
lines changed

.github/workflows/shared.yml

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -54,48 +54,7 @@ jobs:
5454
version: 0.9.5
5555

5656
- name: Install the project
57-
run: |
58-
if [ "${{ matrix.dep-resolution.name }}" == "lowest-direct" ]; then
59-
# Clear cache for lowest-direct to ensure clean install
60-
rm -rf $UV_CACHE_DIR/* 2>/dev/null || true
61-
fi
62-
uv sync ${{ matrix.dep-resolution.install-flags }} --all-extras --python ${{ matrix.python-version }}
63-
shell: bash
64-
65-
- name: Debug - Inspect installed anyio package
66-
if: matrix.dep-resolution.name == 'lowest-direct'
67-
shell: bash
68-
run: |
69-
echo "=== Anyio version from venv (direct check) ==="
70-
.venv/bin/python -c "from importlib.metadata import version; print(version('anyio'))"
71-
72-
echo "=== Anyio location ==="
73-
ANYIO_PATH=$(.venv/bin/python -c "import anyio, os; print(os.path.dirname(anyio.__file__))")
74-
echo "$ANYIO_PATH"
75-
76-
echo "=== Checking for RunFinishedError in _asyncio.py ==="
77-
grep -n "RunFinishedError" "$ANYIO_PATH/_backends/_asyncio.py" || echo "Not found"
78-
79-
echo "=== Showing actual line 72 of _asyncio.py ==="
80-
sed -n '72p' "$ANYIO_PATH/_backends/_asyncio.py"
81-
82-
echo "=== Showing lines 70-75 of _asyncio.py ==="
83-
sed -n '70,75p' "$ANYIO_PATH/_backends/_asyncio.py"
84-
85-
echo "=== Testing with 'uv run --no-project --no-sync' (what pytest will use) ==="
86-
uv run --no-project --no-sync python -c "from importlib.metadata import version; print('anyio version:', version('anyio'))"
87-
88-
echo "=== Testing import from anyio with uv run ==="
89-
uv run --no-project --no-sync python -c "from anyio._backends import _asyncio; print('Import successful')" || echo "Import failed"
90-
91-
echo "=== Checking sys.path from venv Python ==="
92-
.venv/bin/python -c "import sys; import pprint; pprint.pprint(sys.path)"
93-
94-
echo "=== Checking where anyio is loaded from ==="
95-
.venv/bin/python -c "import anyio; print('anyio location:', anyio.__file__)"
96-
97-
echo "=== Checking where _asyncio module would be loaded from ==="
98-
.venv/bin/python -c "import anyio._backends._asyncio as mod; print('_asyncio location:', mod.__file__); import inspect; print('First 100 chars of source:'); print(inspect.getsource(mod)[:500])"
57+
run: uv sync ${{ matrix.dep-resolution.install-flags }} --all-extras --python ${{ matrix.python-version }}
9958

10059
- name: Run pytest
10160
shell: bash

0 commit comments

Comments
 (0)