Compare commits

...

3 Commits

Author SHA1 Message Date
0429754e27 chore(deps): update dependency isort to v7
Some checks failed
renovate/artifacts Artifact file update failure
Enforce Conventional Commit PR Title / Validate PR Title (pull_request_target) Successful in 19s
CI / ci (pull_request) Failing after 1m29s
2025-10-13 14:52:31 +00:00
cdcc0825b4 fix(deps): update dependency astroid to v4 (#515)
All checks were successful
Security / Snyk (push) Successful in 1m20s
This PR contains the following updates:

| Package | Change | Age | Confidence |
|---|---|---|---|
| [astroid](https://github.com/pylint-dev/astroid) | `<=4.0.0` -> `<=4.0.1` | [![age](https://developer.mend.io/api/mc/badges/age/pypi/astroid/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/astroid/3.3.11/4.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>pylint-dev/astroid (astroid)</summary>

### [`v4.0.1`](https://github.com/pylint-dev/astroid/blob/HEAD/ChangeLog#Whats-New-in-astroid-401)

[Compare Source](https://github.com/pylint-dev/astroid/compare/v4.0.0...v4.0.1)

\============================
Release date: 2025-10-11

- Suppress `SyntaxWarning` for invalid escape sequences and return in finally on
  Python 3.14 when parsing modules.

- Assign `Import` and `ImportFrom` nodes to module locals if used with `global`.

  Closes [pylint-dev/pylint#10632](https://github.com/pylint-dev/pylint/issues/10632)

### [`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 [#&#8203;2643](https://github.com/pylint-dev/astroid/issues/2643)

- Fix crash when inferring namedtuple with invalid field name looking like f-string formatting.

  Closes [#&#8203;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 [#&#8203;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 [#&#8203;2521](https://github.com/pylint-dev/astroid/issues/2521)
  Closes [#&#8203;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 [#&#8203;2621](https://github.com/pylint-dev/astroid/issues/2621)

- Fix crash when typing.\_alias() call is missing arguments.

  Closes [#&#8203;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 [#&#8203;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 [#&#8203;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 [#&#8203;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 [#&#8203;2672](https://github.com/pylint-dev/astroid/issues/2672)

- Add basic support for `ast.TemplateStr` and `ast.Interpolation`added in Python 3.14.

  Refs [#&#8203;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 [#&#8203;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:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNDYuMCIsInVwZGF0ZWRJblZlciI6IjQxLjE0Ni4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: https://git.tainton.uk/repos/webexmemebot/pulls/515
Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk>
Co-committed-by: renovate[bot] <renovate-bot@git.tainton.uk>
2025-10-13 16:50:49 +02:00
da2158d7ce chore(deps): lock file maintenance (#517)
All checks were successful
Security / Snyk (push) Successful in 3m7s
This PR contains the following updates:

| Update | Change |
|---|---|
| lockFileMaintenance | All locks refreshed |

🔧 This Pull Request updates lock files to use the latest dependency versions.

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on monday" (UTC), 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.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNDYuMCIsInVwZGF0ZWRJblZlciI6IjQxLjE0Ni4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJ0eXBlL2RlcGVuZGVuY2llcyJdfQ==-->

Reviewed-on: #517
Co-authored-by: renovate[bot] <renovate-bot@git.tainton.uk>
Co-committed-by: renovate[bot] <renovate-bot@git.tainton.uk>
2025-10-13 16:42:49 +02:00
2 changed files with 15 additions and 15 deletions

View File

@@ -10,14 +10,14 @@ requires-python = ">=3.11.2"
dependencies = [
"webex-bot<1.1.0,>=1.0.3",
"pillow<12.0.0,>=11.0.0",
"astroid<=4.0.0",
"astroid<=4.0.1",
]
[tool.uv]
dev-dependencies = [
"black<25.9.1,>=25.9.0",
"coverage<8.0.0,>=7.6.10",
"isort<6.1.1,>=6.1.0",
"isort<7.0.1,>=7.0.0",
"pylint<4.0.0,>=3.3.2",
"pylint-exit<2.0.0,>=1.2.0",
"pytest<9.0.0,>=8.3.4",

26
uv.lock generated
View File

@@ -264,11 +264,11 @@ wheels = [
[[package]]
name = "filelock"
version = "3.19.1"
version = "3.20.0"
source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/40/bb/0ab3e58d22305b6f5440629d20683af28959bf793d98d11950e305c1c326/filelock-3.19.1.tar.gz", hash = "sha256:66eda1888b0171c998b35be2bcc0f6d75c388a7ce20c3f3f37aa8e96c2dddf58", size = 17687, upload-time = "2025-08-14T16:56:03.016Z" }
sdist = { url = "https://files.pythonhosted.org/packages/58/46/0028a82567109b5ef6e4d2a1f04a583fb513e6cf9527fcdd09afd817deeb/filelock-3.20.0.tar.gz", hash = "sha256:711e943b4ec6be42e1d4e6690b48dc175c822967466bb31c0c293f34334c13f4", size = 18922, upload-time = "2025-10-08T18:03:50.056Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/42/14/42b2651a2f46b022ccd948bca9f2d5af0fd8929c4eec235b8d6d844fbe67/filelock-3.19.1-py3-none-any.whl", hash = "sha256:d38e30481def20772f5baf097c122c3babc4fcdb7e14e57049eb9d88c6dc017d", size = 15988, upload-time = "2025-08-14T16:56:01.633Z" },
{ url = "https://files.pythonhosted.org/packages/76/91/7216b27286936c16f5b4d0c530087e4a54eead683e6b0b73dd0c64844af6/filelock-3.20.0-py3-none-any.whl", hash = "sha256:339b4732ffda5cd79b13f4e2711a31b0365ce445d95d243bb996273d072546a2", size = 16054, upload-time = "2025-10-08T18:03:48.35Z" },
]
[[package]]
@@ -294,11 +294,11 @@ wheels = [
[[package]]
name = "idna"
version = "3.10"
version = "3.11"
source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/f1/70/7703c29685631f5a7590aa73f1f1d3fa9a380e654b86af429e0934a32f7d/idna-3.10.tar.gz", hash = "sha256:12f65c9b470abda6dc35cf8e63cc574b1c52b11df2c86030af0ac09b01b13ea9", size = 190490, upload-time = "2024-09-15T18:07:39.745Z" }
sdist = { url = "https://files.pythonhosted.org/packages/6f/6d/0703ccc57f3a7233505399edb88de3cbd678da106337b9fcde432b65ed60/idna-3.11.tar.gz", hash = "sha256:795dafcc9c04ed0c1fb032c2aa73654d8e8c5023a7df64a53f39190ada629902", size = 194582, upload-time = "2025-10-12T14:55:20.501Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/76/c6/c88e154df9c4e1a2a66ccf0005a88dfb2650c1dffb6f5ce603dfbd452ce3/idna-3.10-py3-none-any.whl", hash = "sha256:946d195a0d259cbba61165e88e65941f16e9b36ea6ddb97f00452bae8b1287d3", size = 70442, upload-time = "2024-09-15T18:07:37.964Z" },
{ url = "https://files.pythonhosted.org/packages/0e/61/66938bbb5fc52dbdf84594873d5b51fb1f7c7794e9c0f5bd885f30bc507b/idna-3.11-py3-none-any.whl", hash = "sha256:771a87f49d9defaf64091e6e6fe9c18d4833f140bd19464795bc32d966ca37ea", size = 71008, upload-time = "2025-10-12T14:55:18.883Z" },
]
[[package]]
@@ -450,11 +450,11 @@ wheels = [
[[package]]
name = "platformdirs"
version = "4.4.0"
version = "4.5.0"
source = { registry = "https://pypi.org/simple" }
sdist = { url = "https://files.pythonhosted.org/packages/23/e8/21db9c9987b0e728855bd57bff6984f67952bea55d6f75e055c46b5383e8/platformdirs-4.4.0.tar.gz", hash = "sha256:ca753cf4d81dc309bc67b0ea38fd15dc97bc30ce419a7f58d13eb3bf14c4febf", size = 21634, upload-time = "2025-08-26T14:32:04.268Z" }
sdist = { url = "https://files.pythonhosted.org/packages/61/33/9611380c2bdb1225fdef633e2a9610622310fed35ab11dac9620972ee088/platformdirs-4.5.0.tar.gz", hash = "sha256:70ddccdd7c99fc5942e9fc25636a8b34d04c24b335100223152c2803e4063312", size = 21632, upload-time = "2025-10-08T17:44:48.791Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/40/4b/2028861e724d3bd36227adfa20d3fd24c3fc6d52032f4a93c133be5d17ce/platformdirs-4.4.0-py3-none-any.whl", hash = "sha256:abd01743f24e5287cd7a5db3752faf1a2d65353f38ec26d98e25a6db65958c85", size = 18654, upload-time = "2025-08-26T14:32:02.735Z" },
{ url = "https://files.pythonhosted.org/packages/73/cb/ac7874b3e5d58441674fb70742e6c374b28b0c7cb988d37d991cde47166c/platformdirs-4.5.0-py3-none-any.whl", hash = "sha256:e578a81bb873cbb89a41fcc904c7ef523cc18284b7e3b3ccf06aca1403b7ebd3", size = 18651, upload-time = "2025-10-08T17:44:47.223Z" },
]
[[package]]
@@ -663,16 +663,16 @@ wheels = [
[[package]]
name = "virtualenv"
version = "20.34.0"
version = "20.35.3"
source = { registry = "https://pypi.org/simple" }
dependencies = [
{ name = "distlib" },
{ name = "filelock" },
{ name = "platformdirs" },
]
sdist = { url = "https://files.pythonhosted.org/packages/1c/14/37fcdba2808a6c615681cd216fecae00413c9dab44fb2e57805ecf3eaee3/virtualenv-20.34.0.tar.gz", hash = "sha256:44815b2c9dee7ed86e387b842a84f20b93f7f417f95886ca1996a72a4138eb1a", size = 6003808, upload-time = "2025-08-13T14:24:07.464Z" }
sdist = { url = "https://files.pythonhosted.org/packages/a4/d5/b0ccd381d55c8f45d46f77df6ae59fbc23d19e901e2d523395598e5f4c93/virtualenv-20.35.3.tar.gz", hash = "sha256:4f1a845d131133bdff10590489610c98c168ff99dc75d6c96853801f7f67af44", size = 6002907, upload-time = "2025-10-10T21:23:33.178Z" }
wheels = [
{ url = "https://files.pythonhosted.org/packages/76/06/04c8e804f813cf972e3262f3f8584c232de64f0cde9f703b46cf53a45090/virtualenv-20.34.0-py3-none-any.whl", hash = "sha256:341f5afa7eee943e4984a9207c025feedd768baff6753cd660c857ceb3e36026", size = 5983279, upload-time = "2025-08-13T14:24:05.111Z" },
{ url = "https://files.pythonhosted.org/packages/27/73/d9a94da0e9d470a543c1b9d3ccbceb0f59455983088e727b8a1824ed90fb/virtualenv-20.35.3-py3-none-any.whl", hash = "sha256:63d106565078d8c8d0b206d48080f938a8b25361e19432d2c9db40d2899c810a", size = 5981061, upload-time = "2025-10-10T21:23:30.433Z" },
]
[[package]]
@@ -713,7 +713,7 @@ dev = [
[package.metadata]
requires-dist = [
{ name = "astroid", specifier = "<=4.0.0" },
{ name = "astroid", specifier = "<=4.0.1" },
{ name = "pillow", specifier = ">=11.0.0,<12.0.0" },
{ name = "webex-bot", specifier = ">=1.0.3,<1.1.0" },
]