fix(deps): update dependency astroid to v4 (#511)
All checks were successful
Security / Snyk (push) Successful in 24m7s
All checks were successful
Security / Snyk (push) Successful in 24m7s
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [astroid](https://github.com/pylint-dev/astroid) | `<=3.3.11` -> `<=4.0.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>pylint-dev/astroid (astroid)</summary> ### [`v4.0.0`](https://github.com/pylint-dev/astroid/blob/HEAD/ChangeLog#Whats-New-in-astroid-400) [Compare Source](https://github.com/pylint-dev/astroid/compare/v3.3.11...v4.0.0) \============================ Release date: 2025-10-05 - Support constraints from ternary expressions in inference. Closes [pylint-dev/pylint#9729](https://github.com/pylint-dev/pylint/issues/9729) - Handle deprecated `bool(NotImplemented)` cast in const nodes. - Add support for boolean truthiness constraints (`x`, `not x`) in inference. Closes [pylint-dev/pylint#9515](https://github.com/pylint-dev/pylint/issues/9515) - Fix false positive `invalid-name` on `attrs` classes with `ClassVar` annotated variables. Closes [pylint-dev/pylint#10525](https://github.com/pylint-dev/pylint/issues/10525) - Prevent crash when parsing deeply nested parentheses causing MemoryError in python's built-in ast. Closes [#​2643](https://github.com/pylint-dev/astroid/issues/2643) - Fix crash when inferring namedtuple with invalid field name looking like f-string formatting. Closes [#​2519](https://github.com/pylint-dev/astroid/issues/2519) - Fix false positive no-member in except \* handler. Closes [pylint-dev/pylint#9056](https://github.com/pylint-dev/pylint/issues/9056) - Fix crash when comparing invalid dict literal Closes [#​2522](https://github.com/pylint-dev/astroid/issues/2522) - Removed internal functions `infer_numpy_member`, `name_looks_like_numpy_member`, and `attribute_looks_like_numpy_member` from `astroid.brain.brain_numpy_utils`. - To alleviate circular imports, the `manager` argument to `AstroidBuilder()` is now required. - Constants now have a parent of `nodes.SYNTHETIC_ROOT`. - Fix crashes with large positive and negative list multipliers. Closes [#​2521](https://github.com/pylint-dev/astroid/issues/2521) Closes [#​2523](https://github.com/pylint-dev/astroid/issues/2523) - Fix precedence of `path` arg in `modpath_from_file_with_callback` to be higher than `sys.path` - Following a deprecation period, the `future` argument was removed from `statement()` and `frame()`. - Improve consistency of `JoinedStr` inference by not raising `InferenceError` and returning either `Uninferable` or a fully resolved `Const`. Closes [#​2621](https://github.com/pylint-dev/astroid/issues/2621) - Fix crash when typing.\_alias() call is missing arguments. Closes [#​2513](https://github.com/pylint-dev/astroid/issues/2513) - Remove support for Python 3.9 (and constant `PY310_PLUS`). - Include subclasses of standard property classes as `property` decorators Closes [#​10377](https://github.com/pylint-dev/astroid/issues/10377) - Modify `astroid.bases` and `tests.test_nodes` to reflect that `enum.property` was added in Python 3.11, not 3.10 - Fix incorrect result in `_get_relative_base_path` when the target directory name starts with the base path Closes [#​2608](https://github.com/pylint-dev/astroid/issues/2608) - The brain for nose was dropped. nose has been deprecated for 10 years and the brain required some maintenance. Refs [#​2765](https://github.com/pylint-dev/astroid/issues/2765) - Fix a crash when the root of a node is not a module but is unknown. Closes [#​2672](https://github.com/pylint-dev/astroid/issues/2672) - Add basic support for `ast.TemplateStr` and `ast.Interpolation`added in Python 3.14. Refs [#​2789](https://github.com/pylint-dev/astroid/issues/2789) - Add support for type parameter defaults added in Python 3.13. - Improve `as_string()` representation for `TypeVar`, `ParamSpec` and `TypeVarTuple` nodes, as well as type parameter in `ClassDef`, `FuncDef` and `TypeAlias` nodes (PEP 695). - Astroid now correctly supports the `exceptions` attribute of `ExceptionGroup`. Closes [pylint-dev/pylint#8985](https://github.com/pylint-dev/pylint/issues/8985) Closes [pylint-dev/pylint#10558](https://github.com/pylint-dev/pylint/issues/10558) - Deprecate importing node classes from `astroid` directly. This will be removed in v5. It's recommended to import them from `astroid.nodes` instead. Refs [#​2837](https://github.com/pylint-dev/astroid/issues/2837) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xMzUuNCIsInVwZGF0ZWRJblZlciI6IjQxLjEzNS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==--> Reviewed-on: https://git.tainton.uk/repos/webexmemebot/pulls/511 Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk> Co-committed-by: renovate[bot] <renovate-bot@git.tainton.uk>
This commit is contained in:
Reference in New Issue
Block a user