python-poetry / python-poetry/poetry-plugin-export

Does not install

Open
#341 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
335
Forks
57
Avg merge
1h 23m
Merged PRs (30d)
3

Description

Poetry installed with brew install poetry. This is why core functionality should not be in a plugin.

$ poetry self add poetry-plugin-export
Using version ^1.9.0 for poetry-plugin-export

Updating dependencies
Resolving dependencies... (3.6s)

Package operations: 1 install, 2 updates, 0 removals

  - Updating msgpack (1.1.0 -> 1.1.1): Failed

  CalledProcessError

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

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

The following error occurred when trying to handle this error:


  EnvCommandError

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

  at /usr/local/Cellar/poetry/2.1.3_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 msgpack.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported entry point: install Poetry with Homebrew, then run poetry self add poetry-plugin-export and inspect the msgpack uninstall failure. Determine the expected installation path for this environment; done means the plugin installs successfully without the reported uninstall-no-record-file error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.