# Package breakage due to change in dependency

**URL:** https://discourse.julialang.org/t/package-breakage-due-to-change-in-dependency/134575
**Category:** Package Management
**Tags:** pyplot
**Created:** [December 16, 2025, 12:29am UTC](https://discourse.julialang.org/t/package-breakage-due-to-change-in-dependency/134575 "2025-12-16T00:29:20Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![sparrowhawk](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sparrowhawk/32/9148_2.png) [@sparrowhawk](https://discourse.julialang.org/u/sparrowhawk)
#### Post date: [December 16, 2025, 12:29am UTC](https://discourse.julialang.org/t/package-breakage-due-to-change-in-dependency/134575/1 "2025-12-16T00:29:20Z")

</div>

Hi Julia folks,

I have a registered package that used to install `PyPlot` with a `build.jl` in a `deps/` folder as follows:

```julia-auto
import Pkg, Conda
@info "building!"
Conda.pip_interop(true)
Conda.pip("install", "matplotlib==3.7.3")
Conda.add("matplotlib")
ENV["PYTHON"] = joinpath(Conda.ROOTENV, "bin", "python")
Pkg.build("PyCall")
@info "built PyCall!"

```

I switched to `pip_interop` because of [Conda errors a few years](https://github.com/JuliaPy/PyPlot.jl/issues/568#issuecomment-1636264150) ago (which have since been fixed), but I never changed the above code in a few subsequent releases.

Now, because of recent Conda.jl changes [that no longer use use `pip_interop`](https://github.com/JuliaPy/Conda.jl/pull/266#issue-3532609752) I’m having trouble with previous releases not installing.

In the latest release, I just remove the `Conda.pip` parts of the above build script and it works fine.

What is a good way to deal with this in previously released, registered versions?

---

<div class="post-metadata">

### Author: ![technocrat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/technocrat/32/220947_2.png) [@technocrat](https://discourse.julialang.org/u/technocrat)
#### Post date: [December 16, 2025, 1:12am UTC](https://discourse.julialang.org/t/package-breakage-due-to-change-in-dependency/134575/2 "2025-12-16T01:12:21Z")

</div>

That’s why there are project environments—to keep all the dependencies synched. If your registered package used to work it should continue to in the same environment. You should have seen a log screen with the conflicts, which may help in creating a fresh environment.

---

<div class="post-metadata">

### Author: ![sparrowhawk](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sparrowhawk/32/9148_2.png) [@sparrowhawk](https://discourse.julialang.org/u/sparrowhawk)
#### Post date: [December 16, 2025, 4:14am UTC](https://discourse.julialang.org/t/package-breakage-due-to-change-in-dependency/134575/3 "2025-12-16T04:14:21Z")

</div>

This is unfortunately, not the solution (or it may be part of one). While I could possibly instantiate a `Manifest.toml` for the exact environment that previously worked, it does not stop those who wish to install the previous version from running into the `pip_interop` errors. The build log file shows errors, even for a fresh `julia` install and my package just as before:

```julia-auto
WARNING conda.cli.main_config:_set_key(456): Key pip_interop_enabled is an alias of prefix_data_interoperability; setting value with latter
[ Info: building!
[ Info: Downloading miniconda installer ...
[ Info: Installing miniconda ...
[ Info: Running `conda config --set pip_interop_enabled true --file /home/131/ts7941/.julia/conda/3/x86_64/condarc-julia.yml` in root environment
ERROR: LoadError: pip_interop is not enabled
Use `Conda.pip_interop(true; [env::Environment=ROOTENV])` to enable

```

Any thoughts? I could release a minor version with the `Conda.pip` parts removed from the `build.jl` but was wondering if there are other suggestions?

---

<div class="post-metadata">

### Author: ![technocrat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/technocrat/32/220947_2.png) [@technocrat](https://discourse.julialang.org/u/technocrat)
#### Post date: [December 16, 2025, 5:14am UTC](https://discourse.julialang.org/t/package-breakage-due-to-change-in-dependency/134575/4 "2025-12-16T05:14:48Z")

</div>

Ah, sorry I don’t have anything further to suggest. In all my years with using Conda outside Python I’ve had scant luck.
