-
Notifications
You must be signed in to change notification settings - Fork 34
Description
Using the command langstream python load-pip-requirements -app ./application I have local packages (.whl) in the 'python' folder. They need to be in a known location before doing any "pip" work on them. Instead of working directly off the container mounts, copy all needed assets to a known place and then do the work.
Example use case
I'm developing a custom python package to be used with LangStream. In the python folder I have:
- myCustomProcessor.py
- requirements.txt
- smart_logs-0.0.1-py3-none-any.whl
The contents of requirements.txt is:
./smart_logs-0.0.1-py3-none-any.whl
I am seeing the follow error during the pip install:
OSError: [Errno 18] Invalid cross-device link: '/tmp/pip-target-atzg9f4_/lib/python/smart_logs-0.0.1.dist-info' -> '/code/application/python/lib/smart_logs-0.0.1.dist-info'
It appears to be related to this SO thread.