Github action fails for documentation

Hi. I have a package on github and a CI worklfow for the documentation. I haven’t done any commits in a while and last time everything was working. Today the documentation build on github fails with a somewhat werid error:

Run using Pkg
  using Pkg
  Pkg.develop(PackageSpec(path=pwd()))
  Pkg.instantiate()
  shell: /opt/hostedtoolcache/julia/1.12.6/x64/bin/julia --color=yes --project=docs {0}
  Installing known registries into `~/.julia`
       Added `General` registry to ~/.julia/registries
    Updating registry at `~/.julia/registries/General.toml`
   Resolving package versions...
ERROR: LoadError: version 6.10.2+1 of package Qt6Base_jll is not available. Available versions: 6.0.3+0, 6.0.3+1, 6.3.0+0, 6.3.0+1, 6.4.1+0, 6.4.1+1, 6.4.2+0, 6.4.2+1, 6.4.2+2, 6.4.2+3, 6.5.2+0, 6.5.2+1, 6.5.2+2, 6.5.3+0, 6.5.3+1, 6.7.0+0, 6.7.0+1, 6.7.1+0, 6.7.1+1, 6.8.1+0, 6.8.2+0, 6.8.2+1, 6.8.2+2, 6.10.2+2
Stacktrace:
  [1] pkgerror(msg::String)
    @ Pkg.Types /opt/hostedtoolcache/julia/1.12.6/x64/share/julia/stdlib/v1.12/Pkg/src/Types.jl:68
  [2] resolve_versions!(env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, pkgs::Vector{PackageSpec}, julia_version::VersionNumber, installed_only::Bool)
    @ Pkg.Operations /opt/hostedtoolcache/julia/1.12.6/x64/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:614
  [3] targeted_resolve
    @ /opt/hostedtoolcache/julia/1.12.6/x64/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:1754 [inlined]
  [4] tiered_resolve(env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, pkgs::Vector{PackageSpec}, julia_version::VersionNumber, try_all_installed::Bool)
    @ Pkg.Operations /opt/hostedtoolcache/julia/1.12.6/x64/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:1726
  [5] _resolve(io::IOContext{IO}, env::Pkg.Types.EnvCache, registries::Vector{Pkg.Registry.RegistryInstance}, pkgs::Vector{PackageSpec}, preserve::PreserveLevel, julia_version::VersionNumber)
    @ Pkg.Operations /opt/hostedtoolcache/julia/1.12.6/x64/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:1766
  [6] develop(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}, new_git::Set{Base.UUID}; preserve::PreserveLevel, platform::Base.BinaryPlatforms.Platform)
    @ Pkg.Operations /opt/hostedtoolcache/julia/1.12.6/x64/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:1850
  [7] develop
    @ /opt/hostedtoolcache/julia/1.12.6/x64/share/julia/stdlib/v1.12/Pkg/src/Operations.jl:1839 [inlined]
  [8] develop(ctx::Pkg.Types.Context, pkgs::Vector{PackageSpec}; shared::Bool, preserve::PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::@Kwargs{io::IOContext{IO}})
    @ Pkg.API /opt/hostedtoolcache/julia/1.12.6/x64/share/julia/stdlib/v1.12/Pkg/src/API.jl:294
  [9] develop(pkgs::Vector{PackageSpec}; io::IOContext{IO}, kwargs::@Kwargs{})
    @ Pkg.API /opt/hostedtoolcache/julia/1.12.6/x64/share/julia/stdlib/v1.12/Pkg/src/API.jl:169
 [10] develop(pkgs::Vector{PackageSpec})
    @ Pkg.API /opt/hostedtoolcache/julia/1.12.6/x64/share/julia/stdlib/v1.12/Pkg/src/API.jl:158
 [11] develop(pkg::PackageSpec)
    @ Pkg.API /opt/hostedtoolcache/julia/1.12.6/x64/share/julia/stdlib/v1.12/Pkg/src/API.jl:156
 [12] top-level scope
    @ ~/work/_temp/22c679c3-8f03-4930-b8eb-bc1f7d2ae4af:2
 [13] include(mod::Module, _path::String)
    @ Base ./Base.jl:306
 [14] exec_options(opts::Base.JLOptions)
    @ Base ./client.jl:317
 [15] _start()
    @ Base ./client.jl:550
in expression starting at /home/runner/work/_temp/22c679c3-8f03-4930-b8eb-bc1f7d2ae4af:2
Error: Process completed with exit code 1.

I don’t think I have done or changed anything. Any ideas what this could be? I don’t know if the actions are visible, but the repo is public: GitHub - borisblagov/BEAVARs.jl: Early version of a personal package of mine for estimating Bayesian VAR models · GitHub

Do you actually need to check in the manifest? If so, re-resolve it, Qt6Base_jll v6.10.2+1 was yanked, if not just delete it and live happy.

What do you mean by checking the manifest? Is my configuration wrong? Sorry, I am not sure what I am doing, I have mostly, blindly followed thi guide for hosting github pages documentation and so far it has worked without issues.

I tried updating the packages and resolve does not bring any issues, says no packages to add or remove from the manifest.

Is there a way to make it use Qt6Base_jll 6.10.2+2? I don’t even know what package installed it. I guess manually editing the line version = "6.10.2+1 in the Manifest is not a good idea?

Edit:
when I try

BEAVARs) pkg> rm Qt6Base_jll
ERROR: The following package names could not be resolved:
 * Qt6Base_jll (c0090381-4147-56d7-9ebc-da0b1113ec56 in manifest but not in project)

but

(BEAVARs) pkg> resolve
     Project No packages added to or removed from `...\BEAVARs\Project.toml`
    Manifest No packages added to or removed from `...\BEAVARs\Project.toml`

Is there a way to make the project and manifest consistent and clean all the unneded dependencies?

Edit2: I am an idiot, I should be updating/resolving the Manifest in docs, not the main one, duh
resolving did not do the trick but updating the docs environment fixed it, thanks!

To “check in” a file to a git repository it means to track it, so that its content is inside the repository, and following changes are tracked.

That’s the file I linked above :slightly_smiling_face:

But my point is: do you even need the manifest to start with? I personally never check in manifests for packages, I instead use them for “applications” where I specifically don’t want to change the environment.

Tbh, I probably don’t.

I just never thought about adding it to the gitignore. That should prevent such problems in the future, should it not?

That’s my point (and manifests in package development are more often than not a hassle)