File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -275,14 +275,19 @@ function copy_test_package(tmpdir::String, name::String; use_pkg=true)
275275end
276276
277277function add_this_pkg (; platform= Base. BinaryPlatforms. HostPlatform ())
278- pkg_dir = dirname (@__DIR__ )
279- pkg_uuid = TOML. parsefile (joinpath (pkg_dir, " Project.toml" ))[" uuid" ]
280- spec = Pkg. PackageSpec (
281- name= " Pkg" ,
282- uuid= UUID (pkg_uuid),
283- path= pkg_dir,
284- )
285- Pkg. develop (spec; platform)
278+ try
279+ Pkg. respect_sysimage_versions (false )
280+ pkg_dir = dirname (@__DIR__ )
281+ pkg_uuid = TOML. parsefile (joinpath (pkg_dir, " Project.toml" ))[" uuid" ]
282+ spec = Pkg. PackageSpec (
283+ name= " Pkg" ,
284+ uuid= UUID (pkg_uuid),
285+ path= pkg_dir,
286+ )
287+ Pkg. develop (spec; platform)
288+ finally
289+ Pkg. respect_sysimage_versions (true )
290+ end
286291end
287292
288293function list_tarball_files (tarball_path:: AbstractString )
You can’t perform that action at this time.
0 commit comments