fix(deps): update dependency astroid to <=4.1.0 (#559)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [astroid](https://github.com/pylint-dev/astroid) | `<=4.0.3` → `<=4.1.0` |  |  | --- ### Release Notes <details> <summary>pylint-dev/astroid (astroid)</summary> ### [`v4.1.0`](https://github.com/pylint-dev/astroid/blob/HEAD/ChangeLog#Whats-New-in-astroid-410) [Compare Source](https://github.com/pylint-dev/astroid/compare/v4.0.4...v4.1.0) \============================ Release date: 2026-02-08 - Add support for equality constraints (`==`, `!=`) in inference. Closes [pylint-dev/pylint#3632](https://github.com/pylint-dev/pylint/issues/3632) Closes [pylint-dev/pylint#3633](https://github.com/pylint-dev/pylint/issues/3633) - Ensure `ast.JoinedStr` nodes are `Uninferable` when the `ast.FormattedValue` is `Uninferable`. This prevents `unexpected-keyword-arg` messages in Pylint where the `Uninferable` string appeared in function arguments that were constructed dynamically. Closes [pylint-dev/pylint#10822](https://github.com/pylint-dev/pylint/issues/10822) - Add support for type constraints (`isinstance(x, y)`) in inference. Closes [pylint-dev/pylint#1162](https://github.com/pylint-dev/pylint/issues/1162) Closes [pylint-dev/pylint#4635](https://github.com/pylint-dev/pylint/issues/4635) Closes [pylint-dev/pylint#10469](https://github.com/pylint-dev/pylint/issues/10469) - Make `type.__new__()` raise clear errors instead of returning `None` - Move object dunder methods from `FunctionModel` to `ObjectModel` to make them available on all object types, not just functions. Closes [#​2742](https://github.com/pylint-dev/astroid/issues/2742) Closes [#​2741](https://github.com/pylint-dev/astroid/issues/2741) Closes [pylint-dev/pylint#6094](https://github.com/pylint-dev/pylint/issues/6094) - `lineno` and `end_lineno` are now available on `Arguments`. - Add helper to iterate over all annotations nodes of function arguments, `Arguments.get_annotations()`. Refs [#​2860](https://github.com/pylint-dev/astroid/issues/2860) - Skip direct parent when determining the `Decorator` frame. Refs [pylint-dev/pylint#8425](https://github.com/pylint-dev/pylint/issues/8425) - Add simple command line interface for astroid to output generated AST. Use with `python -m astroid`. - Fix incorrect type inference for `super().method()` calls that return `Self`. Previously, astroid would infer the parent class type instead of the child class type, causing pylint E1101 false positives in method chaining scenarios. Closes [#​457](https://github.com/pylint-dev/astroid/issues/457) - Add missing `dtype` and `casting` parameters to `numpy.concatenate` brain. Closes [#​2870](https://github.com/pylint-dev/astroid/issues/2870) - Fix ability to detect .py modules inside PATH directories on Windows described by a UNC path with a trailing backslash (`\`) - Example: modutils.modpath\_from\_file(filename=r"\Mac\Code\tests\test\_resources.py", path=\["\mac\code"]) == \['tests', 'test\_resources'] - Fix `random.sample` inference crash when sequence contains uninferable elements. Closes [#​2518](https://github.com/pylint-dev/astroid/issues/2518) - Fix `random.sample` crash when cloning `ClassDef` or `FunctionDef` nodes. Closes [#​2923](https://github.com/pylint-dev/astroid/issues/2923) ### [`v4.0.4`](https://github.com/pylint-dev/astroid/blob/HEAD/ChangeLog#Whats-New-in-astroid-404) [Compare Source](https://github.com/pylint-dev/astroid/compare/v4.0.3...v4.0.4) \============================ Release date: 2026-02-07 - Fix `is_namespace()` crash when search locations contain `pathlib.Path` objects. Closes [#​2942](https://github.com/pylint-dev/astroid/issues/2942) </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:eyJjcmVhdGVkSW5WZXIiOiI0My4xNS4wIiwidXBkYXRlZEluVmVyIjoiNDMuMTUuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsidHlwZS9kZXBlbmRlbmNpZXMiXX0=--> Reviewed-on: https://git.tainton.uk/repos/webexmemebot/pulls/559 Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk> Co-committed-by: renovate[bot] <renovate-bot@git.tainton.uk>
This commit was merged in pull request #559.
This commit is contained in:
@@ -10,7 +10,7 @@ requires-python = "<3.14,>=3.11"
|
|||||||
dependencies = [
|
dependencies = [
|
||||||
"webex-bot<1.2.1,>=1.2.0",
|
"webex-bot<1.2.1,>=1.2.0",
|
||||||
"pillow<12.1.2,>=12.1.1",
|
"pillow<12.1.2,>=12.1.1",
|
||||||
"astroid<=4.0.3",
|
"astroid<=4.1.0",
|
||||||
]
|
]
|
||||||
|
|
||||||
[dependency-groups]
|
[dependency-groups]
|
||||||
|
|||||||
8
uv.lock
generated
8
uv.lock
generated
@@ -8,11 +8,11 @@ resolution-markers = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "astroid"
|
name = "astroid"
|
||||||
version = "4.0.3"
|
version = "4.0.4"
|
||||||
source = { registry = "https://pypi.org/simple" }
|
source = { registry = "https://pypi.org/simple" }
|
||||||
sdist = { url = "https://files.pythonhosted.org/packages/a1/ca/c17d0f83016532a1ad87d1de96837164c99d47a3b6bbba28bd597c25b37a/astroid-4.0.3.tar.gz", hash = "sha256:08d1de40d251cc3dc4a7a12726721d475ac189e4e583d596ece7422bc176bda3", size = 406224, upload-time = "2026-01-03T22:14:26.096Z" }
|
sdist = { url = "https://files.pythonhosted.org/packages/07/63/0adf26577da5eff6eb7a177876c1cfa213856be9926a000f65c4add9692b/astroid-4.0.4.tar.gz", hash = "sha256:986fed8bcf79fb82c78b18a53352a0b287a73817d6dbcfba3162da36667c49a0", size = 406358, upload-time = "2026-02-07T23:35:07.509Z" }
|
||||||
wheels = [
|
wheels = [
|
||||||
{ url = "https://files.pythonhosted.org/packages/ce/66/686ac4fc6ef48f5bacde625adac698f41d5316a9753c2b20bb0931c9d4e2/astroid-4.0.3-py3-none-any.whl", hash = "sha256:864a0a34af1bd70e1049ba1e61cee843a7252c826d97825fcee9b2fcbd9e1b14", size = 276443, upload-time = "2026-01-03T22:14:24.412Z" },
|
{ url = "https://files.pythonhosted.org/packages/b0/cf/1c5f42b110e57bc5502eb80dbc3b03d256926062519224835ef08134f1f9/astroid-4.0.4-py3-none-any.whl", hash = "sha256:52f39653876c7dec3e3afd4c2696920e05c83832b9737afc21928f2d2eb7a753", size = 276445, upload-time = "2026-02-07T23:35:05.344Z" },
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@@ -682,7 +682,7 @@ dev = [
|
|||||||
|
|
||||||
[package.metadata]
|
[package.metadata]
|
||||||
requires-dist = [
|
requires-dist = [
|
||||||
{ name = "astroid", specifier = "<=4.0.3" },
|
{ name = "astroid", specifier = "<=4.1.0" },
|
||||||
{ name = "pillow", specifier = ">=12.1.1,<12.1.2" },
|
{ name = "pillow", specifier = ">=12.1.1,<12.1.2" },
|
||||||
{ name = "webex-bot", specifier = ">=1.2.0,<1.2.1" },
|
{ name = "webex-bot", specifier = ">=1.2.0,<1.2.1" },
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user