Skip to content

Regression in handling concurrency when creating environments #1004

@vlad-ivanov-name

Description

@vlad-ivanov-name

Checks

  • I have checked that this issue has not already been reported.

  • I have confirmed this bug exists on the latest version of pixi, using pixi --version.

Reproducible example

pixi run --frozen --manifest-path pixi.toml some-command |
pixi run --frozen --manifest-path pixi.toml another-command -
⠁ updating packages in 'default'                                                                                                                                                                                                                                                                                                                          
⠁ updating packages in 'default'
⠁ updating packages in 'default'
  ✔ downloading          [00:00:01] Done!
  ✔ linking              [00:00:01] Done!                                                                                                                                                                                                                                                                                                                   × failed to post process the environment (unclobbering)
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>
BrokenPipeError: [Errno 32] Broken pipe
[project]
name = "requirements-3.10.13"
version = "0.1.0"
channels = ["conda-forge"]
platforms = ["linux-64"]

[tasks]

[dependencies]
python = "==3.10.13"
pip-tools = ">=7.3.0,<7.4"

Issue description

In this example, pixi runs a command in an environment, and pipes the output to another command. This seems to break (seemingly after switch to uv but could be unrelated).

The example is run from a clean state.

Doesn't work with 0.16.1

Expected behavior

Works with 0.15.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions