Conda.jl icon indicating copy to clipboard operation
Conda.jl copied to clipboard

`pip_interop` needs to be replaced with `prefix_data_interoperability`

Open ViralBShah opened this issue 2 months ago • 1 comments

The tests for these are currently disabled. The APIs need updating so that this works as expected.

[ Info: Running `conda config --set pip_interop_enabled false --file /Users/runner/.julia/conda/3/aarch64/envs/test_conda_jl/condarc-julia.yml` in test_conda_jl environment
WARNING conda.cli.main_config:_set_key(451): Key pip_interop_enabled is an alias of prefix_data_interoperability; setting value with latter
[ Info: Running `conda config --set pip_interop_enabled true --file /Users/runner/.julia/conda/3/aarch64/envs/test_conda_jl/condarc-julia.yml` in test_conda_jl environment
WARNING conda.cli.main_config:_set_key(451): Key pip_interop_enabled is an alias of prefix_data_interoperability; setting value with latter
Conda.pip_interop: Test Failed at /Users/runner/work/Conda.jl/Conda.jl/test/runtests.jl:138
  Expression: Conda.pip_interop(env)

Stacktrace:
 [1] macro expansion
   @ ~/hostedtoolcache/julia/1.11.7/aarch64/share/julia/stdlib/v1.11/Test/src/Test.jl:680 [inlined]
 [2] macro expansion
   @ ~/work/Conda.jl/Conda.jl/test/runtests.jl:138 [inlined]
 [3] macro expansion
   @ ~/hostedtoolcache/julia/1.11.7/aarch64/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined]
 [4] top-level scope
   @ ~/work/Conda.jl/Conda.jl/test/runtests.jl:133
Conda.pip_interop: Error During Test at /Users/runner/work/Conda.jl/Conda.jl/test/runtests.jl:139
  Test threw exception
  Expression: Conda.check_pip_interop(env)
  pip_interop is not enabled
  Use `Conda.pip_interop(true; [env::Environment=ROOTENV])` to enable
  
  Stacktrace:
   [1] error(s::String)
     @ Base ./error.jl:35
   [2] check_pip_interop(env::Symbol)
     @ Conda ~/work/Conda.jl/Conda.jl/src/Conda.jl:637
   [3] macro expansion
     @ ~/work/Conda.jl/Conda.jl/test/runtests.jl:139 [inlined]
   [4] macro expansion
     @ ~/hostedtoolcache/julia/1.11.7/aarch64/share/julia/stdlib/v1.11/Test/src/Test.jl:677 [inlined]
   [5] macro expansion
     @ ~/work/Conda.jl/Conda.jl/test/runtests.jl:139 [inlined]
   [6] macro expansion
     @ ~/hostedtoolcache/julia/1.11.7/aarch64/share/julia/stdlib/v1.11/Test/src/Test.jl:1709 [inlined]
   [7] top-level scope
     @ ~/work/Conda.jl/Conda.jl/test/runtests.jl:133
Test Summary:     | Pass  Fail  Error  Total  Time
Conda.pip_interop |    2     1      1      4  3.8s
ERROR: LoadError: Some tests did not pass: 2 passed, 1 failed, 1 errored, 0 broken.
in expression starting at /Users/runner/work/Conda.jl/Conda.jl/test/runtests.jl:132
Package Conda errored during testing
Error: Process completed with exit code 1.

ViralBShah avatar Oct 20 '25 13:10 ViralBShah

Is there a workaround in the meantime?

jakobjpeters avatar Nov 13 '25 00:11 jakobjpeters