Poetry pep621 ci - #1
Conversation
- Add poetry.lock for deterministic dev/CI environments - Modernize pyproject.toml (PEP 621 + Poetry groups) - Move Pyright and pytest configuration into pyproject.toml - Remove redundant pyrightconfig.json and pytest.ini
- Upgrade Poetry used in CI to 2.1.3 - Align CI environment with local Poetry behavior - Fix package-mode validation errors during dependency install
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||
User description
This PR streamlines the project’s developer and CI workflow by adopting a single, modern configuration model ("poetry first").
What this enables
No additional config files or manual steps required.
pyproject.tomlpoetry.lockImpact
No application logic or public APIs are changed.
PR Type
Enhancement, Configuration changes
Description
Migrate to Poetry-first workflow with PEP 621 compliance
Modernize CI/CD pipeline with Poetry integration
Consolidate tooling configuration into pyproject.toml
Remove redundant configuration files
Diagram Walkthrough
File Walkthrough
ci.yml
Integrate Poetry into GitHub Actions CI workflow.github/workflows/ci.yml
poetry runpyproject.toml
Consolidate all tooling config into pyproject.tomlpyproject.toml
[tool.poetry.group.dev.dependencies]
section
[tool.pytest.ini_options] section
sorting
pyrightconfig.json
Remove pyrightconfig.json (consolidated)pyrightconfig.json
pytest.ini
Remove pytest.ini (consolidated)pytest.ini
pyproject.toml