build(deps): update python dependencies (minor) #19
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:
24.8.0
->24.10.0
3.4.1
->3.6.0
3.9.1
->3.9.2
1.11.1
->1.13.0
2.0.1
->2.1.3
5.23.0
->5.24.1
8.3.2
->8.3.3
>=3.10,<3.13
->>=3.13,<3.14
^0.5.0
->^0.7.0
1.5.1
->1.5.2
4.66.5
->4.67.0
Release Notes
psf/black (black)
v24.10.0
Compare Source
Highlights
mypyc-compiled wheels. (#4436) (#4449)
safety issue in Python 3.12.5 that can cause Black's AST safety checks to fail. Please
use Python 3.12.6 or Python 3.12.4 instead. (#4447)
Stable style
X | Y
style unions.(#4453)
%%
magic (#4462)Preview style
def fn(*args: *tuple[*Ts, T]) -> None: pass
) (#4440)Caching
--unstable
(#4466)Packaging
blackd
now requires a newer version of aiohttp. (#4451)Output
keras-team/keras (keras)
v3.6.0
: Keras 3.6.0Compare Source
Highlights
keras.saving.KerasFileEditor
. Use it to inspect, diff, modify and resave Keras weights files. See basic workflow here.keras.utils.Config
class for managing experiment config parameters.BREAKING changes
keras.utils.get_file
, withextract=True
oruntar=True
, the return value will be the path of the extracted directory, rather than the path of the archive.Other changes and additions
fit()
,evaluate()
,predict()
. This enables 100% compact stacking oftrain_step
calls on accelerators (e.g. when running small models on TPU).on_batch_end
, this will disable async logging. You can force it back by addingself.async_safe = True
to your callbacks. Note that theTensorBoard
callback isn't considered async safe by default. Default callbacks like the progress bar are async safe.keras.saving.KerasFileEditor
utility to inspect, diff, modify and resave Keras weights file.keras.utils.Config
class. It behaves like a dictionary, with a few nice features:config.foo = 2
orconfig["foo"]
are both valid)config.to_json()
.config.freeze()
.bitwise_and
bitwise_invert
bitwise_left_shift
bitwise_not
bitwise_or
bitwise_right_shift
bitwise_xor
keras.ops.logdet
.keras.ops.trunc
.keras.ops.dot_product_attention
.keras.ops.histogram
.PyDataset
instances to use multithreading.verbose
inkeras.saving.ExportArchive.write_out()
method for exporting TF SavedModel.epsilon
argument inkeras.ops.normalize
.Model.get_state_tree()
method for retrieving a nested dict mapping variable paths to variable values (either as numpy arrays or backend tensors (default)). This is useful for rolling out custom JAX training loops.keras.layers.AutoContrast
,keras.layers.Solarization
.keras.layers.Pipeline
class, to apply a sequence of layers to an input. This class is useful to build a preprocessing pipeline. Compared to aSequential
model,Pipeline
features a few important differences:Model
, just a plain layer.tf.data
, the pipeline will also remaintf.data
compatible, independently of the backend you use.New Contributors
Full Changelog: keras-team/keras@v3.5.0...v3.6.0
v3.5.0
: Keras 3.5.0Compare Source
What's Changed
keras.Model.save()
and load.keras
models directly from Hugging Face Hub withkeras.saving.load_model()
.keras.optimizers.Lamb
optimizer.keras.distribution
API support for very large models.keras.ops.associative_scan
op.keras.ops.searchsorted
op.keras.utils.PyDataset.on_epoch_begin()
method.data_format
argument tokeras.layers.ZeroPadding1D
layer.Full Changelog: keras-team/keras@v3.4.1...v3.5.0
matplotlib/matplotlib (matplotlib)
v3.9.2
: REL: 3.9.2Compare Source
This is the second bugfix release of the 3.9.x series.
This release contains several bug-fixes and adjustments:
Windows wheels now bundle the MSVC runtime DLL statically to avoid inconsistencies with other wheels and random crashes depending on import order.
python/mypy (mypy)
v1.13.0
Compare Source
v1.12.1
Compare Source
os.path
stubs affecting use ofos.PathLike[Any]
(Shantanu, PR 17995)v1.12.0
Compare Source
v1.11.2
Compare Source
numpy/numpy (numpy)
v2.1.3
Compare Source
v2.1.2
Compare Source
v2.1.1
: 2.1.1 (Sep 3, 2024)Compare Source
NumPy 2.1.1 Release Notes
NumPy 2.1.1 is a maintenance release that fixes bugs and regressions
discovered after the 2.1.0 release.
The Python versions supported by this release are 3.10-3.13.
Contributors
A total of 7 people contributed to this release. People with a "+" by
their names contributed a patch for the first time.
Pull requests merged
A total of 10 pull requests were merged for this release.
Checksums
MD5
SHA256
v2.1.0
Compare Source
v2.0.2
: NumPy 2.0.2 release (Aug 26, 2024)Compare Source
NumPy 2.0.2 Release Notes
NumPy 2.0.2 is a maintenance release that fixes bugs and regressions
discovered after the 2.0.1 release.
The Python versions supported by this release are 3.9-3.12.
Contributors
A total of 13 people contributed to this release. People with a "+" by
their names contributed a patch for the first time.
Pull requests merged
A total of 19 pull requests were merged for this release.
alltrue
andsometrue
npyv_loadable_stride_
functions for ldexp and...np.save
Checksums
MD5
SHA256
plotly/plotly.py (plotly)
v5.24.1
Compare Source
Updated
v5.24.0
Compare Source
Added
px
functions for maps:scatter_map
,line_map
,choropleth_map
, anddensity_map
.Updated
Updated Plotly.js from version 2.34.0 to version 2.35.0. See the plotly.js CHANGELOG for more information. These changes are reflected in the auto-generated
plotly.graph_objects
module. Notable changes include:Fixed a bug in integer validation of arrays that threw an error when an array contained a mix of strings and integers.
pytest-dev/pytest (pytest)
v8.3.3
Compare Source
pytest 8.3.3 (2024-09-09)
Bug fixes
#12446: Avoid calling
@property
(and other instance descriptors) during fixture discovery -- byasottile
{.interpreted-text role="user"}#12659: Fixed the issue of not displaying assertion failure differences when using the parameter
--import-mode=importlib
in pytest>=8.1.#12667: Fixed a regression where type change in [ExceptionInfo.errisinstance]{.title-ref} caused [mypy]{.title-ref} to fail.
#12744: Fixed typing compatibility with Python 3.9 or less -- replaced [typing.Self]{.title-ref} with [typing_extensions.Self]{.title-ref} -- by
Avasam
{.interpreted-text role="user"}#12745: Fixed an issue with backslashes being incorrectly converted in nodeid paths on Windows, ensuring consistent path handling across environments.
#6682: Fixed bug where the verbosity levels where not being respected when printing the "msg" part of failed assertion (as in
assert condition, msg
).#9422: Fix bug where disabling the terminal plugin via
-p no:terminal
would cause crashes related to missing theverbose
option.-- by
GTowers1
{.interpreted-text role="user"}Improved documentation
Miscellaneous internal changes
containerbase/python-prebuild (python)
v3.13.0
Compare Source
Bug Fixes
astral-sh/ruff (ruff)
v0.7.2
Compare Source
Preview features
pyupgrade
] Add PEP 646Unpack
conversion to*
with fix (UP044
) (#13988)Rule changes
known_stdlibs.rs
with stdlibs 2024.10.25 (#13963)flake8-no-pep420
] Skip namespace package enforcement for PEP 723 scripts (INP001
) (#13974)Server
Bug fixes
flake8-type-checking
] Fix false positive forsingledispatchmethod
(TCH003
) (#13941)flake8-type-checking
] Treat return type ofsingledispatch
as runtime-required (TCH003
) (#13957)Documentation
flake8-simplify
] Include caveats of enablingif-else-block-instead-of-if-exp
(SIM108
) (#14019)v0.7.1
Compare Source
Preview features
E221
andE222
to flag missing or extra whitespace around==
operator (#13890)pylint
] Restrictiteration-over-set
to only work on sets of literals (PLC0208
) (#13731)Rule changes
flake8-type-checking
] Support auto-quoting when annotations contain quotes (#11811)Server
Bug fixes
ARG002
compatible withEM101
when raisingNotImplementedError
(#13714)Other changes
v0.7.0
Compare Source
Check out the blog post for a migration guide and overview of the changes!
Breaking changes
PT001
andPT023
now default to omitting the decorator parentheses when there are no arguments(#12838, #13292).
This was a change that we attempted to make in Ruff v0.6.0, but only partially made due to an error on our part.
See the blog post for more details.
useless-try-except
rule (in ourtryceratops
category) has been recoded fromTRY302
toTRY203
(#13502). This ensures Ruff's code is consistent withthe same rule in the
tryceratops
linter.lint.allow-unused-imports
setting has been removed (#13677). Uselint.pyflakes.allow-unused-imports
instead.
Formatter preview style
Preview linter features
refurb
] implementhardcoded-string-charset
(FURB156) (#13530)refurb
] Count codepoints not bytes forslice-to-remove-prefix-or-suffix (FURB188)
(#13631)Rule changes
pylint
] MarkPLE1141
fix as unsafe (#13629)flake8-async
] Consider async generators to be "checkpoints" forcancel-scope-no-checkpoint
(ASYNC100
) (#13639)flake8-bugbear
] Do not suggest setting parameterstrict=
toFalse
inB905
diagnostic message (#13656)flake8-todos
] Only flag the word "TODO", not words starting with "todo" (TD006
) (#13640)pycodestyle
] Fix whitespace-related false positives and false negatives inside type-parameter lists (E231
,E251
) (#13704)flake8-simplify
] Stabilize preview behavior forSIM115
so that the rule can detect filesbeing opened from a wider range of standard-library functions (#12959).
CLI
--statistics
command (#13774)Bug fixes
pyflakes
] Allowipytest
cell magic (F401
) (#13745)flake8-use-pathlib
] FixPTH123
false positive whenopen
is passed a file descriptor (#13616)flake8-bandit
] Detect patterns from multi line SQL statements (S608
) (#13574)flake8-pyi
] - Fix dropped expressions inPYI030
autofix (#13727)v0.6.9
Compare Source
Preview features
refurb
] MarkFURB118
fix as unsafe (#13613)Rule changes
pydocstyle
] Don't raiseD208
when last line is non-empty (#13372)pylint
] Preserve trivia (i.e. comments) inPLR5501
autofix (#13573)Configuration
pyflakes
] Addallow-unused-imports
setting forunused-import
rule (F401
) (#13601)Bug fixes
flake8-bugbear
] Avoid short circuitingB017
for multiple context managers (#13609)pylint
] Do not offer an invalid fix forPLR1716
when the comparisons contain parenthesis (#13527)pyupgrade
] FixUP043
to apply tocollections.abc.Generator
andcollections.abc.AsyncGenerator
(#13611)refurb
] Fix handling of slices in tuples forFURB118
, e.g.,x[:, 1]
(#13518)Documentation
astral-sh/ruff-action
(#13551)[
v0.6.8
](hConfiguration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - "0 0 4 ? * MON *" (UTC).
🚦 Automerge: Enabled.
♻ 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.
This PR was generated by Mend Renovate. View the repository job log.