Skip to content

chore(deps): bump pyan3 from 2.8.1 to 2.9.0 in /ci/requirements in the ci-requirements group - #5241

Merged
squid-protocol merged 1 commit into
mainfrom
dependabot/pip/ci/requirements/ci-requirements-78a3f1f1e5
Oct 16, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
dependabot/pip/ci/requirements/ci-requirements-78a3f1f1e5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 16, 2026

Copy link
Copy Markdown
Contributor

Bumps the ci-requirements group in /ci/requirements with 1 update: pyan3.

Updates pyan3 from 2.8.1 to 2.9.0

Release notes

Sourced from pyan3's releases.

v2.9.0 — Toponymy

Changed

  • A file Python would not compile is now left out with a warning, instead of aborting the whole run.
    • The warning names the file and line, and the rest of the files are analyzed as usual.
    • Besides syntax errors, this covers scoping errors such as a nonlocal after an assignment, which code using syntactic macros can contain before expansion.
    • --module-level skips only what does not parse, since it does not check scopes.

Fixed

  • Calls and names inside an assignment target are now recorded as uses.

    • In table[slot()] = 1 and make().attr = 2, the calls to slot and make were missing from the graph, as was the read of table.
  • Lambdas and comprehensions are now always analyzed in their own scopes (#142).

    • Wherever pyan met two lambdas in a different order than Python does, they could trade scopes. A nested lambda then aborted the run with ValueError: Unknown scope, as in the reported x.do(lambda: ...).do(lambda a: a.do(lambda: ...)).
    • Affected: method chains, assignments with a lambda on both sides of the =, a lambda among a function's defaults and another in its decorator, a lambda default of a lambda, and lambdas in annotations and class bases.
    • Without a nested lambda nothing crashed, but on Python 3.12+ a lambda following a comprehension that held one could share that lambda's scope, and pick up its parameters.
Changelog

Sourced from pyan3's changelog.

2.9.0 (6 October 2026) — Toponymy

Changed

  • A file Python would not compile is now left out with a warning, instead of aborting the whole run.
    • The warning names the file and line, and the rest of the files are analyzed as usual.
    • Besides syntax errors, this covers scoping errors such as a nonlocal after an assignment, which code using syntactic macros can contain before expansion.
    • --module-level skips only what does not parse, since it does not check scopes.

Fixed

  • Calls and names inside an assignment target are now recorded as uses.

    • In table[slot()] = 1 and make().attr = 2, the calls to slot and make were missing from the graph, as was the read of table.
  • Lambdas and comprehensions are now always analyzed in their own scopes (#142).

    • Wherever pyan met two lambdas in a different order than Python does, they could trade scopes. A nested lambda then aborted the run with ValueError: Unknown scope, as in the reported x.do(lambda: ...).do(lambda a: a.do(lambda: ...)).
    • Affected: method chains, assignments with a lambda on both sides of the =, a lambda among a function's defaults and another in its decorator, a lambda default of a lambda, and lambdas in annotations and class bases.
    • Without a nested lambda nothing crashed, but on Python 3.12+ a lambda following a comprehension that held one could share that lambda's scope, and pick up its parameters.

Commits
  • 8e8bd90 Release 2.9.0 — Toponymy
  • fa1d6f2 TODO_DEFERRED: init re-exports use the sanctioned per-file F401 ignore
  • 0572dcf Defer a look at ruff's blanket F401 ignore
  • 05036d4 Word the canary's command comment for any project, as in Raven's copy
  • 6eb473e Run the canary's pycodestyle with this interpreter
  • 537779e Check continuation-line indentation in CI, with a canary
  • 1de80c7 Indent two multi-line conditions past the body they guard
  • 1ecc493 Visit the expressions inside an assignment target
  • fd25323 Drop two unused imports and two extra blank lines
  • e650048 Leave out a file Python would not compile, with a warning
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the ci-requirements group in /ci/requirements with 1 update: [pyan3](https://github.com/Technologicat/pyan).


Updates `pyan3` from 2.8.1 to 2.9.0
- [Release notes](https://github.com/Technologicat/pyan/releases)
- [Changelog](https://github.com/Technologicat/pyan/blob/master/CHANGELOG.md)
- [Commits](Technologicat/pyan@v2.8.1...v2.9.0)

---
updated-dependencies:
- dependency-name: pyan3
  dependency-version: 2.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: ci-requirements
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot
dependabot Bot requested a review from squid-protocol as a code owner October 16, 2026 10:24
@dependabot dependabot Bot added the python Python-specific runtime or environment optimizations label Oct 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🐦‍⬛ Muninn Security Scan

✅ No security issues found.

🐦‍⬛ Powered by Muninn · Skald Lab

@squid-protocol
squid-protocol merged commit c8b9856 into main Oct 16, 2026
31 checks passed
@squid-protocol
squid-protocol deleted the dependabot/pip/ci/requirements/ci-requirements-78a3f1f1e5 branch October 16, 2026 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Python-specific runtime or environment optimizations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant