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
I have no problem deploying the app with PyPI-hosted requirements. However, I'm trying to deploy a Chalice app that utilizes a Github-hosted library. My requirements.txt file looks like this:
When using this action in my workflow, it throws the following error:
Collecting dynamodb==0.5.2
Cloning https://github.com/acarril/cb-wrapper-dynamodb (to revision ad48e0f) to /tmp/pip-install-xk83mepl/dynamodb_b9c4ae713d074bdc8d4613b7eba65dc1
Running command git clone --filter=blob:none --quiet https://github.com/acarril/cb-wrapper-dynamodb /tmp/pip-install-xk83mepl/dynamodb_b9c4ae713d074bdc8d4613b7eba65dc1
fatal: could not read Username for 'https://github.com/': No such device or address
error: subprocess-exited-with-error
× git clone --filter=blob:none --quiet https://github.com/acarril/cb-wrapper-dynamodb /tmp/pip-install-xk83mepl/dynamodb_b9c4ae713d074bdc8d4613b7eba65dc1 did not run successfully.
│ exit code: 128
╰─> See above for output.
I think this might be a bug, since it it is not correctly reading the username from the clone URL?
The text was updated successfully, but these errors were encountered:
The problem is, as far as I can see, related to pip and not directly related to the chalice action.
But I want to provide solutions which are suitable for you.
Other places where the problem was discussed or is still in discussion:
To prevent leaking your credentials or GitHub token, I think, the best solution would be to use environment variables.
These environment variables can be set without changing the action itself.
The values of the environment variables behave like passed as arguments to Pip (--index-url --extra-index-url) and like defined in pip.conf.
It seems that, pip has since a few versions also support for the keyring system. I need to take a closer whether this would be a better solution for the chalice action.
I have no problem deploying the app with PyPI-hosted requirements. However, I'm trying to deploy a Chalice app that utilizes a Github-hosted library. My
requirements.txt
file looks like this:When using this action in my workflow, it throws the following error:
I think this might be a bug, since it it is not correctly reading the username from the clone URL?
The text was updated successfully, but these errors were encountered: