pixi icon indicating copy to clipboard operation
pixi copied to clipboard

Weird behavior when using packages that overwrite each other

Open pavelzw opened this issue 1 year ago • 8 comments

Checks

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

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

Reproducible example

[project]
name = "test-opt"
version = "0.1.0"
description = ""
authors = [""]
channels = ["conda-forge"]
platforms = ["osx-arm64"]

[tasks]

[dependencies]
opt-einsum = "3.0.0.*"
opt_einsum = "3.3.0.*"

open .pixi/env/lib/python3.12/site-packages

image

Issue description

The opt_einsum directory gets written to by both opt_einsum and opt-einsum (which are two different versions).

Expected behavior

pixi should crash here or print a warning at least.

pavelzw avatar Oct 04 '23 17:10 pavelzw