Repository navigation
editable install toml - #40
Conversation
PR Summary by QodoUse editable install in CI and add pyproject.toml packaging metadata Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
1.
|
| [project] | ||
| name = "python-examples" | ||
| version = "0.1.0" | ||
| description = "Algorithms and systems examples repo" | ||
| readme = "README.md" | ||
| requires-python = ">=3.8" | ||
|
|
||
| dependencies = [] | ||
|
|
There was a problem hiding this comment.
2. Runtime deps not declared 🐞 Bug ☼ Reliability
The project metadata sets dependencies = [], but repository code imports pydantic, so a plain pip install -e . (or wheel install) will produce an environment where imports fail unless users separately install dependencies. This makes the new pyproject-based install path unreliable.
Agent Prompt
## Issue description
`pyproject.toml` declares no runtime dependencies, but project modules import third-party libraries (e.g., `pydantic`). Installing the project via pip will not pull these in, causing runtime import errors in fresh environments.
## Issue Context
CI currently installs `requirements-dev.txt` (which includes `pydantic`), masking the packaging problem; users/installations that rely on `pyproject.toml` metadata will break.
## Fix Focus Areas
- pyproject.toml[5-13]
- Algorithms/slidingWindow/longestUnique.py[1-7]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
No description provided.