Skip to content

Conversation

@KristofferC
Copy link
Member

@KristofferC KristofferC commented Nov 5, 2025

Allows Pkg to natively use julia_version. Good for CLI App Pkg.

Uses the compressed format in JuliaPackaging/HistoricalStdlibVersions.jl#52

julia> Pkg.add(["NetworkOptions", "GMP_jll"]; julia_version = v"1.2")
     Context Pkg is operating with julia_version set to `1.2.0`
   Resolving package versions...
    Updating `/private/var/folders/2c/rk2fkhgn6c35lr6qp7cll4t00000gn/T/jl_I93MZf/Project.toml`
  [ca575930] + NetworkOptions v1.2.0 [loaded: v1.3.0]
  [781609d7] + GMP_jll v6.1.2+6
    Updating `/private/var/folders/2c/rk2fkhgn6c35lr6qp7cll4t00000gn/T/jl_I93MZf/Manifest.toml`
  [692b3bcd] + JLLWrappers v1.7.1
  [21216c6a] + Preferences v1.5.0
  [56f22d72] + Artifacts v1.3.0 [loaded: v1.11.0]

If you want to use a julia version later than what we know about, you need HistoricalStdlibVersions.jl.

@github-project-automation github-project-automation bot moved this to New in Pkg.jl Nov 5, 2025
@KristofferC KristofferC marked this pull request as draft November 5, 2025 21:03
@KristofferC KristofferC marked this pull request as ready for review November 7, 2025 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

1 participant