incalculable-hydrogen-44003
09/20/2022, 5:54 PMadmin.py
files are getting pulled in (as well as other magic dependencies). Does anybody have any tips on how to solve this?sparse-lifeguard-95737
09/20/2022, 6:20 PMapps.py
to admin.py
etc.sparse-lifeguard-95737
09/20/2022, 6:22 PMapps.py
and that our INSTALLED_APPS
settings refer to the fully-qualified AppConfig
subclasses within each of those files, so dependency inference can find them. if you use the short-hand references for INSTALLED_APPS
then Pants won’t know to pull in the apps.py
filesincalculable-hydrogen-44003
09/20/2022, 6:33 PM/admin
folders?sparse-lifeguard-95737
09/20/2022, 6:38 PMmodels.py
vs. models/
incalculable-hydrogen-44003
09/20/2022, 6:56 PMhappy-kitchen-89482
09/20/2022, 7:14 PMimport
, or at least a setting.py-style “string import” then you have to manually add the relevant deps, since there is nothing to infer them fromhappy-kitchen-89482
09/20/2022, 7:14 PMincalculable-hydrogen-44003
09/20/2022, 7:25 PMincalculable-hydrogen-44003
09/20/2022, 7:27 PMpsutil module not found
error even when we add it to the dependenciessparse-lifeguard-95737
09/20/2022, 7:27 PMincalculable-hydrogen-44003
09/20/2022, 7:27 PMincalculable-hydrogen-44003
09/20/2022, 7:27 PMsparse-lifeguard-95737
09/20/2022, 7:30 PMsparse-lifeguard-95737
09/20/2022, 7:30 PMincalculable-hydrogen-44003
09/20/2022, 7:31 PMhappy-kitchen-89482
09/20/2022, 8:20 PMhundreds-father-404
09/21/2022, 6:03 PM