aspect-build / aspect-workflows-template

Scaffolding for new Aspect workspace
1 stars 1 forks source link

chore: finish setup of python gazelle #46

Closed alexeagle closed 2 months ago

alexeagle commented 2 months ago

It requires a manifest file to lookup import statements to 3p packages


Changes are visible to end-users: yes

Python projects now support third-party packages in configure without needing a manual resolve directive.

Test plan

alexeagle commented 2 months ago

FYI @aignas :)

alexeagle commented 2 months ago

@aignas a lot of the 2min "getting started" is still compiling Go sources and the go sdk stdlib. So I think maybe there's an eager load somewhere in rules_python - here's the latest demo https://asciinema.org/a/96CqzLhbfuiE2SVpNdO8LXw6l

alexeagle commented 2 months ago

Oh of course, the modules mapping generator is written in Go and not shipped as a binary so it has to be built in order to list the python imports -> packages :(