Skip to content

Replace CompatHelper with Dependabot for Julia compat updates - #357

Open
andreasnoack wants to merge 2 commits into
masterfrom
an/dependabot-julia
Open

andreasnoack wants to merge 2 commits into
masterfrom
an/dependabot-julia

Conversation

@andreasnoack

Copy link
Copy Markdown
Member

Dependabot now supports the julia package ecosystem, so this replaces the CompatHelper workflow with a Dependabot entry, the same way as was done in JuliaStats/Distributions.jl#2109.

  • Delete .github/workflows/CompatHelper.yml.
  • Add a julia entry to .github/dependabot.yml (daily, with all Julia package updates grouped into a single PR). The existing github-actions entry is unchanged.
  • Add a [workspace] section with projects = ["docs"] to Project.toml, so that Pkg (on Julia 1.12+) and Dependabot resolve the package and the docs environment together. Dependabot then only needs the root directory. Older Julia versions ignore the section, so the docs workflow (Julia 1.8) is unaffected.

The open CompatHelper PR #340 can be closed once this is merged.

This pull request was written by generative AI (Claude).

Dependabot now supports the `julia` package ecosystem, so use it to keep
the `[compat]` entries of `Project.toml` and `docs/Project.toml` up to
date instead of the CompatHelper workflow. Updates are grouped into a
single PR, mirroring the setup in Distributions.jl.

Add a `[workspace]` section listing `docs` so that Pkg (on Julia 1.12+)
and Dependabot resolve the package and the docs environment together.
Dependabot then only needs the root directory. Older Julia versions
ignore the section.
With the docs workspace, the test environment on Julia 1.12+ resolves
InlineStrings 2, which WeakRefStrings 1.4 does not allow. The resolver
then falls back to WeakRefStrings 1.3, which uses the removed
`Base.memhash_seed` and errors on current Julia. Allow WeakRefStrings 2
and exclude the releases before 1.4.

This branch has not been deployed

No deployments
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.

2 participants