I had sources path defined in Project.toml as follows:
[sources]
App = {path = "../App.jl"}
Once environment is activated and instantiated on Windows, the path auto-converts to “\\” version. This is fine for Windows, but it does not work on Linux (invalid path). This is problem for working on a project that should run both on Windows and Linux. Should this be treated and reported as Pkg bug? I am using Julia 1.12.
4 Likes
Yes, it is a bug. But I think it should be fixed by normalize paths when writing a project file by KristofferC · Pull Request #4444 · JuliaLang/Pkg.jl · GitHub. What 1.12 are you using? Maybe try 1.12-nightly. 1.12.4 should release soon which should definitely have this in it (but I thought 1.12.3 also had it).
1 Like
I used 1.12.3 and tried it now with 1.12-nightly. It still persists, i.e. it is not fixed. Can you fix that during testing period?