This message was deleted.
# ask-for-help
s
This message was deleted.
🍱 1
s
svc
is the name of the service variable you have defined. I'd have to double check the loader code but
services.service:svc
should work for
services/service.py
.
s
Ah ok - let me try that thanks
s
It looks like both that and
services/service.py:svc
should both work, let me know if either fails.
s
services/service:svc
fails, but haven’t tried
services/service.py:svc
-
services.service:svc
works
s
Great!
🙌 1
s
One more quick question though
It says it’s successfully built, but this warning is printed and the cli exits with error code -
WARNING: the legacy dependency resolver is deprecated and will be removed in future versions of pip-tools. The default resolver will be changed to 'backtracking' in pip-tools 7.0.0. Specify --resolver=backtracking to silence this warning.
Should I add the
--resolver=backtracking
to the bentoml build command?
a
We probably just have to pass that arg into pip-compile
s
No, that's something we need to do ourselves. For reference, what version of
pip-tools
do you have installed?
s
6.12.1
s
Thanks! We'll look into it. Does the bento work fine otherwise?
👍 1
s
I’ve only gotten to the build part and it seems to be working - will let you know if I can get all the way to serving