Skip to content

Bump jaxtyping from 0.3.2 to 0.3.7#703

Merged
waltsims merged 1 commit intomasterfrom
dependabot/pip/jaxtyping-0.3.7
Mar 31, 2026
Merged

Bump jaxtyping from 0.3.2 to 0.3.7#703
waltsims merged 1 commit intomasterfrom
dependabot/pip/jaxtyping-0.3.7

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Mar 30, 2026

Bumps jaxtyping from 0.3.2 to 0.3.7.

Release notes

Sourced from jaxtyping's releases.

jaxtyping v0.3.7

Bugfix: SomeDtype[Union[numpy.typing.ArrayLike, ...], ...] will no longer crash in numpy 2.4.0. (#374)

Full Changelog: patrick-kidger/jaxtyping@v0.3.6...v0.3.7

jaxtyping v0.3.6

Full Changelog: patrick-kidger/jaxtyping@v0.3.5...v0.3.6

jaxtyping v0.3.5

  • Feature: support TypeAliasTypes as array types. For example:

    type Foo = np.ndarray | int
    Float[Foo, ""]

    In particular, this re-enables support for numpy.typing.ArrayLike, which recently switched from being a union to a type alias.

  • Docs: big update to emphasize the way in which we are framework-agnostic.

Full Changelog: patrick-kidger/jaxtyping@v0.3.4...v0.3.5

jaxtyping v0.3.4

New Contributors

Full Changelog: patrick-kidger/jaxtyping@v0.3.3...v0.3.4

jaxtyping v0.3.3

A collection of esoteric fixes, mostly due to versions of other libraries:

  • Fix for partially-stringified annotations resulting in spurious errors. (If we can't resolve them at decoration time then they just become an Any instead.)
  • Fix for Dtype[numpy.typing.ArrayLike, ...] not accepting bool/int/float in NumPy 2.3.3-ish.
  • Fix for Foo | Bar annotations with typeguard==2.13.3 producing false negatives. (Fixes #349.)
  • Fix for jaxtyping.ArrayLike not including jax._src.literals.LiteralArray under jax==0.7.2.

New Contributors

Full Changelog: patrick-kidger/jaxtyping@v0.3.2...v0.3.3

Commits
  • b3ad46f Numpy 2.4.0 compat: fix union of arraylike.
  • 103e004 0.3.6
  • 4bb34ef fix(lib): respect @no_type_check decorator on class (#370)
  • 9be8523 fix(pytest): execute import hook before conftest.py files are read
  • aec7db5 fix(pytest_plugin): avoid splitting typechecker constructor with commas
  • bf49ed2 Big doc update to de-emphasize JAX, make us more framework-agnostic
  • 299f0af fix numpy arraylike, add support for typealiastype
  • 289f504 version bump to 0.3.4
  • a906b19 Dropped failing tests for very old jaxtyping. No idea what's going on but not...
  • 3bf6882 Dropped erroneous JAX dependency when building docs
  • 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 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)

Greptile Summary

This PR bumps the jaxtyping dependency from 0.3.2 to 0.3.7 (a patch-level series of bug-fix releases). All five intermediate versions contain only bug fixes and minor features (e.g. TypeAliasType support, numpy 2.4.0 compatibility, @no_type_check on dataclasses, pytest plugin fixes) — no breaking changes are noted in the changelog.

Key observations:

  • The change is a single-line version pin update in pyproject.toml.
  • jaxtyping 0.3.7 adds a numpy 2.4.0 compatibility fix; the project currently caps numpy at <2.3.0, so this fix does not apply today, but it leaves room for a future numpy upper-bound relaxation without re-pinning jaxtyping.
  • beartype remains pinned at ==0.22.9, which is used by jaxtyping for runtime type checking — no beartype version change is needed for this bump.
  • No source code changes are introduced; risk is confined to transitive behaviour changes from the library upgrade, all of which are documented as bug fixes.

Confidence Score: 5/5

  • Safe to merge — purely a patch-series bug-fix upgrade with no breaking changes.
  • All five intermediate releases (0.3.3–0.3.7) are bug-fix only; no API breakage is noted. The single changed line is a version pin in pyproject.toml, no source code is touched. Dependabot's compatibility score is green, and the changes are well-understood.
  • No files require special attention.

Important Files Changed

Filename Overview
pyproject.toml Bumps jaxtyping pin from 0.3.2 to 0.3.7; change is a single-line version update with only bug-fix releases in between.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["jaxtyping 0.3.2 (old)"] -->|"0.3.3: esoteric bug fixes\n(annotations, numpy, typeguard)"| B["0.3.3"]
    B -->|"0.3.4: fp4e2m1fn dtype, optional numpy"| C["0.3.4"]
    C -->|"0.3.5: TypeAliasType support,\nnumpy.typing.ArrayLike fix"| D["0.3.5"]
    D -->|"0.3.6: @no_type_check on dataclasses,\npytest plugin fixes"| E["0.3.6"]
    E -->|"0.3.7: numpy 2.4.0 compat fix"| F["jaxtyping 0.3.7 (new)"]
    F --> G["pyproject.toml dependency"]
    H["beartype==0.22.9"] --> G
    I["numpy>=1.22.2,<2.3.0"] --> G
Loading

Reviews (1): Last reviewed commit: "Bump jaxtyping from 0.3.2 to 0.3.7" | Re-trigger Greptile

Bumps [jaxtyping](https://github.com/patrick-kidger/jaxtyping) from 0.3.2 to 0.3.7.
- [Release notes](https://github.com/patrick-kidger/jaxtyping/releases)
- [Commits](patrick-kidger/jaxtyping@v0.3.2...v0.3.7)

---
updated-dependencies:
- dependency-name: jaxtyping
  dependency-version: 0.3.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Mar 30, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.40%. Comparing base (4fa9e7a) to head (753680f).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #703   +/-   ##
=======================================
  Coverage   74.40%   74.40%           
=======================================
  Files          56       56           
  Lines        8026     8026           
  Branches     1570     1570           
=======================================
  Hits         5972     5972           
  Misses       1437     1437           
  Partials      617      617           
Flag Coverage Δ
3.10 74.40% <ø> (ø)
3.11 74.40% <ø> (ø)
3.12 74.40% <ø> (ø)
3.13 74.40% <ø> (ø)
macos-latest 74.38% <ø> (ø)
ubuntu-latest 74.38% <ø> (ø)
windows-latest 74.39% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@waltsims waltsims merged commit 6091594 into master Mar 31, 2026
153 checks passed
@waltsims waltsims deleted the dependabot/pip/jaxtyping-0.3.7 branch March 31, 2026 00:10
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 Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant