Skip to content

chore(deps-dev): bump mypy from 2.1.0 to 2.2.0 - #547

Merged
docktermj merged 1 commit into
mainfrom
dependabot/pip/mypy-2.2.0
Jul 29, 2026
Merged

chore(deps-dev): bump mypy from 2.1.0 to 2.2.0#547
docktermj merged 1 commit into
mainfrom
dependabot/pip/mypy-2.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 29, 2026

Copy link
Copy Markdown
Contributor

Bumps mypy from 2.1.0 to 2.2.0.

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next Release

Packaging changes

Mypy 2.3

We've just uploaded mypy 2.3.0 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:

python3 -m pip install -U mypy

You can read the full documentation for this release on Read the Docs.

The Upcoming Switch to the New Native Parser

We are planning to enable the new native parser (--native-parser) by default soon. We recommend that you test the native parser in your projects and report any issues in the mypy issue tracker.

Mypyc Free-threading Memory Safety

Free-threaded Python builds that don't have the GIL require additional synchronization primitives or lock-free algorithms to ensure memory safety when there are race conditions (for example, when a thread reads a list item while another thread writes the same list item concurrently). This release greatly improves memory safety of free threading.

List operations are now memory-safe on free threaded Python builds, even in the presence of race conditions. This has some performance cost. For list-heavy workloads, using librt.vecs.vec instead of list is often significantly faster, but note that vec is not (and likely won't be) fully memory safe, and the user is expected to avoid race conditions. The newly introduced librt.threading.Lock helps with this. Using variable-length tuples can also be more efficient than lists, since tuples are immutable and don't require expensive synchronization to ensure memory safety.

Instance attribute access is also (mostly) memory safe now on free-threaded builds in the presence of race conditions. We are planning to fix the remaining unsafe cases in a future release.

Full list of changes:

  • Make attribute access memory safe on free-threaded builds (Jukka Lehtosalo, PR 21705)
  • Fix unsafe borrowing of instance attributes with free-threading (Jukka Lehtosalo, PR 21688)
  • Make list get/set item more memory safe on free-threaded builds (Jukka Lehtosalo, PR 21683)
  • Don't borrow list items on free-threaded builds (Jukka Lehtosalo, PR 21679)
  • Make multiple assignment from list memory-safe on free-threaded builds (Jukka Lehtosalo, PR 21684)

... (truncated)

Commits

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mypy](https://github.com/python/mypy) from 2.1.0 to 2.2.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-version: 2.2.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Python programming language labels Jul 29, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner July 29, 2026 01:42
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Python programming language labels Jul 29, 2026
@github-actions

Copy link
Copy Markdown

🤖 Claude Code Review

PR Code Review — mypy 2.1.0 → 2.2.0 dependency bump

This is a minimal, automated (dependabot-style) dependency bump touching a single line in pyproject.toml. Reviewing against the checklist:

Code Quality

  • Style conventions: Single-line version pin change in pyproject.toml:76, consistent with the pinned-version style used throughout the lint extras block (lines 73-79).
  • No commented-out code
  • Meaningful variable names — N/A, no code changed
  • DRY — N/A
  • Defects: No logic changes, no runtime code touched. Risk is limited to whether mypy 2.2.0 surfaces new type errors under --strict in this codebase (not verifiable from the diff alone — would need make mypy run against the full source tree, which requires the dev environment).
  • .claude/CLAUDE.md project config: Not touched by this PR. The existing file (reviewed for context) is general-purpose guidance (build/test/lint commands, architecture overview) and contains nothing environment-specific to a particular developer's machine.

Testing

  • N/A — no functional code change; nothing to unit/integration test. Existing CI lint job (make mypy) will validate the new version against the codebase.

Documentation

  • N/A — no README/API/CHANGELOG-relevant change. (Note: this repo doesn't appear to require CHANGELOG entries for dependency-only bumps based on recent commit history, e.g. 35ed764, a8beea2.)

Security

  • ✅ No hardcoded credentials
  • ✅ No input validation concerns
  • ✅ No error handling concerns
  • ✅ No sensitive data in logs
  • License files: No .lic files or AQAAAD-prefixed content introduced in this diff. (Aside: testdata/senzing-license/g2.lic exists in the repo but predates this PR by several commits — not part of this change, flagging only for awareness, not as a new issue.)

Summary

No blocking issues. This is a low-risk, mechanical version bump. Confirm CI's make mypy / make lint pass cleanly under 2.2.0 before merging — that's the only real verification this PR needs.

Automated code review analyzing defects and coding standards

@github-actions

Copy link
Copy Markdown

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  src/senzing
  szengineflags.py
  szerror.py
Project Total  

This report was generated by python-coverage-comment-action

@docktermj
docktermj merged commit e398854 into main Jul 29, 2026
61 checks passed
@docktermj
docktermj deleted the dependabot/pip/mypy-2.2.0 branch July 29, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Python programming language

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants