Skip to content

pip_interop needs to be replaced with prefix_data_interoperability #265

@ViralBShah

Description

@ViralBShah

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions