https://pantsbuild.org/ logo
#development
Title
# development
b

bitter-ability-32190

05/12/2023, 5:56 PM
For transparency, here's the plan to "migrate" the django dep inference code: • Instead of plugging into the new union (which I hope to remove), plugin into the normal dep inference union • To make it performant, only infer deps from files that "look" like migrations (under a "migrations" folder with a filename like ...) • Then do rudimentary AST traversal/scraping That will allow us to remove the existing dep inference union/code for Python wholesale in 2.18
h

happy-kitchen-89482

05/12/2023, 6:26 PM
I thought we would still need the existing dep inference code for Python 2.7?
b

bitter-ability-32190

05/12/2023, 6:27 PM
Nope 🙂
❤️ 1
h

happy-kitchen-89482

05/12/2023, 6:35 PM
Oh right, because you switched to the PEG parser thing
noice!