Skip to content

Duplicate of issue 42 for anyio dependency #43

Open
@andreas-schaler-nimbis

Description

@andreas-schaler-nimbis

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/[email protected]/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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions