chore(deps): update dependency jaxtyping to v0.2.36 #591
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.2.25
->0.2.36
Release Notes
google/jaxtyping (jaxtyping)
v0.2.36
: jaxtyping v0.2.36Compare Source
Fixed previous release that broke Python 3.9 compatibility! (Thanks @baluyotraf! #269, #270, #271)
See https://github.com/patrick-kidger/jaxtyping/releases/tag/v0.2.35 for the corresponding release notes.
New Contributors
Full Changelog: patrick-kidger/jaxtyping@v0.2.35...v0.2.36
v0.2.35
: jaxtyping v0.2.35Compare Source
Dropped dependency on
typeguard==2.13.3
. We now vendor our own copy of this. This means thatjaxtyping
now has zero dependencies. Note that more recent versions of typeguard do still seem to be a bit buggy in their handling of jaxtyping annotations, but we're now doing everything we can on this one :) (#199, #266)jaxtyping no longer produces references cycles, which should improve performance in a edge cases, e.g. when decorating temporary local functions. (Thanks @ojw28! #258, #259, #260)
Improved compaibility with
cloudpickle
: this library has a minor bug that produced crashes in some edge cases used alongside jaxtyping -- we've now hopefully worked around such issues once and for all. (#261, #262)Improved compatibility with
poetry
: this library has a bug in how it interpreters~=
version constraints in a nonstandard manner. We now use>=
constraints instead. (Thanks @norpadon! #257)Improved compatibility with
mypy
: now adding some extra typehints to help it infer the type of a jaxtyped-decorator function. (#254, #255)New Contributors
Full Changelog: patrick-kidger/jaxtyping@v0.2.34...v0.2.35
v0.2.34
: jaxtyping v0.2.34Compare Source
ray
-- this fixes crashes with the error messagehas no attribute 'index_variadic'
(#198, #237)ast.Str
. (#236, thanks @phinate!)New Contributors
Full Changelog: patrick-kidger/jaxtyping@v0.2.33...v0.2.34
v0.2.33
: jaxtyping v0.2.33Compare Source
Any
as the array type.__constraints__
Full Changelog: patrick-kidger/jaxtyping@v0.2.32...v0.2.33
v0.2.32
: jaxtyping v0.2.32Compare Source
The array type can now be either
Any
or aTypeVar
. In both cases this means that anything is allowed at runtime. As usual, static type checkers will only look at the array part of an annotation, so that an annotation of the formFloat[T, "foo bar"]
(whereT = TypeVar("T")
) will be treated as justT
by static type checkers. This allows for expressing array-type-polymorphism with static typechecking. Here's an example:Fixed a bug in which the very first argument to a function was erroneously reported as the one at fault for a typechecking error. This bug occurred when using default arguments.
Full Changelog: patrick-kidger/jaxtyping@v0.2.31...v0.2.32
v0.2.31
: jaxtyping v0.2.31Compare Source
Now duck-type on array shapes and dtypes, so you can use
jaxtyping
for your custom arraylike objects:Improved compatibility when typeguard warns that you're typechecking a function without annotations: it will no longer mention the jaxtyping-internal
check_params
function and will instead mention the name of the function that is missing annotations.Improved the error message when typechecking fails, to state the full
some_module.SomeClass.some_method
rather than justsome_method
.Fixed a JAX deprecation warning for
jax.tree_map
. (Thanks @groszewn!)New Contributors
Full Changelog: patrick-kidger/jaxtyping@v0.2.30...v0.2.31
v0.2.30
: jaxtyping v0.2.30Compare Source
typing.no_type_check
. #216New Contributors
Full Changelog: patrick-kidger/jaxtyping@v0.2.29...v0.2.30
v0.2.29
: jaxtyping v0.2.29Compare Source
jax
is available butjaxlib
is not. (Thanks @ar0ck! #191)tensor.ndim
(Thanks @dziulek! #193)isinstance
checks in the body of teh function. (Thanks @nimashoghi! #205)New Contributors
Full Changelog: patrick-kidger/jaxtyping@v0.2.28...v0.2.29
v0.2.28
: jaxtyping v0.2.28Compare Source
Autogenerated release notes as follows:
What's Changed
Full Changelog: patrick-kidger/jaxtyping@v0.2.27...v0.2.28
v0.2.27
: jaxtyping v0.2.27Compare Source
Quick bugfix release:
isinstance
checks against variadics crashing (although this was when it was about to returnFalse
anyway). (Thanks @asford! #186)New Contributors
Full Changelog: patrick-kidger/jaxtyping@v0.2.26...v0.2.27
v0.2.26
: jaxtyping v0.2.26Compare Source
Features
jaxtyping.print_bindings
to manually inspect the values of each axis, whilst inside a function.jaxtyping.{Int4, UInt4}
. (#174, thanks @jianlijianli!)Bugfixes
jaxtyping.Array = jax.Array
, are looked up dynamically rather than import time.) (#178)@jaxtyped
-ing generators (withyield
statements). (#91, #171, thanks @knyazer!)Internals
__instancecheck_str__
method. Instead ofisinstance(x, Float[Array, "foo"])
, then one can now callFloat[Array, "foo"].__instancecheck_str__(x)
, which will return either an empty string (success) or an error message describing why the check failed (wrong shape, wrong dtype, ...). In practice this feature probably isn't super usable right now; we'll need to wait until we've later done a better job ensuring compatibility between the jaxtyping import hooks and the beartype import hooks.Docs
New Contributors
Full Changelog: patrick-kidger/jaxtyping@v0.2.25...v0.2.26
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.