Repository navigation
Conversation
Signed-off-by: Federico Rossi <federico.rossi@creativa77.com.ar>
… hatchling Signed-off-by: Federico Rossi <federico.rossi@creativa77.com.ar>
Resolve I202 import newline in test_integration_pep621.py and add valid domain terms (addsitedir, buildapi, editables, hatchling) to test/spell_check.words. Signed-off-by: Federico Rossi <federico.rossi@creativa77.com.ar>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## cottsay/pep621 #750 +/- ##
=================================================
Coverage ? 86.71%
=================================================
Files ? 79
Lines ? 4884
Branches ? 851
=================================================
Hits ? 4235
Misses ? 513
Partials ? 136 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Following up on the PEP 517/518/621 discussion in #736 and the groundwork in This PR completes the core PEP 621 pipeline and brings it into full alignment with repository test standards:
Staged Roadmap ProposalTo keep review manageable and prevent regressions, the broader modernization plan (covering subsequent stages such as PEP 660 non-Python data files symlinking and ROS 2 👉 https://gist.github.com/KmoM88/0357abff37b5a32ab801cac7d399d4ed
|
I have updated unit test and verified the end-to-end PEP 621 pipeline:
Adapted
test_task_python_project_build.pyto usefrom .run_until_complete import run_until_completeinstead of@pytest.mark.asyncio, aligning it withcolcon-core's internal test conventions without requiring external plugins.test/test_integration_pep621.py):Added integration tests exercising modern build backends:
flit_core.hatchling([project.scripts]bin/wrapper).remove_distributions.--symlink-installviabuild_editableand PEP 610 recording.All related tests pass cleanly:
pytest test/test_package_identification_pep621.py \ test/test_package_augmentation_pep621.py \ test/test_task_python_project_build.py \ test/test_install_wheel.py \ test/test_remove_wheel.py \ test/test_integration_pep621.py