Skip to content

Fix call to registry_info() on 1.13 - #1445

Merged
giordano merged 1 commit into
JuliaPackaging:masterfrom
JamesWrigley:registry-info
Oct 10, 2026
Merged

giordano merged 1 commit into
JuliaPackaging:masterfrom
JamesWrigley:registry-info

Conversation

@JamesWrigley

Copy link
Copy Markdown
Contributor

Without it I get this error on 1.13 nightly:

ERROR: LoadError: MethodError: no method matching registry_info(::Pkg.Registry.PkgEntry)                                                                                                                                                       
The function `registry_info` exists, but no method is defined for this combination of argument types.                                                                                                                                          
                                                                                                                                                                                                                                               
Closest candidates are:                                                                                                                                                                                                                        
  registry_info(::Pkg.Registry.RegistryInstance, ::Pkg.Registry.PkgEntry)                                                                                                                                                                      
   @ Pkg ~/.julia/juliaup/julia-1.13-nightly/share/julia/stdlib/v1.13/Pkg/src/Registry/registry_instance.jl:485                                                                                                                                
                                                                                                                                                                                                                                               
Stacktrace:                                                                                                                                                                                                                                    
 [1] get_next_wrapper_version(src_name::String, src_version::VersionNumber)                                                                                                                                                                    
   @ BinaryBuilder ~/.julia/packages/BinaryBuilder/YNHY8/src/AutoBuild.jl:560                                                                                                                                                                  
 [2] build_tarballs(ARGS::Any, src_name::Any, src_version::Any, sources::Any, script::Any, platforms::Any, products::Any, dependencies::Any; julia_compat::String, validate_name::Bool, compression_format::String, kwargs...)                 
   @ BinaryBuilder ~/.julia/packages/BinaryBuilder/YNHY8/src/AutoBuild.jl:319                                                                                                                                                                  
 [3] kwcall(::NamedTuple, ::typeof(build_tarballs), ARGS::Any, src_name::Any, src_version::Any, sources::Any, script::Any, platforms::Any, products::Any, dependencies::Any)                                                                   
   @ BinaryBuilder ~/.julia/packages/BinaryBuilder/YNHY8/src/AutoBuild.jl:189
 [4] top-level scope
   @ ~/git/Yggdrasil/C/CImGuiPack/build_tarballs.jl:79
 [5] include(mod::Module, _path::String)
   @ Base ./Base.jl:309
 [6] exec_options(opts::Base.JLOptions)
   @ Base ./client.jl:344
 [7] _start()
   @ Base ./client.jl:577

I think this would've been caught by CI, but if I read azure-pipelines.yml right it looks like the tests only run on 1.7?

@JamesWrigley

Copy link
Copy Markdown
Contributor Author

(bump)

@giordano

Copy link
Copy Markdown
Member

@IanButterworth is this correct?

@IanButterworth

Copy link
Copy Markdown
Member

Yes, this is correct. The signature changed to registry_info(::RegistryInstance, ::PkgEntry) in JuliaLang/Pkg.jl#4470, which is on 1.13 but not 1.12, and PkgInfo.version_info is unchanged.

@giordano
giordano merged commit 839e7fa into JuliaPackaging:master Oct 10, 2026
9 checks passed
@JamesWrigley
JamesWrigley deleted the registry-info branch October 10, 2026 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants