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

chore(deps): update dependency griffe to v1 #10645

Merged
merged 7 commits into from
Jan 1, 2025
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 1, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
griffe (changelog) <1 -> <2 age adoption passing confidence

Release Notes

mkdocstrings/griffe (griffe)

v1.5.4

Compare Source

Compare with 1.5.3

Bug Fixes
  • Append trailing comma to length-1 tuples (4fccca7 by Timothée Mazzucotelli). Issue-343
Performance Improvements
  • Avoid dictionary creation when accessing members of non-classes with subscript syntax (0279998 by Timothée Mazzucotelli).

v1.5.3

Compare Source

Compare with 1.5.2

Code Refactoring
  • Stop caching objects' inherited members, aliases' members and inherited members, classes' resolved bases (e8db3a2 by Timothée Mazzucotelli). Issue-346

v1.5.2

Compare Source

Compare with 1.5.1

Bug Fixes
  • Always resolve aliases when checking APIs (0b4f0da by Timothée Mazzucotelli).
  • Don't use same branch name when creating a worktree (6d6c996 by Timothée Mazzucotelli). Issue-337
  • Fetch attribute annotations from inherited members too when parsing docstrings (88fb6b6 by Timothée Mazzucotelli). Issue-mkdocstrings/python#175

v1.5.1

Compare Source

Compare with 1.5.0

Bug Fixes
  • Sort Git tags using creatordate field, which works with both lightweight and annotated tags (3bfa401 by Timothée Mazzucotelli). Issue-327

v1.5.0

Compare Source

Compare with 1.4.1

Features
  • Allow setting and deleting parameters within container (19f354d by Timothée Mazzucotelli).

v1.4.1

Compare Source

Compare with 1.4.0

Code Refactoring
  • Drop support for Python 3.8 (f2d39b8 by Timothée Mazzucotelli).

v1.4.0

Compare Source

Compare with 1.3.2

Features
  • Add Markdown and GitHub output formats to the griffe check command (806805c by Timothée Mazzucotelli).

v1.3.2

Compare Source

Compare with 1.3.1

Bug Fixes
  • Normalize paths of temporary Git worktrees (0821e67 by Timothée Mazzucotelli). Issue-324

v1.3.1

Compare Source

Compare with 1.3.0

Bug Fixes
  • Refactor and fix logic again for fetching returns/yields/receives annotation from parents (a80bd3c by Timothée Mazzucotelli). Follow-up-of-PR-322
  • Don't crash on invalid signature given "Receives" section (1cb8f51 by Timothée Mazzucotelli).

v1.3.0

Compare Source

Compare with 1.2.0

Features
  • Allow deselecting multiple or named items in Yields and Receives (344df50 by Marco Ricci). Issue-263
Bug Fixes
  • Don't crash when trying to merge stubs into a compiled module that has no file path (e1f3ed9 by Timothée Mazzucotelli). Issue-323
  • Fix identity checks in inspector when handling attributes (676cfb4 by Timothée Mazzucotelli).
Code Refactoring
  • Extract common functionality in Returns, Yields and Receives parsing (c768356 by Marco Ricci). Issue-263
  • Remove useless branch in resolve method, add tests for it (aa6c7e4 by Timothée Mazzucotelli).

v1.2.0

Compare Source

Compare with 1.1.1

Features
  • Support attribute syntax in __all__ values (ad99794 by Timothée Mazzucotelli). Issue-316

v1.1.1

Compare Source

Compare with 1.1.0

Bug Fixes
  • Preemptively expand __all__ values and wildcard imports before firing the on_package_loaded event (21b3780 by Timothée Mazzucotelli).

v1.1.0

Compare Source

Compare with 1.0.0

Features
  • Add on_wildcard_expansion event (c6bc6fa by Timothée Mazzucotelli). Issue-282
  • Add on_alias event (a760a8c by Timothée Mazzucotelli). Issue-282
  • Pass loader to on_package_loaded hooks (7f82dc3 by Timothée Mazzucotelli).

v1.0.0

Compare Source

Compare with 0.49.0

V1! 🚀 🔥 🌈

Breaking changes

Highlights:

  • Extensions inherit from Extension, (VisitorExtension and InspectorExtension are removed)
  • Members are serialized (as_dict/JSON) as a dictionary instead of a list
  • All objects are available in the top-level griffe module, nowhere else

Removed objects:

  • all modules under the griffe package
  • the griffe.DocstringWarningCallable class
  • the griffe.When class
  • the griffe.ExtensionType type
  • the griffe.InspectorExtension class
  • the griffe.VisitorExtension class
  • the griffe.HybridExtension extension
  • the griffe.patch_logger function
  • the griffe.JSONEncoder.docstring_parser attribute
  • the griffe.JSONEncoder.docstring_options attribute
  • the griffe.Extensions.attach_visitor method
  • the griffe.Extensions.attach_inspector method
  • the griffe.Extensions.before_visit method
  • the griffe.Extensions.before_children_visit method
  • the griffe.Extensions.after_children_visit method
  • the griffe.Extensions.after_visit method
  • the griffe.Extensions.before_inspection method
  • the griffe.Extensions.before_children_inspection method
  • the griffe.Extensions.after_children_inspection method
  • the griffe.Extensions.after_inspection method
  • the griffe.GriffeLoader.load_module method
  • the has_special_name and has_private_name properties on objects
  • the is_explicitely_exported and is_implicitely_exported properties on objects
  • the member_is_exported method on objects

Renamed/moved objects:

  • griffe.Function.setter -> griffe.Attribute.setter
  • griffe.Function.deleter -> griffe.Attribute.deleter

Signatures:

  • griffe.docstring_warning(name) parameter was removed
  • griffe.GriffeLoader.load(module) parameter was removed
  • griffe.load(module) parameter was removed
  • griffe.load_git(module) parameter was removed
  • griffe.find_breaking_changes(ignore_private) parameter was removed
  • see previous deprecations
Code Refactoring

Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,every weekend,before 5am every weekday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Issues or PRs related to dependencies label Jan 1, 2025
@cpcloud cpcloud added this to the 10.0 milestone Jan 1, 2025
@cpcloud cpcloud added the docs Documentation related issues or PRs label Jan 1, 2025
@github-actions github-actions bot added the nix Issues or PRs related to nix label Jan 1, 2025
Copy link
Contributor Author

renovate bot commented Jan 1, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@cpcloud cpcloud added the docs-preview Add this label to trigger a docs preview label Jan 1, 2025
@ibis-docs-bot ibis-docs-bot bot removed the docs-preview Add this label to trigger a docs preview label Jan 1, 2025
@ibis-docs-bot
Copy link

ibis-docs-bot bot commented Jan 1, 2025

@cpcloud
Copy link
Member

cpcloud commented Jan 1, 2025

Spot checked the API docs (the thing that depends on griffe) and everything looks good.

@cpcloud cpcloud enabled auto-merge (squash) January 1, 2025 14:05
@cpcloud cpcloud merged commit 8bc6ecb into main Jan 1, 2025
91 checks passed
@cpcloud cpcloud deleted the renovate/griffe-1.x branch January 1, 2025 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Issues or PRs related to dependencies docs Documentation related issues or PRs nix Issues or PRs related to nix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant