开发者

Heroku Cedar Python: requirement in github - clone fails with error 128

开发者 https://www.devze.com 2023-04-12 23:48 出处:网络
i开发者_Go百科 wanted to use the pyfire github library https://github.com/mariano/pyfire this is what pip freeze produced for me:

i开发者_Go百科 wanted to use the pyfire github library https://github.com/mariano/pyfire

this is what pip freeze produced for me:

-e git+ssh://git@github.com/mariano/pyfire.git@db856bb666c4b381c08f2f4bf7c9ac7aaa233221#egg=pyfire-dev

but when doing so the clone that is being done to install the dependencies fails with error code, i can't

heroku run console

to check out the full error log...

any experience with this or ideas?

thanks a lot in advance


pip freeze appears to produce the wrong results you should be able to modify your requirements.txt to:

git+https://github.com/mariano/pyfire.git@db856bb666c4b381c08f2f4bf7c9ac7aaa233221#egg=pyfire-dev


I realized this was already solved for you, but this didn't work for me or @amrox or @tomtaylor.

If you remove the commit part, it works for me. i.e. changing the line in requirements.txt to:

git+https://github.com/mariano/pyfire.git

When I install the git repo including the specific commit locally, git seems to realize the end part is a specific commit, but when I try this on heroku and track the progress, it is pretty clear it is treating the commit part as a tag. Since there is no tag with that name, that's why it fails. They may be using a different version of git.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号