Skip to content

Duplicate of issue 42 for anyio dependency #43

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

Open
andreas-schaler-nimbis opened this issue Apr 7, 2025 · 0 comments
Open

Duplicate of issue 42 for anyio dependency #43

andreas-schaler-nimbis opened this issue Apr 7, 2025 · 0 comments

Comments

@andreas-schaler-nimbis
Copy link

Duplicate of issue 42 for anyio dependency

$ poetry --version
Poetry (version 2.1.1)
$ poetry run python --version
Python 3.13.2
$ poetry self add poetry-plugin-shell
Using version ^1.0.1 for poetry-plugin-shell

Updating dependencies
Resolving dependencies... (1.3s)

Package operations: 3 installs, 10 updates, 0 removals

  - Updating anyio (4.8.0 -> 4.9.0): Failed

  CalledProcessError

  Command '['/usr/local/Cellar/poetry/2.1.1/libexec/bin/python', '/usr/local/Cellar/poetry/2.1.1/libexec/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-25.0.1-py3-none-any.whl/pip', 'uninstall', 'anyio', '-y']' returned non-zero exit status 1.

  at /usr/local/Cellar/python@3.13/3.13.2/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py:579 in run
       575│             # We don't call process.wait() as .__exit__ does that for us.
       576│             raise
       577│         retcode = process.poll()
       578│         if check and retcode:
    →  579│             raise CalledProcessError(retcode, process.args,
       580│                                      output=stdout, stderr=stderr)
       581│     return CompletedProcess(process.args, retcode, stdout, stderr)
       582│ 
       583│ 

The following error occurred when trying to handle this error:


  EnvCommandError

  Command ['/usr/local/Cellar/poetry/2.1.1/libexec/bin/python', '/usr/local/Cellar/poetry/2.1.1/libexec/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-25.0.1-py3-none-any.whl/pip', 'uninstall', 'anyio', '-y'] errored with the following return code 1
  
  Output:
  Found existing installation: anyio 4.8.0
  error: uninstall-no-record-file
  
  × Cannot uninstall anyio 4.8.0
  ╰─> The package's contents are unknown: no RECORD file was found for anyio.
  
  hint: The package was installed by brew. You should check if it can uninstall the package.
  

  at /usr/local/Cellar/poetry/2.1.1/libexec/lib/python3.13/site-packages/poetry/utils/env/base_env.py:434 in _run
      430│                 output = subprocess.check_output(
      431│                     cmd, stderr=stderr, env=env, text=True, encoding=encoding, **kwargs
      432│                 )
      433│         except CalledProcessError as e:
    → 434│             raise EnvCommandError(e)
      435│ 
      436│         return output
      437│ 
      438│     def execute(self, bin: str, *args: str, **kwargs: Any) -> int:

Cannot install anyio.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant