JuliaPy / JuliaPy/Conda.jl

`pip_interop` needs to be replaced with `prefix_data_interoperability`

Open
#265 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Julia
Stars
187
Forks
59
PR merge metrics
No merged PRs in 30d

Description

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.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.