Skip to content

Update mkdocs-ultralytics-plugin requirement from >=0.0.34 to >=0.2.4#13755

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/mkdocs-ultralytics-plugin-gte-0.2.4
Closed

Update mkdocs-ultralytics-plugin requirement from >=0.0.34 to >=0.2.4#13755
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/mkdocs-ultralytics-plugin-gte-0.2.4

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 27, 2026

Updates the requirements on mkdocs-ultralytics-plugin to permit the latest version.

Release notes

Sourced from mkdocs-ultralytics-plugin's releases.

v0.2.4 - Fix race condition on GitHub authors (#177)

🌟 Summary

v0.2.4 makes the MkDocs Ultralytics plugin more reliable and stable by fixing a GitHub author resolution race condition and modernizing the CI workflow dependencies. 🧱✨


📊 Key Changes

  • 🧵 Race-condition fix for GitHub authors (PR #177 by @​glenn-jocher)

    • GitHub author info is now resolved once in the main process via resolve_all_authors() before any multiprocessing begins.
    • Worker processes now only read precomputed author data from git_data—they no longer write to the author cache.
    • The previous global, thread-locked cache has been replaced with a clear load / resolve / save flow using:
      • load_author_cache()
      • resolve_github_user() / resolve_all_authors()
      • save_author_cache()
    • processor.get_git_info() and process_html() are simplified: they no longer accept default_author and repo-specific author parameters, and now just read pre-resolved authors.
  • 💾 Safer and more robust author caching logic

    • Author cache is stored in a single YAML file: mkdocs_github_authors.yaml.
    • Cache is now updated once per run in the main process, avoiding concurrent writes and file corruption.
    • A new helper get_default_avatar() lazily fetches and caches the GitHub default avatar URL, with timeouts and fallbacks for network errors.
  • 🌐 More resilient GitHub API calls

    • All GitHub-related HTTP calls now use a fixed timeout to prevent hangs.
    • Graceful fallbacks:
      • If avatar resolution fails, the plugin falls back to a safe default avatar URL.
      • If GitHub user lookup fails, authors are still rendered with sensible defaults (e.g., repo URL instead of profile URL).
  • 🧹 Codebase cleanup and simplification

    • Utility functions simplified and tightened:
      • get_youtube_video_ids() signature and docstring streamlined.
    • get_git_info() now clearly:
      • Uses precomputed creation_date and last_modified_date.
      • Reads authors directly from the already-resolved git_data.
  • ⚙️ CI workflow updates for GitHub Actions

    • actions/checkout upgraded from v5 → v6.
    • actions/upload-artifact upgraded from v5 → v6.
    • actions/download-artifact upgraded from v6 → v7.
    • These updates move the workflows to Node.js 24–based actions, keeping the release pipeline modern and compatible with the latest GitHub infrastructure.

🎯 Purpose & Impact

  • 🚫 Eliminates intermittent build failures

    • The previous design allowed multiple parallel workers to write to mkdocs_github_authors.yaml at the same time, causing race conditions and occasional cache corruption.
    • By resolving authors once in the main process and making workers read-only, v0.2.4 removes this entire class of errors.
  • More reliable documentation builds

... (truncated)

Commits
  • 3cdfd50 Fix race condition on GitHub authors (#177)
  • a4c3f49 Bump actions/upload-artifact from 5 to 6 in /.github/workflows (#175)
  • d103755 Bump actions/download-artifact from 6 to 7 in /.github/workflows (#176)
  • c662101 Bump actions/checkout from 5 to 6 in /.github/workflows (#174)
  • 3dd54b3 Add parallel postprocess (#173)
  • dcbd0d4 Single git call for authors and dates (#172)
  • b42d527 Issue templates (#171)
  • 5f5c9f4 Improve meta image selection (#170)
  • 4b1b534 New postprocess.py standalone route (#169)
  • 73f8869 Bump actions/upload-artifact from 4 to 5 in /.github/workflows (#166)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [mkdocs-ultralytics-plugin](https://github.com/ultralytics/mkdocs) to permit the latest version.
- [Release notes](https://github.com/ultralytics/mkdocs/releases)
- [Commits](ultralytics/mkdocs@v0.0.34...v0.2.4)

---
updated-dependencies:
- dependency-name: mkdocs-ultralytics-plugin
  dependency-version: 0.2.4
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Dependencies and packages label Apr 27, 2026
@glenn-jocher
Copy link
Copy Markdown
Member

@dependabot ignore this dependency

@dependabot dependabot Bot closed this Apr 27, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 27, 2026

OK, I won't notify you about mkdocs-ultralytics-plugin again, unless you re-open this PR.

@dependabot dependabot Bot deleted the dependabot/pip/mkdocs-ultralytics-plugin-gte-0.2.4 branch April 27, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependencies and packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant