From f59d30d9bc4418399723c4a76b4880c0a6f5a4ba Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue, 17 Dec 2024 16:16:46 +0100
Subject: [PATCH] Chore(deps): Bump the python-packages group across 1
directory with 9 updates (#329)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Updates the requirements on [numpy](https://github.com/numpy/numpy),
[torch](https://github.com/pytorch/pytorch),
[torchvision](https://github.com/pytorch/vision),
[tifffile](https://github.com/cgohlke/tifffile),
[pydantic](https://github.com/pydantic/pydantic),
[typer](https://github.com/fastapi/typer),
[scikit-image](https://github.com/scikit-image/scikit-image),
[pillow](https://github.com/python-pillow/Pillow) and
[protobuf](https://github.com/protocolbuffers/protobuf) to permit the
latest version.
Updates `numpy` to 2.2.0
Sourced from numpy's
releases. The NumPy 2.2.0 release is quick release that brings us back into
sync
with the usual twice yearly release cycle. There have been an number of
small cleanups, as well as work bringing the new StringDType to
completion and improving support for free threaded Python. Highlights
are: This release supports Python versions 3.10-3.13. (gh-27735) (gh-27160) (gh-27661) New functions for matrix-vector and vector-matrix products Two new generalized ufuncs were defined: ... (truncated) Sourced from numpy's
changelog. This is a walkthrough of the NumPy 2.1.0 release on Linux, modified
for
building with GitHub Actions and cibuildwheels and uploading to the
Before beginning to make a release, use the
When adding or dropping Python versions, three files need to be
edited: Make these changes in an ordinary PR against main and backport if
necessary.
Add Changes that have been marked for this release must be backported to
the
maintenance/2.1.x branch. ... (truncated) Sourced from torch's
releases. This release is meant to fix the following regressions: Besides the regression fixes, the release includes several
documentation updates. See release tracker pytorch/pytorch#132400
for additional information. Sourced from torch's
changelog. Following is the Release Compatibility Matrix for PyTorch
releases: ... (truncated) Sourced from tifffile's
releases. Tifffile is a Python library to Image and metadata can be read from TIFF, BigTIFF, OME-TIFF, GeoTIFF,
Adobe DNG, ZIF (Zoomable Image File Format), MetaMorph STK, Zeiss LSM,
ImageJ hyperstack, Micro-Manager MMStack and NDTiff, SGI, NIHImage,
Olympus FluoView and SIS, ScanImage, Molecular Dynamics GEL, Aperio SVS,
Leica SCN, Roche BIF, PerkinElmer QPTIFF (QPI, PKI), Hamamatsu NDPI,
Argos AVS, and Philips DP formatted files. Image data can be read as NumPy arrays or Zarr arrays/groups from
strips, tiles, pages (IFDs), SubIFDs, higher order series, and pyramidal
levels. Image data can be written to TIFF, BigTIFF, OME-TIFF, and ImageJ
hyperstack compatible files in multi-page, volumetric, pyramidal,
memory-mappable, tiled, predicted, or compressed form. Many compression and predictor schemes are supported via the
imagecodecs library, including LZW, PackBits, Deflate, PIXTIFF, LZMA,
LERC, Zstd, JPEG (8 and 12-bit, lossless), JPEG 2000, JPEG XR, JPEG XL,
WebP, PNG, EER, Jetraw, 24-bit floating-point, and horizontal
differencing. Tifffile can also be used to inspect TIFF structures, read image data
from multi-dimensional file sequences, write fsspec ReferenceFileSystem
for TIFF files and image file sequences, patch TIFF tag values, and
parse many proprietary metadata formats. Sourced from tifffile's
changelog. 2024.12.12 2024.9.20 2024.8.30 2024.8.28 2024.8.24 2024.8.10 2024.7.24 2024.7.21 2024.7.2 2024.6.18 ... (truncated) Sourced from pydantic's
releases. Full Changelog: https://github.com/pydantic/pydantic/compare/v2.10.2...v2.10.3 Sourced from pydantic's
changelog. ... (truncated) Sourced from typer's
releases. Before, it was supported to infer the name of a command group from
the callback function name in the sub-app, so, in this code: app = typer.Typer()
users_app = typer.Typer() app.add_typer(users_app)Release notes
2.2.0 (Dec 8, 2024)
NumPy 2.2.0 Release Notes
matvec
and vecmat
, see
below.Deprecations
_add_newdoc_ufunc
is now deprecated. ufunc.__doc__
= newdoc
should be used instead.Expired deprecations
bool(np.array([]))
and other empty arrays will now raise
an error.
Use arr.size > 0
instead to check whether an array has
no
elements.Compatibility notes
numpy.cov
now properly transposes single-row (2d
array) design matrices when rowvar=False
. Previously,
single-row
design matrices would return a scalar in this scenario, which is not
correct, so this is a behavior change and an array of the
appropriate shape will now be returned.New Features
numpy.matvec
- matrix-vector product, treating the
arguments as stacks of matrices and column vectors,Changelog
anaconda.org staging repository for NumPy
<https://anaconda.org/multibuild-wheels-staging/numpy>
_.
The commands can be copied into the command line, but be sure to replace
2.1.0
by the correct version. This should be read together with the
:ref:general release guide <prepare_release>
.Facility preparation
requirements/*_requirements.txt
files to
ensure that you have the needed software. Most software can be installed
with
pip, but some will require apt-get, dnf, or whatever your system uses
for
software. You will also need a GitHub personal access token (PAT) to
push the
documentation. There are a few ways to streamline things:
keyring
app to store the PyPI password
for twine. See the
online twine documentation for details.Prior to release
Add/drop Python versions
[wheel build]
at the end of the title line of the
commit summary so
that wheel builds will be run to test the changes. We currently release
wheels
for new Python versions after the first Python rc once manylinux and
cibuildwheel support it. For Python 3.11 we were able to release within
a week
of the rc1 announcement.Backport pull requests
Update 2.1.0 milestones
Commits
e7a123b
Merge pull request #27928
from charris/prepare-2.2.0d97d071
MAINT: Try fixing MacOS cirrus build failures. [wheel build]1ed7b67
REL: Prepare for the NumPy 2.2.0 release [wheel build]fd9e7ef
Merge pull request #27916
from charris/backport-279152e0941f
MAINT: Bump actions/cache from 4.1.2 to 4.2.0013656d
Merge pull request #27912
from charris/backport-278777895ba6
Merge pull request #27913
from charris/backport-27896ee8d1cd
PERF: improve multithreaded ufunc scaling (#27896)77fff6b
ENH: Refactor __qualname__
across API (#27877)b30a338
Merge pull request #27911
from charris/backport-27891
Updates `torch` to 2.5.1
Release notes
PyTorch 2.5.1: bug fix release
Changelog
Releasing PyTorch
Release Compatibility Matrix
Commits
a8d6afb
Disabling amp context when invoking compiler (#138659)f31b8bb
[MPS] Fix sliced cast (#138535)848e7ac
[SDPA-CUDNN] Make CuDNN Attention Opt in (#138587)885c823
Update doc copyrights to 2024 (#138650)8c3ed97
Update cpuinfo submodule (#138600)70cf2bb
Add link to torch.compile the missing manual in troubleshooting (#137369)cde6b38
Don't try to load cufile (#138539)4076a73
[Cherry-Pick] Use cuda 12.4 pytorch_extra_install_requirements as
default (#1...a97c151
update getting started xpu (#138090)32f585d
[Release only] use triton 3.1.x from pypi (#137895)
Updates `torchvision` to 0.20.1
Commits
3ac97aa
Update version.txt to 0.20.1 (#8694)afc54f7
Remove lint job for release 0.20 (#8674)8e8a208
[Cherry-pick for 0.20] Expose transforms.v2 utils for writing custom
transfor...2d8a288
[Cherry-Pick for 0.20] Revamp decoding docs (#8633)
(#8666)7f4d561
Remove prototype from release/0.20 branch (#8657)4a94962
Use @release/2
.5 instead of @main
for CI jobs (#8646)db5f8a0
Fix compile with nvjpeg on Windows CUDA 12 (#8641)00e7fa1
Fix f-string in color error message (#8639)838ad6c
Allow decoding functions to accept the mode parameter as a string (#8627)d0ebeb5
Allow decode_image to support paths (#8624)
Updates `tifffile` to 2024.12.12
Release notes
v2024.12.12
Read and write TIFF files
Changes
Changelog
Commits
00b42ea
Release v2024.12.12e9604d9
Update CHANGES.rstce8fe2d
Update tifffile/tifffile.py553268d
Update tests/test_tifffile.py8d9e896
Update setup.py4843f98
Update tifffile/tiffcomment.py8a25a0d
Release v2024.9.2088f489f
Update CHANGES.rstfe52fa5
Update tifffile/tifffile.py9bde6b9
Update setup.py
Updates `pydantic` to 2.10.3
Release notes
v2.10.3 2024-12-03
What's Changed
Fixes
defer_build
is set on Pydantic
dataclasses by @Viicos
in #10984dict
core
schema keys by @Viicos
in #10989PlainSerializer
and WrapSerializer
functions
by @Viicos
in #11008@sydney-runkle
in #11027default_factory_takes_validated_data
property to
FieldInfo
by @Viicos
in #11034serialization
mode by @sydney-runkle
in #11035Changelog
v2.10.3 (2024-12-03)
What's Changed
Fixes
defer_build
is set on Pydantic
dataclasses by @Viicos
in #10984dict
core
schema keys by @Viicos
in #10989PlainSerializer
and WrapSerializer
functions
by @Viicos
in #11008@sydney-runkle
in #11027default_factory_takes_validated_data
property to
FieldInfo
by @Viicos
in #11034serialization
mode by @sydney-runkle
in #11035v2.10.2 (2024-11-25)
What's Changed
Fixes
@Viicos
in #10769@Viicos
in #10962Secret
types and
Url
types by @sydney-runkle
in #10947Field.default
to be compatible with
Python 3.8 and 3.9 by @Viicos
in #10972@sydney-runkle
in #10975BaseModel.__replace__
definition from type
checkers by @Viicos
in 10979v2.10.1 (2024-11-21)
What's Changed
Packaging
pydantic-core
version to v2.27.1
by
@sydney-runkle
in #10938Fixes
TypeAdapter
by @Viicos
in #10893default_factory
utils
by @sydney-runkle
in #10909model_fields
and
model_computed_fields
by @sydney-runkle
in #10911dataclass
es by @sydney-runkle
in #10928globals
of the function when evaluating the
return type of serializers and computed_field
s by @Viicos
in #10929@sydney-runkle
in #10922@sydney-runkle
in #10934''
by @sydney-runkle
in #10936Commits
c326748
Prep for v2.10.3 release (#11038)68d35bf
Fix url json schema in serialization
mode (#11035)fa69b4c
Add a default_factory_takes_validated_data
property to
FieldInfo
(#11034)435a703
Fix host required enforcement for urls to be compatible with v2.9
behavior (#...b2c4548
Use the globals of the function when evaluating the return type for
`PlainSer...cb962c1
Do not resolve the JSON Schema reference for dict
core
schema keys (#10989)10ebcdf
Set fields when defer_build
is set on Pydantic dataclasses
(#10984)fe32515
Prepare for v2.10.2 release (#10982)226cfaf
Hide BaseModel.__replace__
definition from type checkers
(#10979)02229a6
hashing support for urls (#10975)
Updates `typer` from 0.12.3 to 0.15.1
Release notes
0.15.1
Features
shell_complete
and continue to use
autocompletion
for CLI parameters. PR #974 by @svlandeg
.Docs
@kkirsche
.@tvoirand
.@svlandeg
.Internal
@tiangolo
.@tiangolo
.@tiangolo
.@pre-commit-ci[bot]
.@dependabot[bot]
.0.15.0
Features
@patrick91
.
Internal
@dependabot[bot]
.@dependabot[bot]
.0.14.0
Breaking Changes
add_typer
based on the group's callback function name. PR #1052 by
@patrick91
.import typer
@users
_app.callback()
def users(): # <-- This was the inferred command group name
"""
Manage users in the app.
</tr></table>
... (truncated)
Sourced from typer's changelog.
0.15.1
Features
- 🗑️ Deprecate
shell_complete
and continue to useautocompletion
for CLI parameters. PR #974 by@svlandeg
.Docs
- ✏️ Fix a few typos in the source and documentation. PR #1028 by
@kkirsche
.- 📝 Fix minor inconsistencies and typos in tutorial. PR #1067 by
@tvoirand
.- ✏️ Fix a few small typos in the documentation. PR #1077 by
@svlandeg
.Internal
- 🔧 Update build-docs filter patterns. PR #1080 by
@tiangolo
.- 🔨 Update deploy docs preview script. PR #1079 by
@tiangolo
.- 🔧 Update members. PR #1078 by
@tiangolo
.- ⬆ [pre-commit.ci] pre-commit autoupdate. PR #1071 by
@pre-commit-ci[bot]
.- ⬆ Update httpx requirement from =0.27.0,<0.29.0. PR #1065 by
@dependabot[bot]
.0.15.0
Features
- ✨ Add support for extending typer apps without passing a name, add commands to the top level. PR #1037 by
@patrick91
.
- New docs: One File Per Command.
Internal
- ⬆ Bump mkdocs-material from 9.5.46 to 9.5.47. PR #1070 by
@dependabot[bot]
.- ⬆ Bump ruff from 0.8.0 to 0.8.1. PR #1066 by
@dependabot[bot]
.0.14.0
Breaking Changes
- 🔥 Remove auto naming of groups added via
add_typer
based on the group's callback function name. PR #1052 by@patrick91
.Before, it was supported to infer the name of a command group from the callback function name in the sub-app, so, in this code:
import typer
app = typer.Typer() users_app = typer.Typer()
app.add_typer(users_app)
@users
_app.callback() </tr></table>
... (truncated)
0b89650
🔖 Release version 0.15.1bd89bf6
📝 Update release notes3b9ce47
✏️ Fix a few typos in the source and documentation (#1028)95ba85f
📝 Update release notesdbc335b
📝 Fix minor inconsistencies and typos in tutorial (#1067)b88c327
📝 Update release notesd8e56e2
🗑️ Deprecate shell_complete
and continue to use
autocompletion
for CLI pa...5f378ee
📝 Update release notesb826dc4
✏️ Fix a few small typos in the documentation (#1077)9be60da
📝 Update release notesSourced from scikit-image's releases.
v0.25.0
scikit-image 0.25.0
We're happy to announce the release of scikit-image 0.25.0!
New Features
- Add the new Gray-Level Co-occurrence Matrix (GLCM) properties "mean", "variance", "standard deviation" and "entropy" to
skimage.feature.texture.graycoprops
(#7375).- Add the new
skimage.morphology.footprint_rectangle
supporting generation of rectangular or hyper-rectangular footprints in one function (#7566).API Changes
- Complete the deprecation of and remove
skimage.feature.plot_matches
. Useskimage.feature.plot_matched_features
going forward (#7487).- Deprecate
skimage.io.imshow
,skimage.io.imshow_collection
andskimage.io.show
. Please usematplotlib
,napari
, etc. to visualize images (#7508).- Remove deprecated
skimage.morphology.skeletonize_3d
; useskimage.morphology.skeletonize
instead (#7572).- Deprecate
skimage.io
plugin infrastructure (#7353).- Switched to using the
scipy.sparse
array interface. For more details, see the note about the newscipy.sparse
array interface here (#7576).- Deprecate
skimage.morphology.rectangle
in favor of the new functionskimage.morphology.footprint_rectangle
(#7566).- Deprecate
skimage.morphology.square
in favor of the new functionskimage.morphology.footprint_rectangle
(#7566).- Deprecate
skimage.morphology.cube
in favor of the new functionskimage.morphology.footprint_rectangle
(#7566).Enhancements
- Improve numerical stability of
skimage.morphology.local_minima
for extremely small floats (#7534).- Make sure that
skimage.feature.plot_matched_features
uses the same random colors, ifmatches_color
isn't provided explicitly (#7541).- Allow passing a sequence of colors to the parameter
matches_color
inskimage.feature.plot_matched_features
(#7541).Performance
skimage.feature.peak_local_max
will now skip unnecessary distance computations in the case ofmin_distance=1
. This results in performance improvements to functions likeskimage.feature.blob_dog
,skimage.feature.blob_log
,skimage.feature.blob_doh
andskimage.feature.corner_peaks
that callpeak_local_max
internally (#7548).- In
skimage.featurepeak_local_max
, skip unnecessary check for cases wheremin_distance > 1
is passed (#7548).Bug Fixes
- Ensure that
skimage.morphology.remove_objects_by_distance
doesn't fail if the given integer dtype cannot be safely cast to the architecture specific size ofintp
, e.g. on i386 architectures (#7453).- Fix degeneracy in
skimage.draw.ellipsoid_stats
when all semi-axes have the same length (#7473).- Prevent
skimage.morphology.thin
from accidentally modifying the input image in case it is of dtype uint8 (#7469).- Fix numerical precision error in
skimage.measure.ransac
. In some cases,ransac
was stopping at the first iteration (#7065).- Fix numerical precision error in
skimage.measure.ransac
; very small probabilities lead to -0 number of max trials (#7496).- Ensure that
RegionProperties
objects returned byskimage.measure.regionprops
can be deserialized with pickle (#7569).- Fix edge case where setting
watershed_lines=True
inskimage.segmentation.watershed
resulted in an incorrect solution (#7071).- Fix the behavior of
skimage.segmentation.watershed
when the markers don't align with local minima by making sure every marker is evaluated before successive pixels (#7071).- Fix dtype promotion in
skimage.segmentation.join_segmentations
ifnumpy.uint
is used with NumPy<2 (#7292).Documentation
- In
skimage.morphology.skeletonize
, clarify the expected image dtypes and how objects of different intensities are handled (#7456).- Fix example section in docstring of
skimage.feature.graycomatrix
(#7297).- Use conda-forge consistently in instructions for setting up the development environment (#7483).
- Use new
CITATION.cff
instead ofCITATION.bib
(#7505).
... (truncated)
f172eba
Designate 0.25.0 releaseaf12cc8
Fix CI (#7631)583af85
Bump versionee3f821
Designate 0.25.0rc2 releasea2a80b7
Lazy load legacy imports in skimage
top module (#6892)aa7042c
Change type annotation of ball radius from int to float (#7627)a854ec5
Upgrade to spin 0.13 (#7622)2d0c092
Add forgotten TODO about deprecated square
,
cube
& rectangle
(#7624)1bd1598
Fix join_segmentations
dtype error for np.uint (#7292)4fb2464
Replace square
, rectangle
, cube
with footprint_rectangle
(#7566)Sourced from pillow's releases.
11.0.0
https://pillow.readthedocs.io/en/stable/releasenotes/11.0.0.html
Removals
- Drop support for EOL PyPy3.9 #8335 [
@hugovk
]- Remove all WITH_* flags from _imaging.c and other flags #8211 [
@homm
]- Remove unused _util.is_directory #8259 [
@hugovk
]- Drop support for Python 3.8 #8183 [
@hugovk
]- Remove PSFile, PyAccess and USE_CFFI_ACCESS #8182 [
@hugovk
]Deprecations
- Deprecate ICNS (width, height, scale) sizes in favour of load(scale) #8352 [
@radarhere
]- Deprecate isImageType #8364 [
@radarhere
]- Deprecate support for FreeType 2.9.0 #8356 [
@hugovk
]- Remove WebP support without anim, mux/demux, and with buggy alpha #8213 [
@homm
]- Deprecate JpegImageFile huffman_ac and huffman_dc #8274 [
@radarhere
]- Deprecate ImageMath lambda_eval and unsafe_eval options argument #8242 [
@radarhere
]Changes
- Do not create core image in TIFF seek() #8392 [
@radarhere
]- Removed custom build_openjpeg #8365 [
@radarhere
]- Support writing LONG8 offsets in AppendingTiffWriter #8417 [
@radarhere
]- Use ImageFile.MAXBLOCK when saving TIFF images #8461 [
@radarhere
]- Always raise warnings for deprecated feature checks #8459 [
@radarhere
]- Do not close provided file handles with libtiff when saving #8458 [
@radarhere
]- Revert "Skip QEMU-emulated wheels on workflow dispatch event" #8455 [
@radarhere
]- Support ImageFilter.BuiltinFilter for I;16* images #8438 [
@radarhere
]- [pre-commit.ci] pre-commit autoupdate #8448 [
@pre-commit-ci
]- Use ImagingCore.ptr instead of ImagingCore.id #8341 [
@homm
]- Simplified code #8445 [
@radarhere
]- Removed unused code #8447 [
@radarhere
]- Updated EPS mode when opening images without transparency #8281 [
@Yay295
]- Use transparency when combining P frames from APNGs #8443 [
@radarhere
]- Generate and upload attestations to PyPI #8441 [
@hugovk
]- Do not convert images unnecessarily in ImageEnhance #8431 [
@radarhere
]- Raise an error if path is compacted during mapping #8416 [
@radarhere
]- Support all resampling filters when resizing I;16* images #8422 [
@radarhere
]- Free memory on early return #8413 [
@radarhere
]- Cast int before potentially exceeding INT_MAX #8402 [
@radarhere
]- Prevent division by zero #8408 [
@radarhere
]- Check image value before use #8400 [
@radarhere
]- Use ruff check #8423 [
@radarhere
]- Change harfbuzz versions in wheels #8421 [
@radarhere
]- Use Capsule for WebP saving #8386 [
@homm
]- Fixed writing multiple StripOffsets to TIFF #8317 [
@Yay295
]- Updated macOS deployment target for PyPy on Intel to 10.15 #8414 [
@radarhere
]- Fix dereference before checking for NULL in ImagingTransformAffine #8398 [
@PavlNekrasov
]
... (truncated)
Sourced from pillow's changelog.
11.0.0 (2024-10-15)