Add dependencies field to pyproject.toml to fix workflow error
The `test_stub_quality` workflow failed with `ModuleNotFoundError: No module named 'requests'` because `pyproject.toml` was missing the required `dependencies` field in the `[project]` section.
## Root Cause
When using `uv pip install -r pyproject.toml --extra <name>`, the pyproject.toml file must include a `dependencies` field in the `[project]` section, even if it's empty. Without this field, uv doesn't properly process the optional-dependencies.
## Changes
**Added to pyproject.toml:**
```toml
[project]
name = "micropython-stubs"
# ... other fields ...
dependencies = [] # Added this line
```
This allows the existing workflow command `uv pip install -r pyproject.toml --extra stubber --extra test` to properly install optional dependencies including `requests`.
## Files Updated
- `pyproject.toml` - Added `dependencies = []` to `[project]` section
The workflow syntax was already correct and remains unchanged.
<!-- START COPILOT CODING AGENT SUFFIX -->
<details>
<summary>Original prompt</summary>
> please fix this error in the workflow
>
> https://github.com/Josverl/micropython-stubs/actions/runs/19227708441/job/54958671437#step:9:1
>
>
</details>
<!-- START COPILOT CODING AGENT TIPS -->
---
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more [Copilot coding agent tips](https://gh.io/copilot-coding-agent-tips) in the docs.
合并状态:未合并 2 条评论