PipedreamHQ / PipedreamHQ/pipedream
[FEATURE] Execution environment should provide `libsodium`
- Dominant language
- JavaScript
- Stars
- 11.7k
- Forks
- 5.8k
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 102
Description
Using PyNaCL on Pipedream fails to work. Hello world examples like:
```python
# pipedream add-package pynacl
from nacl.signing import VerifyKey
from nacl.exceptions import BadSignatureError
```
generate the following errors:
```
Error
Command failed: python3 -m pip install --target=/tmp/__pdg__/dist/python -r requirements.txt --upgrade WARNING: The directory '/home/sbx_user1051/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag. ERROR: Could not find a version that satisfies the requirement nacl==0.0.0 (from versions: none) ERROR: No matching distribution found for nacl==0.0.0 WARNING: You are using pip version 22.0.4; however, version 22.2.2 is available. You should consider upgrading via the '/var/lang/bin/python3 -m pip install --upgrade pip' command.
```
The error is likely a red herring - PyNaCL depends on `libsodium`, which isn't installed in the execution environment, so it's likely we'll need to install that to get it working.
Contributor guide
Assessment
This issue has not been assessed yet.