⬆️ Update all non-major dependencies #164
Merged
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.3.0
->24.4.2
1.2.4
->1.2.6
9.5.18
->9.5.29
0.24.3
->0.25.1
1.9.0
->1.11.0
10.3.0
->10.4.0
2.7.0
->2.8.2
8.1.1
->8.3.1
0.4.1
->0.5.4
Release Notes
psf/black (black)
v24.4.2
Compare Source
This is a bugfix release to fix two regressions in the new f-string parser introduced in
24.4.1.
Parser
Performance
v24.4.1
Compare Source
Highlights
Stable style
Parser
by PEP 696 (#4327)
Integrations
git archive
is skipped (#4313)v24.4.0
Compare Source
Stable style
Preview style
if
guards incase
blocks are now wrapped in parentheses when the line is too long.(#4269)
Integrations
use_pyproject
to the GitHub Actionpsf/black
. This will read theBlack version from
pyproject.toml
. (#4294)timvink/mkdocs-git-revision-date-localized-plugin (mkdocs-git-revision-date-localized-plugin)
v1.2.6
: revision-date-localized v1.2.6Compare Source
What's Changed
Full Changelog: timvink/mkdocs-git-revision-date-localized-plugin@v1.2.5...v1.2.6
v1.2.5
: revision-date-localized v1.2.5Compare Source
What's Changed
_vars
deprecation warning by @dbermuehler in https://github.com/timvink/mkdocs-git-revision-date-localized-plugin/pull/132New Contributors
Full Changelog: timvink/mkdocs-git-revision-date-localized-plugin@v1.2.4...v1.2.5
squidfunk/mkdocs-material (mkdocs-material)
v9.5.29
: mkdocs-material-9.5.29Compare Source
Thanks go to @mmontes11 for their contributions
v9.5.28
: mkdocs-material-9.5.28Compare Source
v9.5.27
: mkdocs-material-9.5.27Compare Source
Thanks to @Eilyre for their contributions
v9.5.26
: mkdocs-material-9.5.26Compare Source
v9.5.25
: mkdocs-material-9.5.25Compare Source
v9.5.24
: mkdocs-material-9.5.24Compare Source
v9.5.23
: mkdocs-material-9.5.23Compare Source
v9.5.22
: mkdocs-material-9.5.22Compare Source
v9.5.21
: mkdocs-material-9.5.21Compare Source
Thanks to @kamilkrzyskow for their contributions
v9.5.20
: mkdocs-material-9.5.20Compare Source
v9.5.19
: mkdocs-material-9.5.19Compare Source
setup.py
, now that GitHub fully understandspyproject.toml
mkdocstrings/mkdocstrings (mkdocstrings)
v0.25.1
Compare Source
Compare with 0.25.0
Bug Fixes
v0.25.0
Compare Source
Compare with 0.24.3
Features
once
parameter in logging methods, allowing to log a message only once with a given logger (1532b59 by Timothée Mazzucotelli).::: path
and YAML options (d799d2f by Timothée Mazzucotelli). Issue-450Code Refactoring
python/mypy (mypy)
v1.11.0
Compare Source
v1.10.1
Compare Source
v1.10.0
Compare Source
python-pillow/Pillow (pillow)
v10.4.0
Compare Source
Raise FileNotFoundError if show_file() path does not exist #8178
[radarhere]
Improved reading 16-bit TGA images with colour #7965
[Yay295, radarhere]
Deprecate non-image ImageCms modes #8031
[radarhere]
Fixed processing multiple JPEG EXIF markers #8127
[radarhere]
Do not preserve EXIFIFD tag by default when saving TIFF images #8110
[radarhere]
Added ImageFont.load_default_imagefont() #8086
[radarhere]
Added Image.WARN_POSSIBLE_FORMATS #8063
[radarhere]
Remove zero-byte end padding when parsing any XMP data #8171
[radarhere]
Do not detect Ultra HDR images as MPO #8056
[radarhere]
Raise SyntaxError specific to JP2 #8146
[Yay295, radarhere]
Do not use first frame duration for other frames when saving APNG images #8104
[radarhere]
Consider I;16 pixel size when using a 1 mode mask #8112
[radarhere]
When saving multiple PNG frames, convert to mode rather than raw mode #8087
[radarhere]
Added byte support to FreeTypeFont #8141
[radarhere]
Allow float center for rotate operations #8114
[radarhere]
Do not read layers immediately when opening PSD images #8039
[radarhere]
Restore original thread state #8065
[radarhere]
Read IM and TIFF images as RGB, rather than RGBX #7997
[radarhere]
Only preserve TIFF IPTC_NAA_CHUNK tag if type is BYTE or UNDEFINED #7948
[radarhere]
Clarify ImageDraw2 error message when size is missing #8165
[radarhere]
Support unpacking more rawmodes to RGBA palettes #7966
[radarhere]
Removed support for Qt 5 #8159
[radarhere]
Improve
ImageFont.freetype
support for XDG directories on Linux #8135[mamg22, radarhere]
Improved consistency of XMP handling #8069
[radarhere]
Use pkg-config to help find libwebp and raqm #8142
[radarhere]
Accept 't' suffix for libtiff version #8126, #8129
[radarhere]
Deprecate ImageDraw.getdraw hints parameter #8124
[radarhere, hugovk]
Added ImageDraw circle() #8085
[void4, hugovk, radarhere]
Add mypy target to Makefile #8077
[Yay295]
Added more modes to Image.MODES #7984
[radarhere]
Deprecate BGR;15, BGR;16 and BGR;24 modes #7978
[radarhere, hugovk]
Fix ImagingAccess for I;16N on big-endian #7921
[Yay295, radarhere]
Support reading P mode TIFF images with padding #7996
[radarhere]
Deprecate support for libtiff < 4 #7998
[radarhere, hugovk]
Corrected ImageShow UnixViewer command #7987
[radarhere]
Use functools.cached_property in ImageStat #7952
[nulano, hugovk, radarhere]
Add support for reading BITMAPV2INFOHEADER and BITMAPV3INFOHEADER #7956
[Cirras, radarhere]
Support reading CMYK JPEG2000 images #7947
[radarhere]
pydantic/pydantic (pydantic)
v2.8.2
: (2024-07-03)Compare Source
What's Changed
Fixes
Full Changelog: pydantic/pydantic@v2.8.1...v2.8.2
v2.8.1
: (2024-07-03)Compare Source
What's Changed
Packaging
ruff
tov0.5.0
andpyright
tov1.1.369
by @sydney-runkle in https://github.com/pydantic/pydantic/pull/9801pydantic-core
tov2.20.1
,pydantic-extra-types
tov2.9.0
by @sydney-runkle in https://github.com/pydantic/pydantic/pull/9832Fixes
to_snake
from v2.7 -> v2.8 by @sydney-runkle in https://github.com/pydantic/pydantic/pull/9812New Contributors
Full Changelog: pydantic/pydantic@v2.8.0...v2.8.1
v2.8.0
Compare Source
GitHub release
The code released in v2.8.0 is functionally identical to that of v2.8.0b1.
What's Changed
Packaging
v1.1.367
and add type checking tests for pipeline API by @adriangb in #9674pydantic.v1
stub tov1.10.17
by @sydney-runkle in #9707v2.8.0b1
by @sydney-runkle in #9741pydantic-core
tov2.20.0
by @sydney-runkle in #9745pdm
version used forpdm.lock
to v2.16.1 by @sydney-runkle in #9761ruff
v0.4.8
by @Viicos in #9585New Features
defer_build
forTypeAdapter
by @MarkusSintonen in #8939deprecated
field in json schema by @NeevCohen in #9298fail_fast
feature by @uriyyo in #9708ser_json_inf_nan='strings'
mode to produce valid JSON by @josh-newman in pydantic/pydantic-core#1307Changes
Annotated
field by @nix010 in #9170__validators__
values increate_model
by @sydney-runkle in #9697smart
union matching logic by @sydney-runkle in pydantic/pydantic-core#1322You can read more about our
smart
union matching logic here. In some cases, if the old behavioris desired, you can switch to
left-to-right
mode and change the order of yourUnion
members.Performance
Internal Improvements
_display_error_loc()
by 25% inpydantic/v1/error_wrappers.py
by @misrasaurabh1 in #9653_get_all_json_refs()
by 34% inpydantic/json_schema.py
by @misrasaurabh1 in #9650is_pydantic_dataclass()
by 41% inpydantic/dataclasses.py
by @misrasaurabh1 in #9652to_snake()
by 27% inpydantic/alias_generators.py
by @misrasaurabh1 in #9747unwrap_wrapped_function()
by 93% inpydantic/_internal/_decorators.py
by @misrasaurabh1 in #9727Fixes
__spec__.parent
with__package__
by @hramezani in #9331Sequence
type by @anesmemisevic in #9303_frame_depth
by @Viicos in #9353ImportString
json schema compatible by @amitschang in #9344PrivateAttr
) from__init__
signature in type checkers by @idan22moral in #9293TypeVar
defaults robust to the CPythonPEP-696
implementation by @AlexWaygood in #9426PlainSerializer
with builtin types by @Viicos in #9450strict
specification forStringConstraint(strict=False)
by @vbmendes in #9476Self
where possible by @Viicos in #9479RootModel.model_construct
signature in themypy
plugin by @Viicos in #9480validation_context
by @OhioDschungel6 in #9508dump_json
/dump_python
by @alexcouper in #9495Field()
constructor by @bjmc in #9484TypeAdapter
by @Viicos in #9570__setstate__
of BaseModel by @anhpham1509 in #9584PEP 746
by @adriangb in #9587TypeVar
fields by @dmontagu in #9606regex
flags in validation and json schema by @sydney-runkle in #9591IpvAnyAddress
by @sydney-runkle in #9640__pydantic_extra__
by @dmontagu in #9659Optional[Decimal]
by @lazyhope in #9754validate_call
type params fix by @sydney-runkle in #9760re.Pattern
object in regex patterns to allow for regex flags by @sydney-runkle in pydantic/pydantic-core#1318New Contributors
v2.7.4
Compare Source
Github release
What's Changed
Packaging
pydantic.v1
tov1.10.16
reference by @sydney-runkle in #9639Fixes
recursive_guard
as kwarg inFutureRef._evaluate
by @vfazio in #9612v2.7.3
Compare Source
GitHub release
What's Changed
Packaging
pydantic-core
tov2.18.4
by @sydney-runkle in #9550Fixes
v2.7.2
Compare Source
GitHub release
What's Changed
Packaging
pydantic-core
tov2.18.3
by @sydney-runkle in #9515Fixes
__spec__.parent
with__package__
by @hramezani in #9331int
s with leading unary minus by @RajatRajdeep in pydantic/pydantic-core#1291str
subclass validation for enums by @sydney-runkle in [pydantic/pydantic-core#1273]https://github.com/pydantic/pydantic-core/pull/1273BigInt
s inLiteral
s andEnum
s by @samuelcolvin in [pydantic/pydantic-core#1297]https://github.com/pydantic/pydantic-core/pull/1297str
subclass as input by @davidhewitt in [pydantic/pydantic-core#1296]https://github.com/pydantic/pydantic-core/pull/1296v2.7.1
Compare Source
GitHub release
What's Changed
Packaging
pydantic-core
tov2.18.2
by @sydney-runkle in #9307New Features
Changes
…
by @LouisGobert in #9214Fixes
validation_alias
behavior withmodel_construct
forAliasChoices
andAliasPath
by @sydney-runkle in #9223typing.Literal
and import it outside the TYPE_CHECKING block by @frost-nzcr4 in #9232Secret
serialization schema, applicable for unions by @sydney-runkle in #9240strict
application tofunction-after
withuse_enum_values
by @sydney-runkle in #9279model_construct
on a class which definesmodel_post_init
fails withAttributeError
by @babygrimes in #9168model_json_schema
with config types by @NeevCohen in #9287int
by @samuelcolvin in pydantic/pydantic-core#1269int
s with leading unary plus by @cknv in pydantic/pydantic-core#1272extra != 'ignore'
andfrom_attributes=True
by @davidhewitt in pydantic/pydantic-core#1276Enum
'smissing
function asValidationError
by @sydney-runkle in pydantic/pydantic-core#1274Iterable
validation by @davidhewitt in pydantic/pydantic-core#1271New Contributors
pytest-dev/pytest (pytest)
v8.3.1
Compare Source
pytest 8.3.1 (2024-07-20)
The 8.3.0 release failed to include the change notes and docs for the release. This patch release remedies this. There are no other changes.
v8.3.0
Compare Source
v8.2.2
Compare Source
pytest 8.2.2 (2024-06-04)
Bug Fixes
.pytest_cache
) creation. Regressed in pytest 8.2.0.Improved Documentation
lack of thread safety in pytest as a possible source of flakyness.
v8.2.1
Compare Source
pytest 8.2.1 (2024-05-19)
Improvements
Bug Fixes
.pytest_cache
directories becamerwx------
instead of the expectedrwxr-xr-x
.Trivial/Internal Changes
v8.2.0
Compare Source
pytest 8.2.0 (2024-04-27)
Deprecations
#12069: A deprecation warning is now raised when implementations of one of the following hooks request a deprecated
py.path.local
parameter instead of thepathlib.Path
parameter which replaced it:pytest_ignore_collect
{.interpreted-text role="hook"} - thepath
parameter - usecollection_path
instead.pytest_collect_file
{.interpreted-text role="hook"} - thepath
parameter - usefile_path
instead.pytest_pycollect_makemodule
{.interpreted-text role="hook"} - thepath
parameter - usemodule_path
instead.pytest_report_header
{.interpreted-text role="hook"} - thestartdir
parameter - usestart_path
instead.pytest_report_collectionfinish
{.interpreted-text role="hook"} - thestartdir
parameter - usestart_path
instead.The replacement parameters are available since pytest 7.0.0.
The old parameters will be removed in pytest 9.0.0.
See
legacy-path-hooks-deprecated
{.interpreted-text role="ref"} for more details.Features
#11871: Added support for reading command line arguments from a file using the prefix character
@
, like e.g.:pytest @​tests.txt
. The file must have one argument per line.See
Read arguments from file <args-from-file>
{.interpreted-text role="ref"} for details.Improvements
#11523:
pytest.importorskip
{.interpreted-text role="func"} will now issue a warning if the module could be found, but raisedImportError
{.interpreted-text role="class"} instead ofModuleNotFoundError
{.interpreted-text role="class"}.The warning can be suppressed by passing
exc_type=ImportError
topytest.importorskip
{.interpreted-text role="func"}.See
import-or-skip-import-error
{.interpreted-text role="ref"} for details.#11728: For
unittest
-based tests, exceptions during class cleanup (as raised by functions registered withTestCase.addClassCleanup <unittest.TestCase.addClassCleanup>
{.interpreted-text role="meth"}) are now reported instead of silently failing.#11777: Text is no longer truncated in the
short test summary info
section when-vv
is given.#12112: Improved namespace packages detection when
consider_namespace_packages
{.interpreted-text role="confval"} is enabled, covering more situations (like editable installs).#9502: Added
PYTEST_VERSION
{.interpreted-text role="envvar"} environment variable which is defined at the start of the pytest session and undefined afterwards. It contains the value ofpytest.__version__
, and among other things can be used to easily check if code is running from within a pytest run.Bug Fixes
#12065: Fixed a regression in pytest 8.0.0 where test classes containing
setup_method
and tests using@staticmethod
or@classmethod
would crash withAttributeError: 'NoneType' object has no attribute 'setup_method'
.Now the
request.instance <pytest.FixtureRequest.instance>
{.interpreted-text role="attr"} attribute of tests using@staticmethod
and@classmethod
is no longerNone
, but a fresh instance of the class, like in non-static methods.Previously it was
None
, and all fixtures of such tests would share a singleself
.#12135: Fixed issue where fixtures adding their finalizer multiple times to fixtures they request would cause unreliable and non-intuitive teardown ordering in some instances.
#12194: Fixed a bug with
--importmode=importlib
and--doctest-modules
where child modules did not appear as attributes in parent modules.#1489: Fixed some instances where teardown of higher-scoped fixtures was not happening in the reverse order they were initialized in.
Trivial/Internal Changes
pluggy>=1.5.0
is now required.cache <cache>
{.interpreted-text role="ref"}: create supporting files (CACHEDIR.TAG
,.gitignore
, etc.) in a temporary directory to provide atomic semantics.v8.1.2
Compare Source
pytest 8.1.2 (2024-04-26)
Bug Fixes
pytest.approx
{.interpreted-text role="func"} when used with [numpy]{.title-ref} arrays and comparing with other types.astral-sh/ruff (ruff)
v0.5.4
[Compare So
Configuration
📅 Schedule: Branch creation - "after 11am on friday" in timezone Europe/Amsterdam, 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.