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

Poetry 1.1.0b2 fails to install zipp when trying to install poetry-core #2911

Closed
3 tasks done
Celeborn2BeAlive opened this issue Sep 13, 2020 · 3 comments · Fixed by #2750
Closed
3 tasks done

Poetry 1.1.0b2 fails to install zipp when trying to install poetry-core #2911

Celeborn2BeAlive opened this issue Sep 13, 2020 · 3 comments · Fixed by #2750
Labels
status/duplicate Duplicate issues
Milestone

Comments

@Celeborn2BeAlive
Copy link
Contributor

Celeborn2BeAlive commented Sep 13, 2020

  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).

Issue

I was trying to update a pull request of mine and required a dev version of poetry-core, so I tried installing it with poetry 1.1.0b2, got this error for zipp

  • Installing zipp (1.2.0): Pending...
  • Installing zipp (1.2.0): Installing...
  • Installing zipp (1.2.0): Failed

  EnvCommandError

  Command D:\projects\open_source_contrib\poetry-core\.venv\Scripts\pip.exe install --no-deps file://C:\Users\laure\AppData\Local\pypoetry\Cache\artifacts\96\15\17\6dc4596b5827e94647f
1e4e7362bec368fcdda2100141109ada8a1e3dd\zipp-1.2.0-py2.py3-none-any.whl errored with the following return code 1, and output:
  Processing c:\users\laure\appdata\local\pypoetry\cache\artifacts\96\15\17\6dc4596b5827e94647f1e4e7362bec368fcdda2100141109ada8a1e3dd\zipp-1.2.0-py2.py3-none-any.whl
      ERROR: Command errored out with exit status 1:
       command: 'D:\projects\open_source_contrib\poetry-core\.venv\Scripts\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\laure\\scoop\\apps\\msys2\\current\\tmp\\pip-req-build-xyaj9k4t\\setup.py'"'"'; __file__='"'"'C:\\Users\\laure\\scoop\\apps\\msys2\\current\\tmp\\pip-req-build-xyaj9k4t\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\laure\scoop\apps\msys2\current\tmp\pip-pip-egg-info-tc7ro9mf'
           cwd: C:\Users\laure\scoop\apps\msys2\current\tmp\pip-req-build-xyaj9k4t\
      Complete output (5 lines):
      Traceback (most recent call last):
        File "<string>", line 1, in <module>
        File "C:\Users\laure\.pyenv\pyenv-win\versions\3.7.6-amd64\lib\tokenize.py", line 447, in open
          buffer = _builtin_open(filename, 'rb')
      FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\laure\\scoop\\apps\\msys2\\current\\tmp\\pip-req-build-xyaj9k4t\\setup.py'
      ----------------------------------------
  ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  WARNING: You are using pip version 20.2.2; however, version 20.2.3 is available.
  You should consider upgrading via the 'D:\projects\open_source_contrib\poetry-core\.venv\Scripts\python.exe -m pip install --upgrade pip' command.
  

  at c:\users\laure\.local\pipx\venvs\poetry-pre\lib\site-packages\poetry\utils\env.py:915 in _run
       911│                 output = subprocess.check_output(
       912│                     cmd, stderr=subprocess.STDOUT, **kwargs     
       913│                 )
       914│         except CalledProcessError as e:
    →  915│             raise EnvCommandError(e, input=input_
)
       916│
       917│         return decode(output)
       918│
       919│     def execute(self, bin, *args, **kwargs
):
@Celeborn2BeAlive Celeborn2BeAlive added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Sep 13, 2020
@Celeborn2BeAlive
Copy link
Contributor Author

It also fails with

  • 1.1.0b1
  • 1.1.0a3

But it works with 1.1.0a2 !

@abn
Copy link
Member

abn commented Sep 23, 2020

This is dupicate of #2744. Resolved in 1.1.0b3 via #2750.

@abn abn added status/duplicate Duplicate issues and removed kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Sep 23, 2020
@abn abn added this to the 1.1 milestone Sep 23, 2020
@abn abn linked a pull request Sep 23, 2020 that will close this issue
2 tasks
@abn abn closed this as completed Sep 23, 2020
Copy link

github-actions bot commented Mar 3, 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 3, 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

Successfully merging a pull request may close this issue.

2 participants