Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CalledProcessError when adding git repositories #4194

Closed
NeilGirdhar opened this issue Jun 22, 2021 · 2 comments
Closed

CalledProcessError when adding git repositories #4194

NeilGirdhar opened this issue Jun 22, 2021 · 2 comments
Labels
status/duplicate Duplicate issues

Comments

@NeilGirdhar
Copy link
Contributor

NeilGirdhar commented Jun 22, 2021

For some reason, poetry add git+https://github.com/deepmind/dm-haiku.git now gives the error:

  Command '['git', '--git-dir', '/tmp/pypoetry-git-dm-haikufkv97ad7/.git', '--work-tree', '/tmp/pypoetry-git-dm-haikufkv97ad7', 'checkout', 'master']' returned non-zero exit status 1.

I discovered this because with my old dependency dm-haiku = {git='https://github.com/deepmind/dm-haiku.git'}, calling poetry update gives me:

Updating dependencies
Resolving dependencies... (0.8s)

  CalledProcessError

  Command '['git', '--git-dir', '/tmp/pypoetry-git-dm-haikurhz6cj20/.git', '--work-tree', '/tmp/pypoetry-git-dm-haikurhz6cj20', 'checkout', 'master']' returned non-zero exit status 1.

  at ~/.pyenv/versions/3.9.5/lib/python3.9/site-packages/poetry/utils/_compat.py:217 in run
      213│                 process.wait()
      214│                 raise
      215│             retcode = process.poll()
      216│             if check and retcode:
    → 217│                 raise CalledProcessError(
      218│                     retcode, process.args, output=stdout, stderr=stderr
      219│                 )
      220│         finally:
      221│             # None because our context manager __exit__ does not use them.
@NeilGirdhar NeilGirdhar added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Jun 22, 2021
@NeilGirdhar NeilGirdhar changed the title CalledProcessError when updating haiku CalledProcessError when adding git repositories Jun 22, 2021
@finswimmer
Copy link
Member

Hello,

this is a duplicate of #3366

fin swimmer

@finswimmer finswimmer added status/duplicate Duplicate issues and removed kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Jun 23, 2021
Copy link

github-actions bot commented Mar 2, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status/duplicate Duplicate issues
Projects
None yet
Development

No branches or pull requests

2 participants