-
-
Notifications
You must be signed in to change notification settings - Fork 114
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug π
The new SciMLBaseMeasurementsExt extension has a bug in it, as it doesn't import SciMLBase but tries to implement a SciMLBase.promote_u0 function.
Expected behavior
Just need to import SciMLBase into the extension
Minimal Reproducible Example π
(@v1.11) pkg> activate --temp
Activating new project at `/var/folders/nt/ct_lf2n94_1c21908mmbx55w0000gq/T/jl_lGXt74`
(jl_lGXt74) pkg> add SciMLBase Measurements
Resolving package versions...
Updating `/private/var/folders/nt/ct_lf2n94_1c21908mmbx55w0000gq/T/jl_lGXt74/Project.toml`
[eff96d63] + Measurements v2.14.0
[0bca4576] + SciMLBase v2.116.0
Updating `/private/var/folders/nt/ct_lf2n94_1c21908mmbx55w0000gq/T/jl_lGXt74/Manifest.toml`
[47edcb42] + ADTypes v1.17.0
[7d9f7c33] + Accessors v0.1.42
[79e6a3ab] + Adapt v4.3.0
[4fba245c] + ArrayInterface v7.20.0
[49dc2e85] + Calculus v0.5.2
[38540f10] + CommonSolve v0.2.4
[a33af91c] + CompositionsBase v0.1.2
[187b0558] + ConstructionBase v1.6.0
[ffbed154] + DocStringExtensions v0.9.5
[4e289a0a] + EnumX v1.0.5
[e2ba6199] + ExprTools v0.1.10
[55351af7] + ExproniconLite v0.10.14
[069b7b12] + FunctionWrappers v1.1.3
[77dc65aa] + FunctionWrappersWrappers v0.1.3
[46192b85] + GPUArraysCore v0.2.0
[3587e190] + InverseFunctions v0.1.17
[82899510] + IteratorInterfaceExtensions v1.0.0
[ae98c720] + Jieko v0.2.1
[1914dd2f] + MacroTools v0.5.16
[eff96d63] + Measurements v2.14.0
[2e0e35c7] + Moshi v0.3.7
[d236fae5] + PreallocationTools v0.4.34
β
[aea7be01] + PrecompileTools v1.2.1
[21216c6a] + Preferences v1.5.0
[3cdcf5f2] + RecipesBase v1.3.4
[731186ca] + RecursiveArrayTools v3.37.1
[189a3867] + Reexport v1.2.2
[ae029012] + Requires v1.3.1
[7e49a35a] + RuntimeGeneratedFunctions v0.5.15
[0bca4576] + SciMLBase v2.116.0
[c0aeaf25] + SciMLOperators v1.7.1
[53ae85a6] + SciMLStructures v1.7.0
[1e83bf80] + StaticArraysCore v1.4.3
[10745b16] + Statistics v1.11.1
[2efcf032] + SymbolicIndexingInterface v0.3.43
[56f22d72] + Artifacts v1.11.0
[2a0f44e3] + Base64 v1.11.0
[ade2ca70] + Dates v1.11.0
[8ba89e20] + Distributed v1.11.0
[8f399da3] + Libdl v1.11.0
[37e2e46d] + LinearAlgebra v1.11.0
[56ddb016] + Logging v1.11.0
[d6f4376e] + Markdown v1.11.0
[de0858da] + Printf v1.11.0
[9a3f8284] + Random v1.11.0
[ea8e919c] + SHA v0.7.0
[9e88b42a] + Serialization v1.11.0
[6462fe0b] + Sockets v1.11.0
[fa267f1f] + TOML v1.0.3
[cf7118a7] + UUIDs v1.11.0
[4ec0a83e] + Unicode v1.11.0
[e66e0078] + CompilerSupportLibraries_jll v1.1.1+0
[4536629a] + OpenBLAS_jll v0.3.27+1
[8e850b90] + libblastrampoline_jll v5.11.0+0
Info Packages marked with β
have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`
Precompiling project...
β SciMLBase β SciMLBaseMeasurementsExt
0 dependencies successfully precompiled in 1 seconds. 56 already precompiled.
1 dependency errored.
For a report of the errors see `julia> err`. To retry use `pkg> precompile`Error & Stacktrace
julia> err
PkgPrecompileError: The following 1 direct dependency failed to precompile:
SciMLBaseMeasurementsExt
Failed to precompile SciMLBaseMeasurementsExt [dfeb527c-5d72-5266-8757-c98b46e34724] to "/Users/lyons/.julia/compiled/v1.11/SciMLBaseMeasurementsExt/jl_AHbSdu".
ERROR: LoadError: UndefVarError: `SciMLBase` not defined in `SciMLBaseMeasurementsExt`
Stacktrace:
[1] top-level scope
@ ~/.julia/packages/SciMLBase/h5MY3/ext/SciMLBaseMeasurementsExt.jl:6
[2] include
@ ./Base.jl:562 [inlined]
[3] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt128}}, source::Nothing)
@ Base ./loading.jl:2881
[4] top-level scope
@ stdin:6
in expression starting at /Users/lyons/.julia/packages/SciMLBase/h5MY3/ext/SciMLBaseMeasurementsExt.jl:1
in expression starting at stdin:Environment (please complete the following information):
- Output of
using Pkg; Pkg.status()
Status `/private/var/folders/nt/ct_lf2n94_1c21908mmbx55w0000gq/T/jl_ju57GD/Project.toml`
[eff96d63] Measurements v2.14.0
[0bca4576] SciMLBase v2.116.0- Output of
using Pkg; Pkg.status(; mode = PKGMODE_MANIFEST)
Status `/private/var/folders/nt/ct_lf2n94_1c21908mmbx55w0000gq/T/jl_ju57GD/Manifest.toml`
[47edcb42] ADTypes v1.17.0
[7d9f7c33] Accessors v0.1.42
[79e6a3ab] Adapt v4.3.0
[4fba245c] ArrayInterface v7.20.0
[49dc2e85] Calculus v0.5.2
[38540f10] CommonSolve v0.2.4
[a33af91c] CompositionsBase v0.1.2
[187b0558] ConstructionBase v1.6.0
[ffbed154] DocStringExtensions v0.9.5
[4e289a0a] EnumX v1.0.5
[e2ba6199] ExprTools v0.1.10
[55351af7] ExproniconLite v0.10.14
[069b7b12] FunctionWrappers v1.1.3
[77dc65aa] FunctionWrappersWrappers v0.1.3
[46192b85] GPUArraysCore v0.2.0
[3587e190] InverseFunctions v0.1.17
[82899510] IteratorInterfaceExtensions v1.0.0
[ae98c720] Jieko v0.2.1
[1914dd2f] MacroTools v0.5.16
[eff96d63] Measurements v2.14.0
[2e0e35c7] Moshi v0.3.7
[d236fae5] PreallocationTools v0.4.34
β
[aea7be01] PrecompileTools v1.2.1
[21216c6a] Preferences v1.5.0
[3cdcf5f2] RecipesBase v1.3.4
[731186ca] RecursiveArrayTools v3.37.1
[189a3867] Reexport v1.2.2
[ae029012] Requires v1.3.1
[7e49a35a] RuntimeGeneratedFunctions v0.5.15
[0bca4576] SciMLBase v2.116.0
[c0aeaf25] SciMLOperators v1.7.1
[53ae85a6] SciMLStructures v1.7.0
[1e83bf80] StaticArraysCore v1.4.3
[10745b16] Statistics v1.11.1
[2efcf032] SymbolicIndexingInterface v0.3.43
[56f22d72] Artifacts v1.11.0
[2a0f44e3] Base64 v1.11.0
[ade2ca70] Dates v1.11.0
[8ba89e20] Distributed v1.11.0
[8f399da3] Libdl v1.11.0
[37e2e46d] LinearAlgebra v1.11.0
[56ddb016] Logging v1.11.0
[d6f4376e] Markdown v1.11.0
[de0858da] Printf v1.11.0
[9a3f8284] Random v1.11.0
[ea8e919c] SHA v0.7.0
[9e88b42a] Serialization v1.11.0
[6462fe0b] Sockets v1.11.0
[fa267f1f] TOML v1.0.3
[cf7118a7] UUIDs v1.11.0
[4ec0a83e] Unicode v1.11.0
[e66e0078] CompilerSupportLibraries_jll v1.1.1+0
[4536629a] OpenBLAS_jll v0.3.27+1
[8e850b90] libblastrampoline_jll v5.11.0+0
Info Packages marked with β
have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m`
- Output of
versioninfo()
Julia Version 1.11.6
Commit 9615af0f269 (2025-07-09 12:58 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: macOS (arm64-apple-darwin24.0.0)
CPU: 12 Γ Apple M4 Pro
WORD_SIZE: 64
LLVM: libLLVM-16.0.6 (ORCJIT, apple-m1)
Threads: 8 default, 0 interactive, 4 GC (on 8 virtual cores)
Environment:
JULIA_NUM_THREADS = auto
JULIA_EDITOR = code
JULIA_VSCODE_REPL = 1Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working