Feeling a touch foolish; we had some `python_requi...
# general
Feeling a touch foolish; we had some
in a top-level
file which sourced a
for the entire package, which had entries like
Copy code
module_mapping={..."setuptools: ["pkg_resources"]...},
overrides={"torch": {"dependencies": [":setuptools"]}
so far so good (I know the pkg_resources should probably have been sorted automatically but we were having difficulties there). This used to work... but when I turn on
, it tells me I need to name that stanza of requirements. But if I give it a name (
or some such) when I try to do anything like generate lockfiles I get
Copy code
ResolveError: 'setuptools' was not found in namespace ''. Did you mean one of:
Okay, but if I try to name it (say, replace every instance of
there with
) then I get
Copy code
ResolveError: The file or directory 'root_requirements' does not exist on disk in the workspace, so the address 'root_requirements:setuptools' cannot be resolved.
... presumably because the requirements haven't been created yet or..? Just baffled; this worked fine earlier but presumably it was wrong then too. What's the right way to do this?