Skip to content

Commit b057723

Browse files
codebydivineclaude
andcommitted
fix: Remove non-existent pytest-anyio dependency
The pytest-anyio package doesn't exist on PyPI. The anyio library includes its own pytest plugin that should be loaded instead. Changes: - Remove pytest-anyio>=0.8.0 from dev dependencies - Add -p anyio to pytest addopts to load anyio's built-in pytest plugin - Keep trio>=0.20.0 and anyio_backends configuration for multi-backend testing 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent b1c8b2a commit b057723

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ dev = [
3737
"pytest>=8.0",
3838
"pytest-cov>=4.0",
3939
"pytest-asyncio>=0.21",
40-
"pytest-anyio>=0.8.0",
4140
"trio>=0.20.0",
4241
"python-dotenv>=1.0.0",
4342
"pre-commit>=3.5.0",
@@ -55,7 +54,8 @@ where = ["src"]
5554
[tool.pytest.ini_options]
5655
pythonpath = ["src"]
5756
testpaths = ["tests"]
58-
addopts = "--cov=thegraph_token_api --cov-report term-missing"
57+
addopts = "--cov=thegraph_token_api --cov-report term-missing -p anyio"
58+
asyncio_mode = "auto"
5959
anyio_backends = ["asyncio", "trio"]
6060

6161
[tool.coverage.run]

0 commit comments

Comments
 (0)