You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following command succeeds, but then calling an entrypoint from this bundle fails because the shebangs stores the python exectuable path as a relative with respect to the directory we launched the first command from.
In the example, we install black in order to have an executable entrypoint, but any other entrypoint would work
poetry new -n issute_test
cd issue_test
poetry add black
poetry bundle venv ../issue_test_bundle
../issue_test_bundle/bin/black -h # this workscd .. && ./issue_test_bundle/bin/black -h # this fails
The error message :
zsh: ./issue_test_bundle/bin/black: bad interpreter: ../issue_test_bundle/bin/python: aucun fichier ou dossier de ce nom
The created black file in issue_test_bundle/black :
The following command succeeds, but then calling an entrypoint from this bundle fails because the shebangs stores the python exectuable path as a relative with respect to the directory we launched the first command from.
In the example, we install black in order to have an executable entrypoint, but any other entrypoint would work
The error message :
The created black file in issue_test_bundle/black :
The text was updated successfully, but these errors were encountered: