This one might be relevant:
(@v1.11) pkg> add libcxxwrap_julia_jll@v0.12
Resolving package versions...
ERROR: Unsatisfiable requirements detected for package CxxWrap [1f15a43c]:
CxxWrap [1f15a43c] log:
ââpossible versions are: 0.7.0 - 0.14.2 or uninstalled
âârestricted by compatibility requirements with libcxxwrap_julia_jll [3eaa8342] to versions: 0.7.0 - 0.9.1 or uninstalled
â ââlibcxxwrap_julia_jll [3eaa8342] log:
â ââpossible versions are: 0.6.5 - 0.12.0 or uninstalled
â âârestricted to versions 0.12 by an explicit requirement, leaving only versions: 0.12.0
âârestricted by compatibility requirements with OpenCV [f878e3a2] to versions: 0.11.0 - 0.13.4 â no versions left
ââOpenCV [f878e3a2] log:
ââpossible versions are: 4.5.2 - 4.5.3 or uninstalled
âârestricted to versions * by an explicit requirement, leaving only versions: 4.5.2 - 4.5.3
I thought 1.11 might maybe work even if 1.10 didnât:
$ juliaup add nightly
Installing Julia latest-linux-x86_64
julia> [ Info: Precompiling REPLExt [e5eb5ef1-03cf-53a7-ae1d-5a66b08e832b] (cache misses: mismatched flags (2), dep uuid changed (2))
(@v1.11) pkg> add OpenCV_jll
and note I get different errors before and after this:
(@v1.11) pkg> up
Updating registry at `~/.julia/registries/General.toml`
Updating `~/.julia/environments/v1.11/Project.toml`
[33b9d88c] â OpenCV_jll v4.6.0+1 â v4.6.0+2
old error, probably not to worry about:
Precompiling OpenCV
Info Given OpenCV was explicitly requested, output will be shown live
ERROR: LoadError: UndefVarError: `artifact_dir` not defined in `OpenCV_jll`
OpenCV.jl isnât my package, just trying to explain. If there had not been a problem elsewhere; in Julia, then the package would have worked.
It doesnât directly depend on anything in Julia not guaranteed stable (while it does indirectly), but it relies on CxxWrap to call [OpenCV] C++ code, and Julia changed breaking CxxWrap.jl.
@Ashwani_Rathee Itâs unfortunate that CxxWrap breaks. When it is âfixedâ, seemingly all its dependants, e.g. OpenCV.jl, need to update its compatibility.
@barche, I see thereâs also pybind11_jll that could have been used⌠but we donât want to need to avoid your package (calling Python is stable, and will be, and apparently pybind11 is stable, and well documented, so also stable to call C++ that way indirectly even though a bit ugly to have to rely on Python for thatâŚ). I know the problem is Julia doesnât keep stable for you (calling from Python to Julia also broke with 1.10.1, though not in the other direction), or you used something not promised to be stable, so do you know if thatâs about to change? Was it the last thing Julia broke, unlikely to be more, or guaranteed, or no end in sight?