Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions apps/api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,9 @@ python_version = "3.11"
warn_return_any = true
warn_unused_configs = true
disallow_untyped_defs = true

[dependency-groups]
dev = [
"pytest>=8.4.2",
"pytest-asyncio>=1.2.0",
]
Comment on lines +69 to +73
Copy link

Copilot AI Dec 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Duplicate test dependencies. pytest and pytest-asyncio are already defined in [project.optional-dependencies] at lines 31-32 with versions >=8.3.4 and >=0.24.0 respectively. The new [dependency-groups] section appears to be adding the same dependencies with different version requirements (>=8.4.2 and >=1.2.0).

This creates confusion about which versions should be used and may lead to conflicts. Consider either:

  1. Removing the [dependency-groups] section if it's redundant
  2. Moving all dev dependencies to one location
  3. Understanding if [dependency-groups] serves a different purpose (e.g., PEP 735 dependency groups)

Note: The version pytest-asyncio>=1.2.0 appears incorrect - pytest-asyncio 1.2.0 is very old (from 2017). The version in [project.optional-dependencies] (>=0.24.0) is from 2024 and is correct.

Suggested change
[dependency-groups]
dev = [
"pytest>=8.4.2",
"pytest-asyncio>=1.2.0",
]

Copilot uses AI. Check for mistakes.
Loading