Hi, I'm using this plugin within a CI script, that recently started to fail.
Using version ^1.10.0 for poetry-plugin-export
Updating dependencies
Resolving dependencies...
Package operations: 1 install, 9 updates, 0 removals
- Downgrading certifi (2026.7.22 -> 2026.6.17)
- Downgrading filelock (3.32.0 -> 3.29.7)
- Downgrading platformdirs (4.11.0 -> 4.10.0)
- Downgrading python-discovery (1.5.0 -> 1.4.4)
- Downgrading pbs-installer (2026.7.28 -> 2026.6.10)
- Downgrading dulwich (1.2.12 -> 1.2.10)
- Downgrading fastjsonschema (2.22.1 -> 2.21.2)
- Downgrading tomlkit (0.15.1 -> 0.15.0)
- Downgrading virtualenv (21.7.0 -> 21.6.1)
CalledProcessError
Command '['/root/.local/share/pipx/venvs/poetry/bin/python', '/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip', 'uninstall', 'dulwich', '-y']' returned non-zero exit status 2.
at /usr/local/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 ['/root/.local/share/pipx/venvs/poetry/bin/python', '/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip', 'uninstall', 'dulwich', '-y'] errored with the following return code 2
Output:
ERROR: Exception:
Traceback (most recent call last):
File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip/_internal/cli/base_command.py", line 109, in _run_wrapper
File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip/_internal/cli/base_command.py", line 102, in _inner_run
File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip/_internal/commands/uninstall.py", line 65, in run
File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip/_internal/cli/index_command.py", line 80, in get_default_session
File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip/_internal/cli/index_command.py", line 93, in _build_session
File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip/_internal/network/session.py", line 30, in <module>
File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip/_vendor/cachecontrol/__init__.py", line 12, in <module>
File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip/_vendor/cachecontrol/adapter.py", line 14, in <module>
File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip/_vendor/cachecontrol/controller.py", line 22, in <module>
File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip/_vendor/cachecontrol/serialize.py", line 9, in <module>
File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip/_vendor/msgpack/__init__.py", line 5, in <module>
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1022, in exec_module
File "<frozen zipimport>", line 137, in get_code
File "<frozen zipimport>", line 783, in _get_module_code
File "<frozen zipimport>", line 617, in _get_data
FileNotFoundError: [Errno 2] No such file or directory: '/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl'
at ~/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/poetry/utils/env/base_env.py:453 in _run
449│ output = subprocess.check_output(
450│ cmd, stderr=stderr, env=env, text=True, encoding="locale", **kwargs
451│ )
452│ except CalledProcessError as e:
→ 453│ raise EnvCommandError(e)
454│
455│ return output
456│
457│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int:
Cannot install dulwich.
CalledProcessError
Command '['/root/.local/share/pipx/venvs/poetry/bin/python', '/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip', 'uninstall', 'pbs-installer', '-y']' returned non-zero exit status 2.
at /usr/local/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 ['/root/.local/share/pipx/venvs/poetry/bin/python', '/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip', 'uninstall', 'pbs-installer', '-y'] errored with the following return code 2
Output:
ERROR: Exception:
Traceback (most recent call last):
File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip/_internal/cli/base_command.py", line 109, in _run_wrapper
File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip/_internal/cli/base_command.py", line 102, in _inner_run
File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip/_internal/commands/uninstall.py", line 65, in run
File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip/_internal/cli/index_command.py", line 80, in get_default_session
File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip/_internal/cli/index_command.py", line 93, in _build_session
File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip/_internal/network/session.py", line 30, in <module>
File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip/_vendor/cachecontrol/__init__.py", line 12, in <module>
File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip/_vendor/cachecontrol/adapter.py", line 14, in <module>
File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip/_vendor/cachecontrol/controller.py", line 22, in <module>
File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip/_vendor/cachecontrol/serialize.py", line 9, in <module>
File "/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl/pip/_vendor/msgpack/__init__.py", line 5, in <module>
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1022, in exec_module
File "<frozen zipimport>", line 137, in get_code
File "<frozen zipimport>", line 783, in _get_module_code
File "<frozen zipimport>", line 617, in _get_data
FileNotFoundError: [Errno 2] No such file or directory: '/root/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/virtualenv/seed/wheels/embed/pip-26.1.2-py3-none-any.whl'
at ~/.local/share/pipx/venvs/poetry/lib/python3.13/site-packages/poetry/utils/env/base_env.py:453 in _run
449│ output = subprocess.check_output(
450│ cmd, stderr=stderr, env=env, text=True, encoding="locale", **kwargs
451│ )
452│ except CalledProcessError as e:
→ 453│ raise EnvCommandError(e)
454│
455│ return output
456│
457│ def execute(self, bin: str, *args: str, **kwargs: Any) -> int:
Cannot install pbs-installer.
Hi, I'm using this plugin within a CI script, that recently started to fail.
The commands are
The last line fails with