-
Notifications
You must be signed in to change notification settings - Fork 80
Closed
Description
I'm trying to update Immerse to v0.7 and I'm getting an issue with this part that doesn't load at precompilation and triggers an error:
https://github.com/GiovineItalia/Compose.jl/blob/master/src/Compose.jl#L167
This mechanism seems to work fine in the REPL:
julia> using Cairo
julia> using Compose
[ Info: Loading Cairo backend into Compose.jl
julia> Compose.absolute_native_units
absolute_native_units (generic function with 4 methods)
julia> module A
using Cairo
using Compose
import Compose.absolute_native_units
end
[ Info: Loading Cairo backend into Compose.jl
Main.A
But if I put the code above in a package, it fails to import absolute_native_units:
julia> using TestCompose
[ Info: Recompiling stale cache file /Users/jbieler/.julia/compiled/v0.7/TestCompose/Tl9GO.ji for TestCompose [c558b20d-ff79-52a3-ae8b-9e51a808e850]
┌ Warning: Package TestCompose does not have Compose in its dependencies:
│ - If you have TestCompose checked out for development and have
│ added Compose as a dependency but haven't updated your primary
│ environment's manifest file, try `Pkg.resolve()`.
│ - Otherwise you may need to report an issue with TestCompose
└ Loading Compose into TestCompose from project dependency, future warnings for TestCompose are suppressed.
WARNING: could not import Compose.absolute_native_units into TestCompose
[ Info: Loading Cairo backend into Compose.jl
Any way to fix this ? Disabling precompilation in Immerse maybe ?
Might be related to #250, but I'm not sure what's its status.
Metadata
Metadata
Assignees
Labels
No labels