Skip to content

build(deps-dev): update mypy requirement from >=1.11 to >=2.1.0 - #64

Merged
accesswatch merged 1 commit into
mainfrom
dependabot/pip/mypy-gte-2.1.0
May 31, 2026
Merged

build(deps-dev): update mypy requirement from >=1.11 to >=2.1.0#64
accesswatch merged 1 commit into
mainfrom
dependabot/pip/mypy-gte-2.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 31, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on mypy to permit the latest version.

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next Release

Mypy 2.1

We’ve just uploaded mypy 2.1.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.

librt.vecs: Fast Growable Array Type for Mypyc

The new librt.vecs module provides an efficient growable array type vec that is optimized for mypyc use. It provides fast, packed arrays with integer and floating point value types, which can be several times faster than list, and tens of times faster than array.array in code compiled using mypyc. It also supports nested vec objects and non-value-type items, such as vec[vec[str]].

Refer to the documentation for the details.

Contributed by Jukka Lehtosalo.

librt.random: Fast Pseudo-Random Number Generation

The new librt.random module provides fast pseudo-random number generation that is optimized for code compiled using mypyc. It can be 3x to 10x faster than the stdlib random module in compiled code.

Refer to the documentation for the details.

Contributed by Jukka Lehtosalo (PR 21433).

Mypyc Improvements

  • Enable incremental self-compilation (Vaggelis Danias, PR 21369)
  • Make compilation order with multiple files consistent (Piotr Sawicki, PR 21419)
  • Fix crash on accessing StopAsyncIteration (Piotr Sawicki, PR 21406)
  • Fix incremental compilation with separate flag (Vaggelis Danias, PR 21299)

Fixes to Crashes

  • Fix crash on partial type with --allow-redefinition and global declaration (Jukka Lehtosalo, PR 21428)
  • Fix broken awaitable generator patching (Ivan Levkivskyi, PR 21435)

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Dependency and supply-chain updates. security Security hardening and vulnerability-related work. labels May 31, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/mypy-gte-2.1.0 branch from 95edfc9 to ab305ec Compare May 31, 2026 19:49
Updates the requirements on [mypy](https://github.com/python/mypy) to permit the latest version.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v1.11...v2.1.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-version: 2.1.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/mypy-gte-2.1.0 branch from ab305ec to 87b943d Compare May 31, 2026 19:53
@accesswatch
accesswatch merged commit c74af38 into main May 31, 2026
1 of 3 checks passed
@dependabot
dependabot Bot deleted the dependabot/pip/mypy-gte-2.1.0 branch May 31, 2026 20:01
accesswatch added a commit that referenced this pull request Jul 10, 2026
…chord (#935)

Five more no-Mac-hardware-safe fixes from the macOS platform review
(docs/planning/review.md), worked lowest-to-highest priority:

- #46: MathCAT is no longer offered on macOS — like DECtalk, its only
  backend is a Windows .dll (libmathcat_c.dll); gated Windows-only in the
  optional-components catalog alongside DECtalk (pure platform-branch
  relocation; no new public surface).
- #60/#73: the macOS `security` CLI passes the keychain secret as
  `-w <secret>` in separate argv, and a short/non-hex secret slipped past
  the per-arg redaction into the diagnostics log; format_args_for_log now
  redacts the value following `-w` explicitly before the generic per-arg
  pass.
- #38 (tester-pending): persona_launcher now writes a Finder-launchable
  .command shell script (shebang + exec + chmod 0o755) on darwin instead
  of a useless .bat (Finder runs .command files in Terminal).
- #51 (tester-pending): the Simple File Open dialog's "toggle hidden
  files" chord is now Cmd+Shift+. on macOS (Finder convention) instead of
  Ctrl+H (the system Hide shortcut), via a platform-aware helper shared
  by the path-field and list key handlers.
- #64/#77 (tester-pending): eSpeak synthesis pipes very long input
  (>8000 chars) via --stdin instead of a trailing argv element that can
  overflow the OS command-line length (Windows ~32,767) and truncate/abort
  a very long Read Aloud span with no clear error.

#46 and #60/#73 are fully closed; #38/#51/#64/#77 are code-complete and
unit-tested here but only show their effect on real macOS hardware, so
they're closed pending tester validation (reopenable via Help > Report a
Bug). GATE-11 rebaselined: optional_components.py 850->852 (+2),
simple_open_dialog.py 500->503 (+3). Docs (PRD/release notes/userguide/
CHANGELOG) updated; HTML/EPUB artifacts regenerated.

Co-authored-by: Claude <noreply@anthropic.com>
accesswatch added a commit that referenced this pull request Jul 10, 2026
…trings, platform-field gates, dark mode, more

Final macOS platform-review pass; every remaining item is now fixed in code.
Dev box is Windows, so each fix is either inert off-darwin (unit-tested) or a
platform-branch edit for Mac-hardware validation.

- #21/#75: "macOS (system voice)" wired as a first-class Read Aloud engine
  (Speech Hub engine option + voice picker + preview, Read Aloud pause/stop,
  batch export) via the `say` CLI backend (pyobjc voice catalog with
  `say -v ?` fallback). 10 new unit tests.
- #37: Windows-only UI strings adapt via gettext-wrapped
  quill/core/platform_nouns.py ("Keychain", "System dictation",
  "In my user profile", "Cmd+Alt" in help). Windows strings unchanged.
- #2/#10: five remaining sr_announce/announce_engine import sites retargeted
  to platform-neutral shims; tts_init_failed deferred import stays direct.
- #6: Dark Mode read via wx SystemSettings.GetAppearance().IsDark(); dead
  defaults-read helpers deleted.
- #3/#13: dialog-inventory and network-egress gates tag each site with a
  platform field ("darwin" inside a sys.platform=="darwin" branch, "" else)
  via conservative AST guard detector quill/tools/platform_guard.py.
  Snapshot shape unchanged (zero blast radius to check_banned_patterns + ~8
  snapshot-consumer tests); discover_egress_platforms() added; scan memoized.
  Live scan: 0 Mac-only dialog and 0 Mac-only egress sites today.
- #64: eSpeak live Read Aloud pipes >8000-char sentences via --stdin.
- #11: tray terminology platform-neutral (_TRAY_NOUN, Settings, Help).
- #7/F8: extend-selection caret matches native Mac semantics (Opt=word,
  Cmd=line/document).
- #18/#54: sticky-note hotkey emits clear status on darwin.
- #39: close handler no longer Hide()+Veto() on darwin without a tray icon.
- #42: diagnostic bundle collects ~/Library/Logs/DiagnosticReports crash logs.
- #53: OK/Cancel rows use native order via ok_cancel_platform_order.
- #52: paste-HTML-as-Markdown tries public.html on darwin.

GATE-11 rebaselined (_rebaseline_2026_07_10_macos_say_read_aloud_engine,
_macos_windows_strings_sweep). .pot regenerated, Italian .mo recompiled
(3 invalidated entries cleared to English fallback). ruff extend-exclude
adds the one-off docs/podcast/dispatch_main.py helper. test_packaging_deps
B905 zip strict= fixed.

All touched gates green: platform_guard 12, dialog_inventory 5, egress 5,
banned clean, snapshot consumers, smoke 27/2 skip, a11y 99/2 skip,
structure+tools+packaging 349/1 skip, docs-artifact parity, ruff clean.

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency and supply-chain updates. security Security hardening and vulnerability-related work.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant