Skip to content

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 13, 2025

This PR contains the following updates:

Package Change Age Confidence
click (changelog) 8.2.1 -> 8.3.0 age confidence
mypy (changelog) 1.17.1 -> 1.18.2 age confidence
pykka 4.2.0 -> 4.4.0 age confidence
types-grpcio (changelog) 1.0.0.20250703 -> 1.0.0.20250914 age confidence
types-protobuf (changelog) 6.30.2.20250822 -> 6.32.1.20250918 age confidence
types-requests (changelog) 2.32.4.20250809 -> 2.32.4.20250913 age confidence

Release Notes

pallets/click (click)

v8.3.0

Compare Source

Released 2025-09-17

  • Improved flag option handling: Reworked the relationship between flag_value
    and default parameters for better consistency:

    • The default parameter value is now preserved as-is and passed directly
      to CLI functions (no more unexpected transformations)
    • Exception: flag options with default=True maintain backward compatibility
      by defaulting to their flag_value
    • The default parameter can now be any type (bool, None, etc.)
    • Fixes inconsistencies reported in: :issue:1992 :issue:2514 :issue:2610
      :issue:3024 :pr:3030
  • Allow default to be set on Argument for nargs = -1. :issue:2164
    :pr:3030

  • Show correct auto complete value for nargs option in combination with flag
    option :issue:2813

  • Fix handling of quoted and escaped parameters in Fish autocompletion. :issue:2995 :pr:3013

  • Lazily import shutil. :pr:3023

  • Properly forward exception information to resources registered with
    click.core.Context.with_resource(). :issue:2447 :pr:3058

  • Fix regression related to EOF handling in CliRunner. :issue:2939 :pr:2940

v8.2.2

Compare Source

Released 2025-07-31

  • Fix reconciliation of default, flag_value and type parameters for
    flag options, as well as parsing and normalization of environment variables.
    :issue:2952 :pr:2956
  • Fix typing issue in BadParameter and MissingParameter exceptions for the
    parameter param_hint that did not allow for a sequence of string where the
    underlying function _join_param_hints allows for it. :issue:2777 :pr:2990
  • Use the value of Enum choices to render their default value in help
    screen. Refs :issue:2911 :pr:3004
  • Fix completion for the Z shell (zsh) for completion items containing
    colons. :issue:2703 :pr:2846
  • Don't include envvar in error hint when not configured. :issue:2971 :pr:2972
  • Fix a rare race in click.testing.StreamMixer's finalization that manifested
    as a ValueError on close in a multi-threaded test session.
    :issue:2993 :pr:2991
python/mypy (mypy)

v1.18.2

Compare Source

  • Fix crash on recursive alias (Ivan Levkivskyi, PR 19845)
  • Add additional guidance for stubtest errors when runtime is object.__init__ (Stephen Morton, PR 19733)
  • Fix handling of None values in f-string expressions in mypyc (BobTheBuidler, PR 19846)

v1.18.1

Compare Source

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

Mypy Performance Improvements

Mypy 1.18.1 includes numerous performance improvements, resulting in about 40% speedup
compared to 1.17 when type checking mypy itself. In extreme cases, the improvement
can be 10x or higher. The list below is an overview of the various mypy optimizations.
Many mypyc improvements (discussed in a separate section below) also improve performance.

Type caching optimizations have a small risk of causing regressions. When
reporting issues with unexpected inferred types, please also check if
--disable-expression-cache will work around the issue, as it turns off some of
these optimizations.

  • Improve self check performance by 1.8% (Jukka Lehtosalo, PR 19768, 19769, 19770)
  • Optimize fixed-format deserialization (Ivan Levkivskyi, PR 19765)
  • Use macros to optimize fixed-format deserialization (Ivan Levkivskyi, PR 19757)
  • Two additional micro‑optimizations (Ivan Levkivskyi, PR 19627)
  • Another set of micro‑optimizations (Ivan Levkivskyi, PR 19633)
  • Cache common types (Ivan Levkivskyi, PR 19621)
  • Skip more method bodies in third‑party libraries for speed (Ivan Levkivskyi, PR 19586)
  • Simplify the representation of callable types (Ivan Levkivskyi, PR 19580)
  • Add cache for types of some expressions (Ivan Levkivskyi, PR 19505)
  • Use cache for dictionary expressions (Ivan Levkivskyi, PR 19536)
  • Use cache for binary operations (Ivan Levkivskyi, PR 19523)
  • Cache types of type objects (Ivan Levkivskyi, PR 19514)
  • Avoid duplicate work when checking boolean operations (Ivan Levkivskyi, PR 19515)
  • Optimize generic inference passes (Ivan Levkivskyi, PR 19501)
  • Speed up the default plugin (Jukka Lehtosalo, PRs 19385 and 19462)
  • Remove nested imports from the default plugin (Ivan Levkivskyi, PR 19388)
  • Micro‑optimize type expansion (Jukka Lehtosalo, PR 19461)
  • Micro‑optimize type indirection (Jukka Lehtosalo, PR 19460)
  • Micro‑optimize the plugin framework (Jukka Lehtosalo, PR 19464)
  • Avoid temporary set creation in subtype checking (Jukka Lehtosalo, PR 19463)
  • Subtype checking micro‑optimization (Jukka Lehtosalo, PR 19384)
  • Return early where possible in subtype check (Stanislav Terliakov, PR 19400)
  • Deduplicate some types before joining (Stanislav Terliakov, PR 19409)
  • Speed up type checking by caching argument inference context (Jukka Lehtosalo, PR 19323)
  • Optimize binding method self argument type and deprecation checks (Ivan Levkivskyi, PR 19556)
  • Keep trivial instance types/aliases during expansion (Ivan Levkivskyi, PR 19543)
Fixed‑Format Cache (Experimental)

Mypy now supports a new cache format used for faster incremental builds. It makes
incremental builds up to twice as fast. The feature is experimental and
currently only supported when using a compiled version of mypy. Use --fixed-format-cache
to enable the new format, or fixed_format_cache = True in a configuration file.

We plan to enable this by default in a future mypy release, and we'll eventually
deprecate and remove support for the original JSON-based format.

Unlike the JSON-based cache format, the new binary format is currently
not easy to parse and inspect by mypy users. We are planning to provide a tool to
convert fixed-format cache files to JSON, but details of the output JSON may be
different from the current JSON format. If you rely on being able to inspect
mypy cache files, we recommend creating a GitHub issue and explaining your use
case, so that we can more likely provide support for it. (Using
MypyFile.read(binary_data) to inspect cache data may be sufficient to support
some use cases.)

This feature was contributed by Ivan Levkivskyi (PR 19668, 19735, 19750, 19681, 19752, 19815).

Flexible Variable Definitions: Update

Mypy 1.16.0 introduced --allow-redefinition-new, which allows redefining variables
with different types, and inferring union types for variables from multiple assignments.
The feature is now documented in the --help output, but the feature is still experimental.

We are planning to enable this by default in mypy 2.0, and we will also deprecate the
older --allow-redefinition flag. Since the new behavior differs significantly from
the older flag, we encourage users of --allow-redefinition to experiment with
--allow-redefinition-new and create a GitHub issue if the new functionality doesn't
support some important use cases.

This feature was contributed by Jukka Lehtosalo.

Inferred Type for Bare ClassVar

A ClassVar without an explicit type annotation now causes the type of the variable
to be inferred from the initializer:

from typing import ClassVar

class Item:

### Type of 'next_id' is now 'int' (it was 'Any')
    next_id: ClassVar = 1

    ...

This feature was contributed by Ivan Levkivskyi (PR 19573).

Disjoint Base Classes (@​disjoint_base, PEP 800)

Mypy now understands disjoint bases (PEP 800): it recognizes the @disjoint_base
decorator, and rejects class definitions that combine mutually incompatible base classes,
and takes advantage of the fact that such classes cannot exist in reachability and
narrowing logic.

This class definition will now generate an error:

jodal/pykka (pykka)

v4.4.0

Compare Source

Breaking changes

  • Remove pykka.__version__. Use importlib.metadata.version("pykka") instead. (by @​jodal in #​242)

Changes

  • Port docs from Sphinx to Mkdocs and generally refresh docs (by @​jodal in #​241)

Full Changelog: jodal/pykka@v4.3.0...v4.4.0

v4.3.0

Compare Source

Breaking changes

  • Remove support for Python 3.9 as it reaches end-of-life next month (by @​jodal in #​238)
  • Only allow one of Future's set(), set_exception(), and set_get_hook() methods to be called (by @​jodal in #​240)

Changes

  • Change ThreadingFuture[T] to use a threading.Condition instead of queue.Queue (by @​mpdetwiler in #​233)
  • Only call future hook once, even if it returns None (by @​jodal in #​239)
  • Use the standard library's tomllib in the docs build on Python 3.11+, removing a dependency om tomli (by @​a-detiste in #​237)

New Contributors

Full Changelog: jodal/pykka@v4.2.0...v4.3.0


Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) in timezone US/Central, 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 if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor

github-actions bot commented Oct 13, 2025

Test Results

    48 files  ±0      48 suites  ±0   1h 13m 39s ⏱️ +18s
 3 094 tests ±0   2 435 ✅ ±0     659 💤 ±0  0 ❌ ±0 
59 928 runs  ±0  47 650 ✅ ±0  12 278 💤 ±0  0 ❌ ±0 

Results for commit e470735. ± Comparison against base commit 5c22f3a.

♻️ This comment has been updated with latest results.

@renovate renovate bot force-pushed the users/renovate/python branch from 1bc657e to 627e78e Compare October 13, 2025 13:47
@renovate renovate bot force-pushed the users/renovate/python branch from 627e78e to e470735 Compare October 13, 2025 13:50
@zhindes zhindes enabled auto-merge (squash) October 13, 2025 13:57
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docs: freeze> python -m pip freeze --all
docs: pip==25.1.1,setuptools==80.9.0
docs: commands[0]> poetry run python -VV
Python 3.11.9 (tags/v3.11.9:de54cf5, Apr  2 2024, 10:12:12) [MSC v.1938 64 bit (AMD64)]
docs: commands[1]> poetry install -v --only main,docs
Using virtualenv: C:\ar\_work\nidaqmx-python\nidaqmx-python\.tox\docs
Checking keyring availability: Available
Installing dependencies from lock file

Finding the necessary packages for the current system

Package operations: 35 installs, 0 updates, 0 removals, 2 skipped

  - Installing certifi (2025.7.14)
  - Installing charset-normalizer (3.4.2)
  - Installing idna (3.10)
  - Installing markupsafe (3.0.2)
  - Installing urllib3 (2.5.0)
  - Installing alabaster (1.0.0)
  - Installing babel (2.17.0)
  - Installing colorama (0.4.6)
  - Installing imagesize (1.4.1)
  - Installing jinja2 (3.1.6)
  - Installing docutils (0.21.2)
  - Installing packaging (25.0)
  - Installing pygments (2.19.2)
  - Installing requests (2.32.5)
  - Installing roman-numerals-py (3.1.0)
  - Installing snowballstemmer (3.0.1)
  - Installing sphinxcontrib-applehelp (2.0.0)
  - Installing sphinxcontrib-devhelp (2.0.0)
  - Installing sphinxcontrib-htmlhelp (2.1.0)
  - Installing sphinxcontrib-jsmath (1.0.1)
  - Installing sphinxcontrib-qthelp (2.0.0)
  - Installing sphinxcontrib-serializinghtml (2.0.0)
  - Installing sphinx (8.2.3)
  - Installing hightime (0.2.2)
  - Installing numpy (2.3.2)
  - Installing sphinxcontrib-jquery (4.1)
  - Installing typing-extensions (4.15.0)
  - Installing tzdata (2025.2)
  - Installing click (8.3.0)
  - Installing deprecation (2.1.0)
  - Installing grpcio (1.75.1): Skipped for the following reason: Not required
  - Installing nitypes (0.1.0.dev10)
  - Installing protobuf (6.32.1): Skipped for the following reason: Not required
  - Installing python-decouple (3.8)
  - Installing sphinx-rtd-theme (3.0.2)
  - Installing toml (0.10.2)
  - Installing tzlocal (5.3.1)

  RuntimeError

  Hash for sphinx-rtd-theme (3.0.2) from archive sphinx_rtd_theme-3.0.2-py2.py3-none-any.whl not found in known hashes (was: sha256:ec9588fa3f51822075c466c9ff2a80e97f6a4f807826d5ddedf9cd1dfc045645)

  at C:\ar\_work\_temp\poetry\home\Lib\site-packages\poetry\installation\executor.py:794 in _validate_archive_hash
      790│ 
      791│         archive_hash = f"{hash_type}:{get_file_hash(archive, hash_type)}"
      792│ 
      793│         if archive_hash not in known_hashes:
    → 794│             raise RuntimeError(
      795│                 f"Hash for {package} from archive {archive.name} not found in"
      796│                 f" known hashes (was: {archive_hash})"
      797│             )
      798│ 

Cannot install sphinx-rtd-theme.

docs: exit 1 (13.62 seconds) C:\ar\_work\nidaqmx-python\nidaqmx-python> poetry install -v --only main,docs pid=4520

Indeed, poetry.lock has these hashes:

[[package]]
name = "sphinx-rtd-theme"
version = "3.0.2"
description = "Read the Docs theme for Sphinx"
optional = false
python-versions = ">=3.8"
groups = ["docs"]
files = [
    {file = "sphinx_rtd_theme-3.0.2-py2.py3-none-any.whl", hash = "sha256:422ccc750c3a3a311de4ae327e82affdaf59eb695ba4936538552f3b00f4ee13"},
    {file = "sphinx_rtd_theme-3.0.2.tar.gz", hash = "sha256:b7457bc25dda723b20b086a670b9953c859eab60a2a03ee8eb2bb23e176e5f85"},
]

The hashes on the PyPI web UI match poetry.lock:

  • wheel: 422ccc750c3a3a311de4ae327e82affdaf59eb695ba4936538552f3b00f4ee13
  • sdist: b7457bc25dda723b20b086a670b9953c859eab60a2a03ee8eb2bb23e176e5f85

@mshafer-NI @zhindes Any idea what happened here? Corrupt download?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This usually indicates a bad cache (either got killed on download, or file is mangled)...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants