Skip to content

julia: explain a <0.0.1 bound on a stdlib compat entry in the PR - #16308

Merged
v-robaiken merged 2 commits into
dependabot:mainfrom
IanButterworth:julia-stdlib-notice
Oct 8, 2026
Merged

v-robaiken merged 2 commits into
dependabot:mainfrom
IanButterworth:julia-stdlib-notice

Conversation

@IanButterworth

@IanButterworth IanButterworth commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

What are you trying to accomplish?

When a project's julia compat entry admits releases before 1.10, Dependabot adds <0.0.1 to the compat entry of each stdlib dependency it updates (#16229). Nothing in the PR says why, so it reads as a bug (Discourse thread).

The PR now carries one note, only when an update adds that bound:

Note

LinearAlgebra, Printf are standard libraries. Before Julia 1.10, Pkg.test() gave standard libraries version 0.0.0, so while the julia compat entry admits those releases, a stdlib compat entry needs <0.0.1 for tests to resolve. Raising the julia compat entry to 1.10 or later removes the need for it. See the stdlib compat PSA.

Entries that already had the bound, and other stdlib widenings, get no note.

Anything you want to highlight for special attention from reviewers?

One change outside julia/: Notice.markdown_mode mapped INFO to [!INFO], which GitHub does not render as an alert. No ecosystem showed an INFO notice in a PR before; it now maps to [!NOTE].

How will you know you've accomplished your goal?

New file updater specs cover a stdlib entry gaining the bound (one NOTE notice) and one that already had it (none). Locally julia/spec (349 examples), common/spec/dependabot/notice_spec.rb, rubocop and srb tc (no errors under julia/) pass.

Checklist

  • I have run the complete test suite to ensure all tests and linters pass.
  • I have thoroughly tested my code changes to ensure they work as expected, including adding additional tests for new functionality.
  • I have written clear and descriptive commit messages.
  • I have provided a detailed description of the changes in the pull request, including the problem it addresses, how it fixes the problem, and any relevant details about the implementation.
  • I have ensured that the code is well-documented and easy to understand.

When the project's `julia` compat entry admits releases before 1.10,
Dependabot gives each standard library's compat entry a `<0.0.1` bound,
because `Pkg.test()` on those releases gave stdlibs version 0.0.0
(dependabot#16229). Nothing in the PR said so, and users read it as a bug.

The file updater now adds one NOTE to the PR, naming each stdlib whose
entry gains the bound, saying why, and suggesting raising the `julia`
compat entry to 1.10 to drop it. It links the stdlib compat PSA.

`Notice.markdown_mode` mapped INFO to `[!INFO]`, which GitHub does not
render as an alert. No ecosystem showed an INFO notice in a PR before;
it now maps to `[!NOTE]`.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@IanButterworth IanButterworth changed the title julia: explain a stdlib compat entry in the PR julia: explain a <0.0.1 bound on a stdlib compat entry in the PR Oct 6, 2026
@IanButterworth
IanButterworth marked this pull request as ready for review October 6, 2026 13:27
@IanButterworth
IanButterworth requested a review from a team as a code owner October 6, 2026 13:27
@IanButterworth

Copy link
Copy Markdown
Contributor Author

@robaiken this should be ready to go.

@v-robaiken
v-robaiken merged commit 0286aa0 into dependabot:main Oct 8, 2026
159 of 160 checks passed
jonas-schulze added a commit to mpimd-csc/MORWiki.jl that referenced this pull request Oct 12, 2026
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