Package evaluation to test SpineOpt on Julia 1.14.0-DEV.2207 (8c4818189c*) started at 2026-05-17T23:01:56.036 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Activating project at `~/.julia/environments/v1.14` Set-up completed after 14.7s ################################################################################ # Installation # Installing SpineOpt... Resolving package versions... Installed PyCall ─── v1.96.4 Installed Conda ──── v1.10.3 Installed SpineOpt ─ v0.11.1 Updating `~/.julia/environments/v1.14/Project.toml` [0d8fc150] + SpineOpt v0.11.1 Updating `~/.julia/environments/v1.14/Manifest.toml` [66dad0bd] + AliasTables v1.1.3 [69666777] + Arrow v2.8.1 [31f734f8] + ArrowTypes v2.3.0 [c3b6d118] + BitIntegers v0.3.7 [523fee87] + CodecBzip2 v0.8.5 [5ba52731] + CodecLz4 v0.4.6 [944b1d66] + CodecZlib v0.7.8 [6b39b394] + CodecZstd v0.8.7 [bbf7d656] + CommonSubexpressions v0.3.1 [34da2185] + Compat v4.18.1 [f0e56b4a] + ConcurrentUtilities v2.5.1 [8f4d0f93] + Conda v1.10.3 [9a962f9c] + DataAPI v1.16.0 [864edb3b] + DataStructures v0.19.4 [e2d170a0] + DataValueInterfaces v1.0.0 [163ba53b] + DiffResults v1.1.0 [b552c78f] + DiffRules v1.15.1 [31c24e10] + Distributions v0.25.125 [ffbed154] + DocStringExtensions v0.9.5 [4e289a0a] + EnumX v1.0.7 [e2ba6199] + ExprTools v0.1.10 [1a297f60] + FillArrays v1.16.0 [f6369f11] + ForwardDiff v1.3.3 [87dc4568] + HiGHS v1.23.0 [34004b35] + HypergeometricFunctions v0.3.28 [842dd82b] + InlineStrings v1.4.5 [92d709cd] + IrrationalConstants v0.2.6 [82899510] + IteratorInterfaceExtensions v1.0.0 [692b3bcd] + JLLWrappers v1.8.0 ⌅ [682c06a0] + JSON v0.21.4 [4076af6c] + JuMP v1.30.1 [2ab3a3ac] + LogExpFunctions v0.3.29 [1914dd2f] + MacroTools v0.5.16 [8c4f8055] + MathOptIIS v0.2.0 [b8f27783] + MathOptInterface v1.51.0 [e1d29d7a] + Missings v1.2.0 [78c3b35d] + Mocking v0.8.1 [d8a4904e] + MutableArithmetics v1.8.0 [77ba4419] + NaNMath v1.1.3 [bac558e1] + OrderedCollections v1.8.1 [90014a1f] + PDMats v0.11.37 [69de0a69] + Parsers v2.8.4 [2dfb63ee] + PooledArrays v1.4.3 [aea7be01] + PrecompileTools v1.3.4 [21216c6a] + Preferences v1.5.2 [43287f4e] + PtrArrays v1.4.0 [438e738f] + PyCall v1.96.4 [1fd47b50] + QuadGK v2.11.3 [189a3867] + Reexport v1.2.2 [ae029012] + Requires v1.3.1 [79098fc4] + Rmath v0.9.0 [6c6a2e73] + Scratch v1.3.0 [91c51154] + SentinelArrays v1.4.9 [a2af1166] + SortingAlgorithms v1.2.2 [276daf66] + SpecialFunctions v2.7.2 [0cda1612] + SpineInterface v0.17.1 [0d8fc150] + SpineOpt v0.11.1 [1e83bf80] + StaticArraysCore v1.4.4 [10745b16] + Statistics v1.11.1 [82ae8749] + StatsAPI v1.8.0 [2913bbd2] + StatsBase v0.34.10 [4c63d2b9] + StatsFuns v1.5.2 [354b36f9] + StringViews v1.3.7 [dc5dba14] + TZJData v1.5.0+2025b [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.12.1 [f269a46b] + TimeZones v1.22.2 [3bb67fe8] + TranscodingStreams v0.11.3 [5c2747f8] + URIs v1.6.1 [81def892] + VersionParsing v1.3.0 [6e34b625] + Bzip2_jll v1.0.9+0 [8fd58aa0] + HiGHS_jll v1.14.0+0 [5ced341a] + Lz4_jll v1.10.1+0 [656ef2d0] + OpenBLAS32_jll v0.3.33+1 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [f50d1b31] + Rmath_jll v0.5.1+0 [0dad84c5] + ArgTools v1.1.2 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [f43a241f] + Downloads v1.7.0 [7b1f6079] + FileWatching v1.11.0 [9fa8497b] + Future v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [ac6e5ff7] + JuliaSyntaxHighlighting v1.13.0 [b27032c2] + LibCURL v1.0.0 [76f85450] + LibGit2 v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.13.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [a63ad114] + Mmap v1.11.0 [ca575930] + NetworkOptions v1.3.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v1.13.0 [9e88b42a] + Serialization v1.11.0 [6462fe0b] + Sockets v1.11.0 [2f01184e] + SparseArrays v1.13.0 [f489334b] + StyledStrings v1.13.0 [4607b0f0] + SuiteSparse [fa267f1f] + TOML v1.0.3 [8dfed614] + Test v1.11.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.5.1+0 [deac9b47] + LibCURL_jll v8.20.0+1 [e37daf67] + LibGit2_jll v1.9.3+0 [29816b5a] + LibSSH2_jll v1.11.101+0 [14a3606d] + MozillaCACerts_jll v2026.5.14 [4536629a] + OpenBLAS_jll v0.3.33+0 [05823500] + OpenLibm_jll v0.8.7+0 [458c3c95] + OpenSSL_jll v3.5.6+0 [efcefdf7] + PCRE2_jll v10.47.0+0 [bea87d4a] + SuiteSparse_jll v7.10.1+0 [83775a58] + Zlib_jll v1.3.2+0 [3161d3a3] + Zstd_jll v1.5.7+1 [8e850b90] + libblastrampoline_jll v5.15.0+0 [8e850ede] + nghttp2_jll v1.69.0+0 [3f19e933] + p7zip_jll v17.8.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Building Conda ───→ `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/8f06b0cfa4c514c7b9546756dbae91fcfbc92dc9/build.log` Building PyCall ──→ `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/9816a3826b0ebf49ab4926e2b18842ad8b5c8f04/build.log` Building SpineOpt → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/6676cc4ed95f356ab8e6353903ead969b15d0889/build.log` Installation completed after 54.73s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompiling project... 30.0 s ✓ SpineOpt 1 dependency successfully precompiled in 37 seconds. 121 already precompiled. Precompilation completed after 57.84s ################################################################################ # Testing # Testing SpineOpt Status `/tmp/jl_8I4T9J/Project.toml` [864edb3b] DataStructures v0.19.4 [8bb1440f] DelimitedFiles v1.9.1 [87dc4568] HiGHS v1.23.0 ⌅ [682c06a0] JSON v0.21.4 [4076af6c] JuMP v1.30.1 [b8f27783] MathOptInterface v1.51.0 [438e738f] PyCall v1.96.4 [0cda1612] SpineInterface v0.17.1 [0d8fc150] SpineOpt v0.11.1 `~/.julia/packages/SpineOpt/4Vpxd/` [ade2ca70] Dates v1.11.0 [56ddb016] Logging v1.11.0 [44cfe95a] Pkg v1.14.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_8I4T9J/Manifest.toml` [66dad0bd] AliasTables v1.1.3 [69666777] Arrow v2.8.1 [31f734f8] ArrowTypes v2.3.0 [c3b6d118] BitIntegers v0.3.7 [523fee87] CodecBzip2 v0.8.5 [5ba52731] CodecLz4 v0.4.6 [944b1d66] CodecZlib v0.7.8 [6b39b394] CodecZstd v0.8.7 [bbf7d656] CommonSubexpressions v0.3.1 [34da2185] Compat v4.18.1 [f0e56b4a] ConcurrentUtilities v2.5.1 [8f4d0f93] Conda v1.10.3 [9a962f9c] DataAPI v1.16.0 [864edb3b] DataStructures v0.19.4 [e2d170a0] DataValueInterfaces v1.0.0 [8bb1440f] DelimitedFiles v1.9.1 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 [31c24e10] Distributions v0.25.125 [ffbed154] DocStringExtensions v0.9.5 [4e289a0a] EnumX v1.0.7 [e2ba6199] ExprTools v0.1.10 [1a297f60] FillArrays v1.16.0 [f6369f11] ForwardDiff v1.3.3 [87dc4568] HiGHS v1.23.0 [34004b35] HypergeometricFunctions v0.3.28 [842dd82b] InlineStrings v1.4.5 [92d709cd] IrrationalConstants v0.2.6 [82899510] IteratorInterfaceExtensions v1.0.0 [692b3bcd] JLLWrappers v1.8.0 ⌅ [682c06a0] JSON v0.21.4 [4076af6c] JuMP v1.30.1 [2ab3a3ac] LogExpFunctions v0.3.29 [1914dd2f] MacroTools v0.5.16 [8c4f8055] MathOptIIS v0.2.0 [b8f27783] MathOptInterface v1.51.0 [e1d29d7a] Missings v1.2.0 [78c3b35d] Mocking v0.8.1 [d8a4904e] MutableArithmetics v1.8.0 [77ba4419] NaNMath v1.1.3 [bac558e1] OrderedCollections v1.8.1 [90014a1f] PDMats v0.11.37 [69de0a69] Parsers v2.8.4 [2dfb63ee] PooledArrays v1.4.3 [aea7be01] PrecompileTools v1.3.4 [21216c6a] Preferences v1.5.2 [43287f4e] PtrArrays v1.4.0 [438e738f] PyCall v1.96.4 [1fd47b50] QuadGK v2.11.3 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.1 [79098fc4] Rmath v0.9.0 [6c6a2e73] Scratch v1.3.0 [91c51154] SentinelArrays v1.4.9 [a2af1166] SortingAlgorithms v1.2.2 [276daf66] SpecialFunctions v2.7.2 [0cda1612] SpineInterface v0.17.1 [0d8fc150] SpineOpt v0.11.1 `~/.julia/packages/SpineOpt/4Vpxd/` [1e83bf80] StaticArraysCore v1.4.4 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.8.0 [2913bbd2] StatsBase v0.34.10 [4c63d2b9] StatsFuns v1.5.2 [354b36f9] StringViews v1.3.7 [dc5dba14] TZJData v1.5.0+2025b [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.1 [f269a46b] TimeZones v1.22.2 [3bb67fe8] TranscodingStreams v0.11.3 [5c2747f8] URIs v1.6.1 [81def892] VersionParsing v1.3.0 [6e34b625] Bzip2_jll v1.0.9+0 [8fd58aa0] HiGHS_jll v1.14.0+0 [5ced341a] Lz4_jll v1.10.1+0 [656ef2d0] OpenBLAS32_jll v0.3.33+1 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [f50d1b31] Rmath_jll v0.5.1+0 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [f43a241f] Downloads v1.7.0 [7b1f6079] FileWatching v1.11.0 [9fa8497b] Future v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.13.0 [b27032c2] LibCURL v1.0.0 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.13.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.3.0 [44cfe95a] Pkg v1.14.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v1.13.0 [9e88b42a] Serialization v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.13.0 [f489334b] StyledStrings v1.13.0 [4607b0f0] SuiteSparse [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.5.1+0 [deac9b47] LibCURL_jll v8.20.0+1 [e37daf67] LibGit2_jll v1.9.3+0 [29816b5a] LibSSH2_jll v1.11.101+0 [14a3606d] MozillaCACerts_jll v2026.5.14 [4536629a] OpenBLAS_jll v0.3.33+0 [05823500] OpenLibm_jll v0.8.7+0 [458c3c95] OpenSSL_jll v3.5.6+0 [efcefdf7] PCRE2_jll v10.47.0+0 [bea87d4a] SuiteSparse_jll v7.10.1+0 [83775a58] Zlib_jll v1.3.2+0 [3161d3a3] Zstd_jll v1.5.7+1 [8e850b90] libblastrampoline_jll v5.15.0+0 [8e850ede] nghttp2_jll v1.69.0+0 [3f19e933] p7zip_jll v17.8.0+0 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... find_version: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:21 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:22 [7] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [8] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:25 [inlined] [9] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [10] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [14] top-level scope @ none:6 [15] eval(m::Module, e::Any) @ Core ./boot.jl:517 [16] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [17] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:22 [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:25 [inlined] [10] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [11] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [15] top-level scope @ none:6 [16] eval(m::Module, e::Any) @ Core ./boot.jl:517 [17] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [18] _start() @ Base ./client.jl:596 run_migrations: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:60 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] _db(f::SpineInterface.var"#without_filters##0#without_filters##1"{SpineOpt.var"#run_migrations##0#run_migrations##1"{Int64}}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:644 [6] _db @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:635 [inlined] [7] without_filters @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:592 [inlined] [8] run_migrations(url::String, version::Int64, log_level::Int64) @ SpineOpt ~/.julia/packages/SpineOpt/4Vpxd/src/data_structure/migration.jl:112 [9] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:61 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:63 [inlined] [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:517 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [20] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] _db(f::SpineInterface.var"#without_filters##0#without_filters##1"{SpineOpt.var"#run_migrations##0#run_migrations##1"{Int64}}, url::String; upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:644 [7] _db @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:635 [inlined] [8] without_filters @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:592 [inlined] [9] run_migrations(url::String, version::Int64, log_level::Int64) @ SpineOpt ~/.julia/packages/SpineOpt/4Vpxd/src/data_structure/migration.jl:112 [10] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:61 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:63 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [21] _start() @ Base ./client.jl:596 successful: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:109 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:111 [inlined] [8] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:110 [inlined] [10] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_move_connection_flow_cost() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:85 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:430 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:111 [inlined] [9] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:110 [inlined] [11] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_move_connection_flow_cost() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:85 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:430 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 unsuccessful: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:119 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:123 [inlined] [8] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:120 [inlined] [10] Dict{Symbol, Any}() @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_move_connection_flow_cost() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:85 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:430 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:123 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:120 [inlined] [11] Dict{Symbol, Any}() @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_move_connection_flow_cost() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:85 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:430 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 rename_model_types: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:130 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] get(val::Base.ScopedValues.ScopedValue{Test.AbstractTestSet}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:146 [inlined] [8] get_testset() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_rename_model_types() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:131 [10] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:431 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [21] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] get(val::Base.ScopedValues.ScopedValue{Test.AbstractTestSet}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:146 [inlined] [9] get_testset() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_rename_model_types() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:131 [11] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:431 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [22] _start() @ Base ./client.jl:596 translate_ramp_parameters: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:157 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] get(val::Base.ScopedValues.ScopedValue{Test.AbstractTestSet}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:181 [inlined] [8] get_testset() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_translate_ramp_parameters() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:158 [10] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:432 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [21] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] get(val::Base.ScopedValues.ScopedValue{Test.AbstractTestSet}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:181 [inlined] [9] get_testset() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_translate_ramp_parameters() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:158 [11] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:432 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [22] _start() @ Base ./client.jl:596 remove_model_tb_ss: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:193 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:203 [inlined] [8] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_remove_model_tb_ss() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:194 [10] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:433 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [21] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:203 [inlined] [9] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_remove_model_tb_ss() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:194 [11] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:433 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [22] _start() @ Base ./client.jl:596 update_investment_variable_type: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:214 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] get(val::Base.ScopedValues.ScopedValue{Test.AbstractTestSet}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:234 [inlined] [8] get_testset() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_update_investment_variable_type() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:215 [10] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:434 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [21] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] get(val::Base.ScopedValues.ScopedValue{Test.AbstractTestSet}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:234 [inlined] [9] get_testset() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_update_investment_variable_type() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:215 [11] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:434 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [22] _start() @ Base ./client.jl:596 add_model_algorithm: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:250 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] get(val::Base.ScopedValues.ScopedValue{Test.AbstractTestSet}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:267 [inlined] [8] get_testset() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_add_model_algorithm() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:251 [10] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:435 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [21] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] get(val::Base.ScopedValues.ScopedValue{Test.AbstractTestSet}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:267 [inlined] [9] get_testset() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_add_model_algorithm() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:251 [11] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:435 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [22] _start() @ Base ./client.jl:596 rename_lifetime_to_tech_lifetime: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:280 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] get(val::Base.ScopedValues.ScopedValue{Test.AbstractTestSet}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:296 [inlined] [8] get_testset() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_rename_lifetime_to_tech_lifetime() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:281 [10] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:436 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [21] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] get(val::Base.ScopedValues.ScopedValue{Test.AbstractTestSet}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:296 [inlined] [9] get_testset() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_rename_lifetime_to_tech_lifetime() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:281 [11] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:436 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [22] _start() @ Base ./client.jl:596 translate_heatrate_parameters: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:309 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] get(val::Base.ScopedValues.ScopedValue{Test.AbstractTestSet}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:327 [inlined] [8] get_testset() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [9] _test_translate_heatrate_parameters() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:310 [10] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:437 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [21] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] get(val::Base.ScopedValues.ScopedValue{Test.AbstractTestSet}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:327 [inlined] [9] get_testset() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_translate_heatrate_parameters() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:310 [11] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:437 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [22] _start() @ Base ./client.jl:596 translate_use_economic_representation__use_milestone_years: use_economic_representation = nothing, use_milestone_years = nothing: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:360 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:351 [8] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [inlined] [9] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [11] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:438 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [22] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:351 [9] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [inlined] [10] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:438 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 translate_use_economic_representation__use_milestone_years: use_economic_representation = false, use_milestone_years = nothing: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:360 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:351 [8] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [inlined] [9] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [11] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:438 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [22] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:351 [9] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [inlined] [10] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:438 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 translate_use_economic_representation__use_milestone_years: use_economic_representation = true, use_milestone_years = nothing: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:360 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:351 [8] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [inlined] [9] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [11] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:438 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [22] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:351 [9] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [inlined] [10] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:438 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 translate_use_economic_representation__use_milestone_years: use_economic_representation = nothing, use_milestone_years = false: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:360 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:351 [8] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [inlined] [9] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [11] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:438 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [22] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:351 [9] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [inlined] [10] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:438 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 translate_use_economic_representation__use_milestone_years: use_economic_representation = false, use_milestone_years = false: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:360 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:351 [8] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [inlined] [9] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [11] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:438 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [22] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:351 [9] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [inlined] [10] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:438 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 translate_use_economic_representation__use_milestone_years: use_economic_representation = true, use_milestone_years = false: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:360 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:351 [8] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [inlined] [9] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [11] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:438 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [22] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:351 [9] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [inlined] [10] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:438 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 translate_use_economic_representation__use_milestone_years: use_economic_representation = nothing, use_milestone_years = true: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:360 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:351 [8] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [inlined] [9] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [11] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:438 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [22] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:351 [9] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [inlined] [10] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:438 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 translate_use_economic_representation__use_milestone_years: use_economic_representation = false, use_milestone_years = true: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:360 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:351 [8] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [inlined] [9] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [11] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:438 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [22] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:351 [9] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [inlined] [10] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:438 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 translate_use_economic_representation__use_milestone_years: use_economic_representation = true, use_milestone_years = true: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:360 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:351 [8] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [inlined] [9] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [11] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:438 [inlined] [14] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ none:6 [20] eval(m::Module, e::Any) @ Core ./boot.jl:517 [21] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [22] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:351 [9] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [inlined] [10] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:363 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:438 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 migration scripts: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:428 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:351 [8] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:409 [9] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:438 [inlined] [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:517 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [20] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _test_translate_use_economic_representation__use_milestone_years_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:351 [9] _test_translate_use_economic_representation__use_milestone_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:409 [10] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:429 [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/migration.jl:438 [inlined] [13] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ none:6 [19] eval(m::Module, e::Any) @ Core ./boot.jl:517 [20] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [21] _start() @ Base ./client.jl:596 check data structure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_data_structure.jl:21 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Any, Any}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_data_structure.jl:22 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_data_structure.jl:23 [inlined] [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:160 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:517 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [19] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Any, Any}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_data_structure.jl:22 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_data_structure.jl:23 [inlined] [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:160 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:517 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [20] _start() @ Base ./client.jl:596 test discounted duration - using milestone years: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:229 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:230 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_discounted_duration_milestone_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:230 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:563 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:563 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:161 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:230 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_discounted_duration_milestone_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:230 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:563 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:563 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:161 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 test discounted duration - using consecutive years: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:275 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:276 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_discounted_duration_consecutive_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:276 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:563 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:564 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:161 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:276 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_discounted_duration_consecutive_years() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:276 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:563 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:564 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:161 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 test investment costs, salvage fraction, capacity transfer factor, decommissioning: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:330 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:331 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_investment_costs__salvage_fraction__capacity_transfer_factor__decommissioning() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:331 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:563 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:566 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:161 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:331 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_investment_costs__salvage_fraction__capacity_transfer_factor__decommissioning() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:331 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:563 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:566 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:161 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 test technological discount factor, investment costs, salvage fraction: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:380 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:381 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_technological_discount_factor__investment_costs__salvage_fraction() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:381 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:563 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:567 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:161 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:381 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_technological_discount_factor__investment_costs__salvage_fraction() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:381 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:563 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:567 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:161 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 test rolling error exception: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:417 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:418 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_rolling_error_exception() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:418 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:563 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:568 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:161 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:418 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_rolling_error_exception() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:418 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:563 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:568 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:161 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 test Benders error exception: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:443 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:138 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:444 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_Benders_error_exception() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:444 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:563 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:569 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:161 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] test_data_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:138 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:444 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_Benders_error_exception() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:444 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:563 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:569 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:161 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 test no investment temporal block error exception: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:469 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] test_data_no_investment_temporal_block_error_exception() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:224 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:470 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_no_investment_temporal_block_error_exception() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:470 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:563 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:570 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:161 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] test_data_no_investment_temporal_block_error_exception() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:224 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:470 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_no_investment_temporal_block_error_exception() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:470 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:563 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:570 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:161 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 test saving outputs: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:496 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] test_data_minimal_feasible_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:183 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:497 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_saving_outputs() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:497 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:563 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:571 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:161 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] test_data_minimal_feasible_example_multiyear_economic_discounting() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:183 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:497 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_saving_outputs() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:497 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:563 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/check_economic_structure.jl:571 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:161 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 process_lossless_bidirectional_connections: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/preprocess_data_structure.jl:20 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/preprocess_data_structure.jl:21 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/preprocess_data_structure.jl:31 [inlined] [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:162 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:517 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [19] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/preprocess_data_structure.jl:21 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/preprocess_data_structure.jl:31 [inlined] [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:162 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:517 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [20] _start() @ Base ./client.jl:596 expand groups: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/preprocess_data_structure.jl:49 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/preprocess_data_structure.jl:50 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/preprocess_data_structure.jl:72 [inlined] [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:162 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:517 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [19] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/preprocess_data_structure.jl:50 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/preprocess_data_structure.jl:72 [inlined] [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:162 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:517 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [20] _start() @ Base ./client.jl:596 lossless_bidirectional_capacities: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/preprocess_data_structure.jl:90 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/preprocess_data_structure.jl:180 [inlined] [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/preprocess_data_structure.jl:91 [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:162 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:517 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [19] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/preprocess_data_structure.jl:180 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/preprocess_data_structure.jl:91 [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:162 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:517 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [20] _start() @ Base ./client.jl:596 representative_time_slice: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:86 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:87 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_representative_time_slice() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:87 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:87 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_representative_time_slice() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:87 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 zero_resolution: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:147 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:148 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_zero_resolution() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:148 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:558 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:148 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_zero_resolution() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:148 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:558 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 block_start: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:162 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:163 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_block_start() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:163 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:559 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:163 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_block_start() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:163 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:559 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 block_end: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:192 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:193 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_block_end() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:193 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:560 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:193 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_block_end() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:193 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:560 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 one_two_four_even: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:222 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [9] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:223 [inlined] [10] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_one_two_four_even() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:223 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:561 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [10] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:223 [inlined] [11] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_one_two_four_even() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:223 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:561 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 two_three_uneven: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:300 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [9] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:301 [inlined] [10] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_two_three_uneven() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:301 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:562 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [10] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:301 [inlined] [11] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_two_three_uneven() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:301 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:562 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 gaps: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:353 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:354 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_gaps() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:354 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:563 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:354 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_gaps() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:354 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:563 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 to_time_slice with rolling: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:420 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:421 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_to_time_slice_with_rolling() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:421 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:564 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:421 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_to_time_slice_with_rolling() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:421 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:564 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 history: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:447 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:448 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_history() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:448 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:565 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:448 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_history() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:448 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:565 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 master_temporal_structure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:478 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:479 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_master_temporal_structure() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:479 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:566 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:479 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_master_temporal_structure() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:479 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:566 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 subwindows: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:512 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:513 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_subwindows() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:513 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:567 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:513 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_subwindows() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:513 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:567 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 discontinuity: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:59 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:60 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] _test_discontinuity_at_the_first_time_step() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:60 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:568 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_temporal_structure_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:51 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:60 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] _test_discontinuity_at_the_first_time_step() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:60 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:557 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/temporal_structure.jl:568 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:163 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 stochastic structure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/stochastic_structure.jl:21 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/stochastic_structure.jl:22 [9] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/stochastic_structure.jl:157 [inlined] [11] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:164 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ none:6 [17] eval(m::Module, e::Any) @ Core ./boot.jl:517 [18] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [19] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/stochastic_structure.jl:22 [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/stochastic_structure.jl:157 [inlined] [12] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:164 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ none:6 [18] eval(m::Module, e::Any) @ Core ./boot.jl:517 [19] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [20] _start() @ Base ./client.jl:596 save_connection_avg_throughflow_unidirectional: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:76 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:71 [9] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:78 [inlined] [10] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:78 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:335 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:335 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:165 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:71 [10] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:78 [inlined] [11] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:78 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:335 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:335 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:165 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 save_connection_avg_throughflow_unidirectional_imbalanced_terminal_a: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:88 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:71 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:91 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:91 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:335 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:335 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:165 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:71 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:91 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:91 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:335 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:335 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:165 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 save_connection_avg_throughflow_unidirectional_imbalanced_terminal_b: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:105 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:71 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:108 [inlined] [10] ==(x::Int64, y::Int64) @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:108 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:335 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:335 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:165 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:71 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:108 [inlined] [11] ==(x::Int64, y::Int64) @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:108 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:335 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:335 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:165 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 save_connection_avg_throughflow_bidirectional: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:122 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:71 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:124 [inlined] [10] indexed_iterate(a::Vector{TimeSlice}, i::Int64) @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:124 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:335 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:335 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:165 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_save_connection_avg_throughflow_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:71 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:124 [inlined] [11] indexed_iterate(a::Vector{TimeSlice}, i::Int64) @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_save_connection_avg_throughflow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:124 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:335 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:335 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:165 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 save_contingency_is_binding: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:227 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_save_contingency_is_binding_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:222 [9] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:228 [inlined] [10] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_save_contingency_is_binding() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:228 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:335 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:336 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:165 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_save_contingency_is_binding_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:222 [10] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:228 [inlined] [11] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_save_contingency_is_binding() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:228 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:335 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/data_structure/postprocess_results.jl:336 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:165 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 expression_capacity_margin: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/expressions/expression.jl:110 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_expressions_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/expressions/expression.jl:105 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/expressions/expression.jl:111 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_expression_capacity_margin() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/expressions/expression.jl:111 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/expressions/expression.jl:168 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/expressions/expression.jl:168 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:166 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_expressions_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/expressions/expression.jl:105 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/expressions/expression.jl:111 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_expression_capacity_margin() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/expressions/expression.jl:111 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/expressions/expression.jl:168 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/expressions/expression.jl:168 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:166 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_units_available: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:125 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:126 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_units_available() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:126 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:126 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_units_available() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:126 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_units_available_units_unavailable: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:161 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:162 [inlined] [10] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_units_available_units_unavailable() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:162 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2159 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:162 [inlined] [11] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_units_available_units_unavailable() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:162 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2159 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_units_available_units_unavailable_default: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:196 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:197 [inlined] [10] isnothing(x::Any) @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_units_available_units_unavailable() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:197 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2159 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:197 [inlined] [11] isnothing(x::Any) @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_units_available_units_unavailable() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:197 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2159 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_unit_state_transition: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:233 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:234 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_unit_state_transition() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:234 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2160 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:234 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_unit_state_transition() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:234 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2160 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_unit_flow_capacity_simple: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:303 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:304 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_unit_flow_capacity_simple() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:304 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2161 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:304 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_unit_flow_capacity_simple() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:304 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2161 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:376 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:372 [inlined] [15] vect(::String, ::Vector{String}, ::String, ::Float64) @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:360 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2162 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [23] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [25] top-level scope @ none:6 [26] eval(m::Module, e::Any) @ Core ./boot.jl:517 [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [28] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:376 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:372 [inlined] [16] vect(::String, ::Vector{String}, ::String, ::Float64) @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:360 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2162 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [24] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [26] top-level scope @ none:6 [27] eval(m::Module, e::Any) @ Core ./boot.jl:517 [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [29] _start() @ Base ./client.jl:596 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:376 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:372 [inlined] [15] vect(::String, ::Vector{String}, ::String, ::Float64) @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:360 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2162 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [23] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [25] top-level scope @ none:6 [26] eval(m::Module, e::Any) @ Core ./boot.jl:517 [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [28] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:376 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:372 [inlined] [16] vect(::String, ::Vector{String}, ::String, ::Float64) @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:360 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2162 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [24] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [26] top-level scope @ none:6 [27] eval(m::Module, e::Any) @ Core ./boot.jl:517 [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [29] _start() @ Base ./client.jl:596 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:376 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:372 [inlined] [15] vect(::String, ::Vector{String}, ::String, ::Float64) @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:360 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2162 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [23] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [25] top-level scope @ none:6 [26] eval(m::Module, e::Any) @ Core ./boot.jl:517 [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [28] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:376 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:372 [inlined] [16] vect(::String, ::Vector{String}, ::String, ::Float64) @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:360 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2162 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [24] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [26] top-level scope @ none:6 [27] eval(m::Module, e::Any) @ Core ./boot.jl:517 [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [29] _start() @ Base ./client.jl:596 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:376 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:372 [inlined] [15] vect(::String, ::Vector{String}, ::String, ::Float64) @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:360 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2162 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [23] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [25] top-level scope @ none:6 [26] eval(m::Module, e::Any) @ Core ./boot.jl:517 [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [28] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:376 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:372 [inlined] [16] vect(::String, ::Vector{String}, ::String, ::Float64) @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:360 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2162 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [24] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [26] top-level scope @ none:6 [27] eval(m::Module, e::Any) @ Core ./boot.jl:517 [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [29] _start() @ Base ./client.jl:596 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:376 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:372 [inlined] [15] vect(::String, ::Vector{String}, ::String, ::Float64) @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:360 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2162 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [23] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [25] top-level scope @ none:6 [26] eval(m::Module, e::Any) @ Core ./boot.jl:517 [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [28] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:376 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:372 [inlined] [16] vect(::String, ::Vector{String}, ::String, ::Float64) @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:360 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2162 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [24] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [26] top-level scope @ none:6 [27] eval(m::Module, e::Any) @ Core ./boot.jl:517 [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [29] _start() @ Base ./client.jl:596 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:376 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:372 [inlined] [15] vect(::String, ::Vector{String}, ::String, ::Float64) @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:360 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2162 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [23] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [25] top-level scope @ none:6 [26] eval(m::Module, e::Any) @ Core ./boot.jl:517 [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [28] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:376 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:372 [inlined] [16] vect(::String, ::Vector{String}, ::String, ::Float64) @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:360 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2162 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [24] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [26] top-level scope @ none:6 [27] eval(m::Module, e::Any) @ Core ./boot.jl:517 [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [29] _start() @ Base ./client.jl:596 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:376 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:372 [inlined] [15] vect(::String, ::Vector{String}, ::String, ::Float64) @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:360 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2162 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [23] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [25] top-level scope @ none:6 [26] eval(m::Module, e::Any) @ Core ./boot.jl:517 [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [28] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:376 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:372 [inlined] [16] vect(::String, ::Vector{String}, ::String, ::Float64) @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:360 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2162 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [24] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [26] top-level scope @ none:6 [27] eval(m::Module, e::Any) @ Core ./boot.jl:517 [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [29] _start() @ Base ./client.jl:596 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:376 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 [inlined] [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:372 [inlined] [15] vect(::String, ::Vector{String}, ::String, ::Float64) @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:360 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2162 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [22] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [23] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [24] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [25] top-level scope @ none:6 [26] eval(m::Module, e::Any) @ Core ./boot.jl:517 [27] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [28] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:376 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [13] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:375 [inlined] [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:372 [inlined] [16] vect(::String, ::Vector{String}, ::String, ::Float64) @ Base /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] test_constraint_unit_flow_capacity_tight_and_compact() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:360 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2162 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [23] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [24] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [25] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [26] top-level scope @ none:6 [27] eval(m::Module, e::Any) @ Core ./boot.jl:517 [28] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [29] _start() @ Base ./client.jl:596 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:463 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:464 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:463 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:455 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2163 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:464 [inlined] [12] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [13] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:463 [inlined] [14] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:455 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2163 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:517 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [27] _start() @ Base ./client.jl:596 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:463 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:464 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:463 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:455 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2163 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:464 [inlined] [12] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [13] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:463 [inlined] [14] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:455 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2163 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:517 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [27] _start() @ Base ./client.jl:596 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:463 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:464 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:463 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:455 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2163 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:464 [inlined] [12] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [13] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:463 [inlined] [14] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:455 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2163 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:517 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [27] _start() @ Base ./client.jl:596 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:463 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:464 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:463 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:455 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2163 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:464 [inlined] [12] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [13] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:463 [inlined] [14] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] test_constraint_minimum_operating_point() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:455 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2163 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:517 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [27] _start() @ Base ./client.jl:596 constraint_operating_point_bounds: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:651 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:652 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_operating_point_bounds() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:652 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2164 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:652 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_operating_point_bounds() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:652 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2164 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_operating_point_rank: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:696 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:697 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_operating_point_rank() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:697 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2165 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:697 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_operating_point_rank() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:697 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2165 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_unit_flow_op_bounds: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:744 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:745 [inlined] [10] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_unit_flow_op_bounds() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:745 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2166 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:745 [inlined] [11] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_unit_flow_op_bounds() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:745 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2166 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_unit_flow_op_rank: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:813 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:814 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_unit_flow_op_rank() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:814 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2167 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:814 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_unit_flow_op_rank() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:814 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2167 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_unit_flow_op_sum: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:874 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:875 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_unit_flow_op_sum() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:875 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2168 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:875 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_unit_flow_op_sum() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:875 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2168 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 (p, a, b) = ("min", "in", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [12] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 (p, a, b) = ("fix", "in", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [12] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 (p, a, b) = ("max", "in", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [12] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 (p, a, b) = ("min", "in", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [12] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 (p, a, b) = ("fix", "in", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [12] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 (p, a, b) = ("max", "in", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [12] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 (p, a, b) = ("min", "out", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [12] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 (p, a, b) = ("fix", "out", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [12] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 (p, a, b) = ("max", "out", "in"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [12] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 (p, a, b) = ("min", "out", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [12] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 (p, a, b) = ("fix", "out", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [12] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 (p, a, b) = ("max", "out", "out"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [12] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:925 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:911 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_ratio_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:904 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2169 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 (p, a) = ("min", "from_node"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:996 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1002 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:996 [inlined] [12] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:993 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2170 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1002 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:996 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:993 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2170 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 (p, a) = ("min", "to_node"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:996 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1002 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:996 [inlined] [12] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:993 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2170 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1002 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:996 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:993 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2170 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 (p, a) = ("max", "from_node"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:996 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1002 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:996 [inlined] [12] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:993 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2170 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1002 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:996 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:993 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2170 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 (p, a) = ("max", "to_node"): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:996 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1002 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:996 [inlined] [12] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:993 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2170 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1002 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:996 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_total_cumulated_unit_flow() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:993 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2170 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 min_up_minutes = 60: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1043 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1044 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1043 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1042 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2171 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1044 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1043 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1042 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2171 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 min_up_minutes = 120: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1043 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1044 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1043 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1042 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2171 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1044 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1043 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1042 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2171 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 min_up_minutes = 210: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1043 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1044 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1043 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1042 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2171 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1044 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1043 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_min_up_time() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1042 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2171 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 scheduled_outage_duration_minutes = 60: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1089 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1090 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1089 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1088 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2172 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1090 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1089 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1088 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2172 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 scheduled_outage_duration_minutes = 120: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1089 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1090 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1089 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1088 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2172 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1090 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1089 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1088 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2172 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 scheduled_outage_duration_minutes = 210: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1089 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1090 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1089 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1088 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2172 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1090 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1089 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_units_out_of_service_contiguity() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1088 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2172 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 scheduled_outage_duration_minutes = 60: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1140 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1141 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1140 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1139 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2173 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1141 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1140 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1139 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2173 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 scheduled_outage_duration_minutes = 120: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1140 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1141 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1140 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1139 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2173 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1141 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1140 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1139 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2173 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 scheduled_outage_duration_minutes = 210: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1140 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1141 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1140 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1139 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2173 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1141 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1140 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_min_scheduled_outage_duration() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1139 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2173 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 min_up_minutes = 60: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1177 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1178 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1177 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1176 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2174 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1178 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1177 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1176 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2174 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 min_up_minutes = 120: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1177 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1178 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1177 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1176 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2174 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1178 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1177 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1176 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2174 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 min_up_minutes = 210: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1177 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1178 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1177 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1176 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2174 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1178 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1177 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_min_up_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1176 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2174 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 min_down_minutes = 45: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1237 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1238 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1237 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1236 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2175 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1238 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1237 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1236 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2175 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 min_down_minutes = 150: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1237 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1238 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1237 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1236 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2175 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1238 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1237 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1236 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2175 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 min_down_minutes = 300: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1237 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1238 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1237 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1236 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2175 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1238 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1237 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_min_down_time() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1236 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2175 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 min_down_minutes = 90: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1297 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1298 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1297 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1296 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2176 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1298 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1297 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1296 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2176 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 min_down_minutes = 150: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1297 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1298 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1297 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1296 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2176 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1298 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1297 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1296 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2176 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 min_down_minutes = 300: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1297 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1298 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1297 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1296 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2176 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1298 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1297 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_min_down_time_with_non_spinning_reserves() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1296 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2176 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 constraint_units_invested_available: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1368 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1369 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_units_invested_available() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1369 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2177 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1369 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_units_invested_available() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1369 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2177 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_units_invested_available_mp: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1395 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1396 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_units_invested_available_mp() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1396 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2178 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1396 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_units_invested_available_mp() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1396 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2178 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_units_invested_transition: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1425 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1426 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_units_invested_transition() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1426 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2179 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1426 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_units_invested_transition() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1426 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2179 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_units_invested_transition_mp: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1462 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1463 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_units_invested_transition_mp() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1463 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2180 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1463 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_units_invested_transition_mp() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1463 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2180 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 lifetime_minutes = 30: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1505 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1506 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1505 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1503 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2181 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1506 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1505 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1503 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2181 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 lifetime_minutes = 180: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1505 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1506 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1505 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1503 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2181 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1506 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1505 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1503 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2181 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 lifetime_minutes = 240: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1505 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1506 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1505 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1503 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2181 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1506 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1505 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_unit_lifetime() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1503 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2181 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 constraint_unit_lifetime_sense: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1558 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1563 [inlined] [10] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_unit_lifetime_sense() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1559 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2182 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1563 [inlined] [11] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_unit_lifetime_sense() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1559 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2182 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 lifetime_minutes = 30: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1618 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1619 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1618 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1616 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2183 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1619 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1618 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1616 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2183 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 lifetime_minutes = 180: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1618 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1619 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1618 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1616 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2183 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1619 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1618 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1616 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2183 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 lifetime_minutes = 240: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1618 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1619 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1618 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1616 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2183 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1619 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1618 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_unit_lifetime_mp() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1616 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2183 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1686 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1687 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1686 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1672 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2184 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1687 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [13] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1686 [inlined] [14] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1672 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2184 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:517 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [27] _start() @ Base ./client.jl:596 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1686 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1687 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1686 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1672 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2184 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1687 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [13] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1686 [inlined] [14] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1672 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2184 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:517 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [27] _start() @ Base ./client.jl:596 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1686 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1687 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1686 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1672 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2184 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1687 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [13] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1686 [inlined] [14] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1672 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2184 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:517 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [27] _start() @ Base ./client.jl:596 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1686 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1687 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1686 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1672 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2184 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1687 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [13] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1686 [inlined] [14] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] test_constraint_ramp_up() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1672 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2184 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:517 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [27] _start() @ Base ./client.jl:596 (ur, dr) = (false, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1794 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1795 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1794 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1780 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2185 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1795 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [13] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1794 [inlined] [14] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1780 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2185 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:517 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [27] _start() @ Base ./client.jl:596 (ur, dr) = (false, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1794 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1795 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1794 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1780 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2185 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1795 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [13] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1794 [inlined] [14] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1780 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2185 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:517 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [27] _start() @ Base ./client.jl:596 (ur, dr) = (true, false): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1794 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1795 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1794 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1780 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2185 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1795 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [13] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1794 [inlined] [14] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1780 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2185 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:517 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [27] _start() @ Base ./client.jl:596 (ur, dr) = (true, true): Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1794 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1795 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1794 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1780 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2185 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1795 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [13] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1794 [inlined] [14] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] test_constraint_ramp_down() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1780 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2185 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:517 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [27] _start() @ Base ./client.jl:596 constraint_non_spinning_reserves_lower_bound: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:533 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:534 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_non_spinning_reserves_lower_bound() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:534 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2186 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:534 [inlined] [12] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_non_spinning_reserves_lower_bound() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:534 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2186 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 limit_name = start_up_limit: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:590 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:595 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:590 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_non_spinning_reserves_upper_bounds() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:590 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2187 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:595 [inlined] [12] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [13] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:590 [inlined] [14] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] test_constraint_non_spinning_reserves_upper_bounds() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:590 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2187 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:517 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [27] _start() @ Base ./client.jl:596 limit_name = shut_down_limit: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:590 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:595 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:590 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_non_spinning_reserves_upper_bounds() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:590 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2187 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] _test_constraint_unit_reserves_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:113 [11] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:595 [inlined] [12] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [13] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:590 [inlined] [14] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] test_constraint_non_spinning_reserves_upper_bounds() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:590 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2187 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [21] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [22] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [23] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [24] top-level scope @ none:6 [25] eval(m::Module, e::Any) @ Core ./boot.jl:517 [26] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [27] _start() @ Base ./client.jl:596 sense = ==: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1888 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1889 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1888 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1888 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2188 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1889 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1888 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1888 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2188 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 sense = >=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1888 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1889 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1888 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1888 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2188 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1889 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1888 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1888 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2188 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 sense = <=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1888 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1889 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1888 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1888 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2188 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1889 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1888 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_user_constraint() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1888 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2188 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 sense = ==: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1951 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1952 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1951 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1951 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2189 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1952 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1951 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1951 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2189 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 sense = >=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1951 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1952 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1951 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1951 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2189 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1952 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1951 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1951 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2189 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 sense = <=: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1951 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1952 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1951 [inlined] [12] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1951 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2189 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1952 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1951 [inlined] [13] Base.ScopedValues.Scope(::Nothing, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_user_constraint_with_unit_operating_segments() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:1951 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2189 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 constraint_ratio_unit_flow_fix_ratio_pw: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2019 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2020 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_ratio_unit_flow_fix_ratio_pw() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2020 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2190 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2020 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_ratio_unit_flow_fix_ratio_pw() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2020 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2190 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_ratio_unit_flow_fix_ratio_pw_simple: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2070 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2071 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_ratio_unit_flow_fix_ratio_pw_simple() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2071 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2191 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2071 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_ratio_unit_flow_fix_ratio_pw_simple() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2071 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2191 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_ratio_unit_flow_fix_ratio_pw_simple2: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2116 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2117 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_ratio_unit_flow_fix_ratio_pw_simple2() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2117 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2192 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_unit_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:88 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2117 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_ratio_unit_flow_fix_ratio_pw_simple2() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2117 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2158 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_unit.jl:2192 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:167 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_nodal_balance: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:100 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [9] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:101 [inlined] [10] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_nodal_balance() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:101 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [10] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:101 [inlined] [11] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_nodal_balance() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:101 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_nodal_balance_group: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:143 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [9] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:144 [inlined] [10] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_nodal_balance_group() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:144 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1232 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [10] get(val::Base.ScopedValues.ScopedValue{Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:144 [inlined] [11] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_nodal_balance_group() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:144 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1232 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_node_injection: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:180 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:193 [inlined] [10] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_node_injection() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:181 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1233 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:193 [inlined] [11] get_testset_depth() @ Test /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_node_injection() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:181 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1233 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_cyclic_node_state: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:315 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:316 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_cyclic_node_state() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:316 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1234 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:316 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_cyclic_node_state() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:316 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1234 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_storage_line_pack: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:359 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:360 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_storage_line_pack() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:360 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1235 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:360 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_storage_line_pack() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:360 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1235 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_compression_ratio: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:426 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:427 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_compression_ratio() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:427 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1236 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:427 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_compression_ratio() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:427 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1236 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_min_node_pressure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:475 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:476 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_min_node_pressure() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:476 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1237 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:476 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_min_node_pressure() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:476 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1237 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_max_node_pressure: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:506 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:507 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_max_node_pressure() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:507 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1238 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:507 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_max_node_pressure() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:507 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1238 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_min_node_voltage_angle: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:537 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:538 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_min_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:538 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1239 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:538 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_min_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:538 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1239 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_max_node_voltage_angle: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:568 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:569 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_max_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:569 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1240 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:569 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_max_node_voltage_angle() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:569 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1240 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_min_node_state_investments: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:599 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:600 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_min_node_state_investments() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:600 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1241 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:600 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_min_node_state_investments() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:600 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1241 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_node_state_capacity_investments: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:648 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:649 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_node_state_capacity_investments() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:649 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1242 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:649 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_node_state_capacity_investments() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:649 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1242 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_storages_invested_available: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:688 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:689 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_storages_invested_available() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:689 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1243 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:689 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_storages_invested_available() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:689 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1243 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_storages_invested_available_mp: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:720 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:721 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_storages_invested_available_mp() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:721 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1244 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:721 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_storages_invested_available_mp() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:721 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1244 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_storages_invested_transition: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:753 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:754 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_storages_invested_transition() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:754 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1245 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:754 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_storages_invested_transition() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:754 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1245 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 constraint_storages_invested_transition_mp: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:795 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:796 [inlined] [10] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [11] test_constraint_storages_invested_transition_mp() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:796 [12] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [13] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1246 [inlined] [15] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [16] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [17] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [18] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [19] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [20] top-level scope @ none:6 [21] eval(m::Module, e::Any) @ Core ./boot.jl:517 [22] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [23] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:796 [inlined] [11] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [12] test_constraint_storages_invested_transition_mp() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:796 [13] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [14] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [15] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1246 [inlined] [16] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [17] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [18] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [19] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [20] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [21] top-level scope @ none:6 [22] eval(m::Module, e::Any) @ Core ./boot.jl:517 [23] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [24] _start() @ Base ./client.jl:596 lifetime_minutes = 30: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:843 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:844 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:843 [inlined] [12] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:839 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1247 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:844 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:843 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:839 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1247 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 lifetime_minutes = 180: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:843 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:844 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:843 [inlined] [12] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:839 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1247 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [9] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [10] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:844 [inlined] [11] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [12] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:843 [inlined] [13] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [14] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:839 [15] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [16] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [17] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1247 [inlined] [18] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [19] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [20] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [21] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [22] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [23] top-level scope @ none:6 [24] eval(m::Module, e::Any) @ Core ./boot.jl:517 [25] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [26] _start() @ Base ./client.jl:596 lifetime_minutes = 240: Error During Test at /home/pkgeval/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:843 Got exception outside of a @test UndefVarError: `python` not defined in `SpineInterface` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:671 [2] eval(m::Module, e::Any) @ Core ./boot.jl:517 [3] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [4] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [5] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [6] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [7] _load_test_data(db_url::String, test_data::Dict{Symbol, Vector}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:60 [8] _test_constraint_node_setup() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:95 [9] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:844 [inlined] [10] Base.ScopedValues.Scope(parent::Base.ScopedValues.Scope, key::Base.ScopedValues.ScopedValue{Int64}, value::Int64) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2327 [inlined] [11] Base.ScopedValues.Scope(scope::Base.ScopedValues.Scope, pair::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:843 [inlined] [12] Base.ScopedValues.Scope(::Base.ScopedValues.Scope, ::Pair{Base.ScopedValues.ScopedValue{Test.AbstractTestSet}, Test.DefaultTestSet}, ::Pair{Base.ScopedValues.ScopedValue{Int64}, Int64}) @ Base.ScopedValues /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [13] test_constraint_storage_lifetime() @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:839 [14] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1231 [15] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [16] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/constraints/constraint_node.jl:1247 [inlined] [17] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [18] top-level scope @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:159 [19] macro expansion @ /opt/julia/share/julia/stdlib/v1.14/Test/src/Test.jl:2246 [inlined] [20] macro expansion @ ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:168 [inlined] [21] include(mapexpr::Function, mod::Module, _path::String) @ Base ./Base.jl:327 [22] top-level scope @ none:6 [23] eval(m::Module, e::Any) @ Core ./boot.jl:517 [24] exec_options(opts::Base.JLOptions) @ Base ./client.jl:321 [25] _start() @ Base ./client.jl:596 caused by: PyError (PyImport_ImportModule The Python package spinedb_api could not be imported by pyimport. Usually this means that you did not install spinedb_api in the Python version being used by PyCall. PyCall is currently configured to use the Julia-specific Python distribution installed by the Conda.jl package. To install the spinedb_api module, you can use `pyimport_conda("spinedb_api", PKG)`, where PKG is the Anaconda package that contains the module spinedb_api, or alternatively you can use the Conda package directly (via `using Conda` followed by `Conda.add` etcetera). Alternatively, if you want to use a different Python distribution on your system, such as a system-wide Python (as opposed to the Julia-specific Python), you can re-configure PyCall with that Python. As explained in the PyCall documentation, set ENV["PYTHON"] to the path/name of the python executable you want to use, run Pkg.build("PyCall"), and re-launch Julia. ) ModuleNotFoundError("No module named 'spinedb_api'") Stacktrace: [1] pyimport(name::String) @ PyCall ~/.julia/packages/PyCall/1gn3u/src/PyCall.jl:558 [2] top-level scope @ ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:666 [3] eval(m::Module, e::Any) @ Core ./boot.jl:517 [4] _import_spinedb_api() @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:663 [5] _create_db_handler(db_url::String, upgrade::Bool) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:654 [6] open_connection(db_url::String) @ SpineInterface ~/.julia/packages/SpineInterface/NE3W7/src/api/db.jl:625 [7] _load_test_data_without_template(db_url::String, test_data::Dict{Symbol, Vector{Any}}) @ Main ~/.julia/packages/SpineOpt/4Vpxd/test/runtests.jl:65 [8] _load_tes PkgEval terminated after 554.79s: test log exceeded the size limit