Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loosen p7zip_jll compatibility #485

Merged
merged 6 commits into from
Feb 4, 2025
Merged

Loosen p7zip_jll compatibility #485

merged 6 commits into from
Feb 4, 2025

Conversation

omus
Copy link
Member

@omus omus commented Feb 4, 2025

Addresses a compat issue that only happens on older versions of Julia (1.7) when using the undocumented force_latest_compatible_version flag for Pkg.test:

julia> Pkg.test(; allow_reresolve=true, force_latest_compatible_version=true)
     Testing TimeZones
┌ Warning: Could not use exact versions of packages in manifest, re-resolving
└ @ Pkg.Operations /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.7/Pkg/src/Operations.jl:1488
ERROR: Unsatisfiable requirements detected for package p7zip_jll [3f19e933]:
 p7zip_jll [3f19e933] log:
 ├─possible versions are: 16.2.1 or uninstalled
 └─restricted to versions 17 by TimeZones [f269a46b] — no versions left
   └─TimeZones [f269a46b] log:
     ├─possible versions are: 1.20.0 or uninstalled
     └─TimeZones [f269a46b] is fixed to version 1.20.0

Originally, I encountered this failure when working on an update to Registrator.jl: JuliaRegistries/Registrator.jl#445

Registrator.jl issue
 ┌ Warning: Could not use exact versions of packages in manifest, re-resolving
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.7/Pkg/src/Operations.jl:1488
ERROR: LoadError: Unsatisfiable requirements detected for package TimeZones [f269a46b]:
 TimeZones [f269a46b] log:
 ├─possible versions are: 0.7.3-1.21.0 or uninstalled
 ├─restricted by compatibility requirements with Mocking [78c3b35d] to versions: 1.18.0-1.21.0 or uninstalled
 │ └─Mocking [78c3b35d] log:
 │   ├─possible versions are: 0.5.6-0.8.1 or uninstalled
 │   ├─restricted to versions 0.7-0.8 by Registrator [4418983a], leaving only versions 0.7.0-0.8.1
 │   │ └─Registrator [4418983a] log:
 │   │   ├─possible versions are: 1.9.3 or uninstalled
 │   │   └─Registrator [4418983a] is fixed to version 1.9.3
 │   └─restricted to versions 0.8 by an explicit requirement, leaving only versions 0.8.0-0.8.1
 ├─restricted by compatibility requirements with GitForge [8f6bce27] to versions: 1.0.0-1.21.0, leaving only versions: 1.18.0-1.21.0
 │ └─GitForge [8f6bce27] log:
 │   ├─possible versions are: 0.1.0-0.4.2 or uninstalled
 │   └─restricted to versions 0.4 by Registrator [4418983a], leaving only versions 0.4.0-0.4.2
 │     └─Registrator [4418983a] log: see above
 └─restricted by compatibility requirements with p7zip_jll [3f19e933] to versions: 0.7.3-1.11.0 or uninstalled — no versions left
   └─p7zip_jll [3f19e933] log:
     ├─possible versions are: 16.2.1 or uninstalled
     └─restricted by compatibility requirements with Pkg [44cfe95a] to versions: 16.2.1
       └─Pkg [44cfe95a] log:
         ├─possible versions are: 1.7.0 or uninstalled
         └─restricted to versions 1 by Registrator [4418983a], leaving only versions 1.7.0
           └─Registrator [4418983a] log: see above

https://github.com/JuliaRegistries/Registrator.jl/actions/runs/13138017302/job/36657983996?pr=445#step:6:20

@omus
Copy link
Member Author

omus commented Feb 4, 2025

The new CI job does catch the issue and is the only job to do so

@omus omus merged commit aae087d into master Feb 4, 2025
22 checks passed
@omus omus deleted the cv/p7zip_jll-compat branch February 4, 2025 17:12
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.

1 participant