Closed federicobond closed 7 months ago
Tooling is still a bit of a hack, happy to take suggestions. I mostly wanted to get the basic structure right.
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
6e082a7
) 85.12% compared to head (e3ea4b2
) 90.86%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Ok, so I did some research on the tooling for packaging and dependency management and after looking at different options, including Flit, Poetry and PDM, I have integrated a tool called Hatch that is being developed under the umbrella of the PyPA.
Hatch solves the problem of running tests in isolated environments for each package, which we weren't able to do with the existing Makefile setup. It's easy to understand, fast, and adheres much better to modern Python packaging standards (Poetry is known for doing its own thing, sometimes with questionable choices for package authors).
The only downside of Hatch is that there is no explicit monorepo support yet, but I don't believe it to be a deal breaker at the moment.
I think we can give it a try and see if works for our use case. Worst case scenario is we have to tweak up pyproject.toml files to use a different tool.
I'll look into this more tomorrow but it looks like great progress.
@federicobond could you please sign off on the commits when you have a moment?
Sure! I was missing the last one apparently, sorry about that.
This is a ~work-in-progress~ proposal for organizing the repo around multiple packages