⬆️ Update all non-major dependencies #118
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:
2.7.0
->2.7.1
0.4.1
->0.5.0
9.1.11
->9.1.21
0.21.2
->0.22.0
1.3.0
->1.5.1
1.10.7
->1.10.12
7.3.1
->7.4.0
4.0.0
->4.1.0
0.0.265
->0.0.285
Release Notes
Kozea/CairoSVG (cairosvg)
v2.7.1
Compare Source
mkdocstrings/autorefs (mkdocs-autorefs)
v0.5.0
Compare Source
Compare with 0.4.1
Breaking Changes
Build
Bug Fixes
warning_filter
(7721103 by Kyle King). PR #30Code Refactoring
squidfunk/mkdocs-material (mkdocs-material)
v9.1.21
: mkdocs-material-9.1.21Compare Source
v9.1.20
: mkdocs-material-9.1.20Compare Source
v9.1.19
: mkdocs-material-9.1.19Compare Source
v9.1.18
: mkdocs-material-9.1.18Compare Source
v9.1.17
: mkdocs-material-9.1.17Compare Source
v9.1.16
: mkdocs-material-9.1.16Compare Source
v9.1.15
: mkdocs-material-9.1.15Compare Source
Dockerfile
to latest version of base image9
,9.1
) to Docker imagev9.1.14
: mkdocs-material-9.1.14Compare Source
v9.1.13
: mkdocs-material-9.1.13Compare Source
v9.1.12
: mkdocs-material-9.1.12Compare Source
mkdocstrings/mkdocstrings (mkdocstrings)
v0.22.0
Compare Source
Compare with 0.21.2
Features
Code Refactoring
python/mypy (mypy)
v1.5.1
Compare Source
v1.5.0
Compare Source
v1.4.1
Compare Source
v1.4.0
Compare Source
pydantic/pydantic (pydantic)
v1.10.12
Compare Source
maxlen
property being dropped ondeque
validation. Happened only if the deque item has been typed. Changes the_validate_sequence_like
func, #6581 by @maciekglowkav1.10.11
Compare Source
v1.10.10
Compare Source
Json
field support to settings management, #6250 by @hramezaniv1.10.9
Compare Source
v1.10.8
Compare Source
Literal
usage withtyping-extension==4.6.0
, #5826 by @hramezaniAnyClassMethod
for changes in python/typeshed#9771, #5505 by @ITProKylepytest-dev/pytest (pytest)
v7.4.0
Compare Source
pytest 7.4.0 (2023-06-23)
Features
ExceptionInfo.from_exception() <pytest.ExceptionInfo.from_exception>
{.interpreted-text role="func"}, a simpler way to create an~pytest.ExceptionInfo
{.interpreted-text role="class"} from an exception.This can replace
ExceptionInfo.from_exc_info() <pytest.ExceptionInfo.from_exc_info()>
{.interpreted-text role="func"} for most uses.Improvements
#10872: Update test log report annotation to named tuple and fixed inconsistency in docs for
pytest_report_teststatus
{.interpreted-text role="hook"} hook.#10907: When an exception traceback to be displayed is completely filtered out (by mechanisms such as
__tracebackhide__
, internal frames, and similar), now only the exception string and the following message are shown:"All traceback entries are hidden. Pass [--full-trace]{.title-ref} to see hidden and internal frames.".
Previously, the last frame of the traceback was shown, even though it was hidden.
#10940: Improved verbose output (
-vv
) ofskip
andxfail
reasons by performing text wrapping while leaving a clear margin for progress output.Added
TerminalReporter.wrap_write()
as a helper for that.#10991: Added handling of
%f
directive to print microseconds in log format options, such aslog-date-format
.#11005: Added the underlying exception to the cache provider's path creation and write warning messages.
#11013: Added warning when
testpaths
{.interpreted-text role="confval"} is set, but paths are not found by glob. In this case, pytest will fall back to searching from the current directory.#11043: When [--confcutdir]{.title-ref} is not specified, and there is no config file present, the conftest cutoff directory ([--confcutdir]{.title-ref}) is now set to the
rootdir <rootdir>
{.interpreted-text role="ref"}.Previously in such cases, [conftest.py]{.title-ref} files would be probed all the way to the root directory of the filesystem.
If you are badly affected by this change, consider adding an empty config file to your desired cutoff directory, or explicitly set [--confcutdir]{.title-ref}.
#11081: The
norecursedirs
{.interpreted-text role="confval"} check is now performed in apytest_ignore_collect
{.interpreted-text role="hook"} implementation, so plugins can affect it.If after updating to this version you see that your [norecursedirs]{.title-ref} setting is not being respected,
it means that a conftest or a plugin you use has a bad [pytest_ignore_collect]{.title-ref} implementation.
Most likely, your hook returns [False]{.title-ref} for paths it does not want to ignore,
which ends the processing and doesn't allow other plugins, including pytest itself, to ignore the path.
The fix is to return [None]{.title-ref} instead of [False]{.title-ref} for paths your hook doesn't want to ignore.
#8711:
caplog.set_level() <pytest.LogCaptureFixture.set_level>
{.interpreted-text role="func"} andcaplog.at_level() <pytest.LogCaptureFixture.at_level>
{.interpreted-text role="func"}will temporarily enable the requested
level
iflevel
was disabled globally vialogging.disable(LEVEL)
.Bug Fixes
--tb=line
mode wherepytest.fail(pytrace=False)
tests reportNone
.--last-failed
whole-file skipping functionality ("skipped N files") fornon-python test files <non-python tests>
{.interpreted-text role="ref"}.testpaths
{.interpreted-text role="confval"} to be considered for loading initial conftests,even when it was not utilized (e.g. when explicit paths were given on the command line).
Now the
testpaths
are only considered when they are in use.__tracebackhide__ = True
still being shown for chained exceptions (parts after "... the above exception ..." message).--debug
.Improved Documentation
caplog.set_level() <pytest.LogCaptureFixture.set_level>
{.interpreted-text role="func"}.Trivial/Internal Changes
-c
to now include--config-file
to make it clear that this flag applies to the usage of a custom config file.v7.3.2
Compare Source
pytest 7.3.2 (2023-06-10)
Bug Fixes
OSError: [Errno 36] File name too long
on some systems.testpaths
{.interpreted-text role="confval"} is now honored to load rootconftests
.--last-failed
's "(skipped N files)" functionality for files inside of packages (directories with [__init__.py]{.title-ref} files).pytest-dev/pytest-cov (pytest-cov)
v4.1.0
Compare Source
Contributed by Sorin Sbarnea in
#​558 <https://github.com/pytest-dev/pytest-cov/pull/558>
_.when
--cov-report=''
is used without--cov-fail-under
).Contributed by Jonathan Stewmon in
#​589 <https://github.com/pytest-dev/pytest-cov/pull/589>
_.Contributed by Matthew Gamble in
#​582 <https://github.com/pytest-dev/pytest-cov/pull/582>
_.Contributed by Mark Mayo in
#​572 <https://github.com/pytest-dev/pytest-cov/pull/572>
_.Contributed by a bunch of people in
#​565 <https://github.com/pytest-dev/pytest-cov/pull/565>
_.astral-sh/ruff (ruff)
v0.0.285
Compare Source
What's Changed
New rules
flake8-pytest-style
] Implementpytest-unittest-raises-assertion
(PT027
) by @harupy in https://github.com/astral-sh/ruff/pull/6554flake8-pytest-style
] Implementpytest-duplicate-parametrize-test-cases
(PT014
) by @harupy in https://github.com/astral-sh/ruff/pull/6598flake8-tidy-imports
] Implementbanned-module-level-imports
(TID253
) by @durumu in https://github.com/astral-sh/ruff/pull/6378pylint
] Implementbad-dunder-name
(W3201
) (in the Ruff nursery) by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6486pylint
] Implementsubprocess-run-check
(W1510
) by @tjkuson in https://github.com/astral-sh/ruff/pull/6487ruff
] Implementquadratic-list-summation
(RUF017
) by @evanrittenhouse in https://github.com/astral-sh/ruff/pull/6489Rule changes
flake8-bugbear
] Add autofix forB006
by @qdegraaf in https://github.com/astral-sh/ruff/pull/6131flake8-pyi
] Avoid applyingPYI055
to runtime-evaluated annotations by @charliermarsh in https://github.com/astral-sh/ruff/pull/6457flake8-self
] Allowos._exit
accesses inSLF001
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6490perflint
] IgnorePERF203
iftry
contains loop control flow statements by @evanrittenhouse in https://github.com/astral-sh/ruff/pull/6536pylint
] Check for invalid format type specifiers in nested replacements forPLE1300
by @zanieb in https://github.com/astral-sh/ruff/pull/6616tryceratops
] OmitNotImplementedError
fromTRY003
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6568Settings
.ipynb
and.pyi
sources when linting from stdin by @charliermarsh in https://github.com/astral-sh/ruff/pull/6628raises_require_match_for
andraises_require_match_for
by @harupy in https://github.com/astral-sh/ruff/pull/6635Bug Fixes
lambda-assignment
fix always-manual in class bodies by @charliermarsh in https://github.com/astral-sh/ruff/pull/6626E721
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6469E402
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6526invalid-envvar-value
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6538locals()
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6578await
in Jupyter notebooks by @charliermarsh in https://github.com/astral-sh/ruff/pull/6607pandas#values
for stores, deletes, or class accesses by @charliermarsh in https://github.com/astral-sh/ruff/pull/6631E712
fix by @charliermarsh in https://github.com/astral-sh/ruff/pull/6575I002
by @durumu in https://github.com/astral-sh/ruff/pull/6523PLE1300
by @zanieb in https://github.com/astral-sh/ruff/pull/6616Playground
Performance
New Contributors
Full Changelog: astral-sh/ruff@v0.0.284...v0.0.285
v0.0.284
Compare Source
What's Changed
This release fixes a few bugs. Notably, the previous release announced a breaking change where the default target
Python version changed from 3.10 to 3.8 but the change was not applied. Thanks to @rco-ableton for fixing this in
https://github.com/astral-sh/ruff/pull/6444
Bug Fixes
S108
if path is insidetempfile.*
call by @dhruvmanila in https://github.com/astral-sh/ruff/pull/6416New Contributors
Full Changelog: astral-sh/ruff@v0.0.283...v0.0.284
v0.0.283
Compare Source
What's Changed
Breaking Changes
Rules
flake8-pyi
]PYI019
: Detects if a type variable is used instead ofSelf
in return annotations by @qdegraaf in https://github.com/astral-sh/ruff/pull/6204flake8-pyi
]PYI051
: Detects unions ofLiteral
types by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6215flake8-pyi
]PYI055
: Detects unions oftype
s by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6316pylint
]E1300
: Detects invalid string format characters by @silvanocerza in https://github.com/astral-sh/ruff/pull/6171pyupgrade
]UP040
: Upgrades type alias annotations to use PEP-695 syntax by @zanieb in https://github.com/astral-sh/ruff/pull/6289Rule Changes
flake8-boolean-trap
]FBT003
: Addis_
andis_not
to excluded functions by @zanieb in https://github.com/astral-sh/ruff/pull/6307flake8-logging-format
] Allow capitalized names for logger candidate heuristic match by @charliermarsh in https://github.com/astral-sh/ruff/pull/6356flake8-pyi
] Applicable rules are now checked non-stub code by @andersk in https://github.com/astral-sh/ruff/pull/6297PYI013
:ellipsis-in-non-empty-class-body
PYI016
:duplicate-union-member
PYI018
:unused-private-type-var
PYI019
:custom-type-var-return-type
PYI024
:collections-named-tuple
PYI025
:unaliased-collections-abc-set-import
PYI030
:unnecessary-literal-union
PYI032
:any-eq-ne-annotation
PYI034
:non-self-return-type
PYI036
:bad-exit-annotation
PYI041
:redundant-numeric-union
PYI042
:snake-case-type-alias
PYI043
:t-suffixed-type-alias
PYI045
:iter-method-return-iterable
PYI046
:unused-private-protocol
PYI047
:unused-private-type-alias
PYI049
:unused-private-typed-dict
PYI050
:no-return-argument-annotation-in-stub
(Python ≥ 3.11)PYI051
:redundant-literal-union
PYI056
:unsupported-method-call-on-all
flake8-pyi
]PYI027
is being replaced byPYI022
/UP035
by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6354pydocstyle
]D103
: Don't require docstrings in.pyi
files by @charliermarsh in https://github.com/astral-sh/ruff/pull/6239pydocstyle
]D203
: Ignore same-line docstrings for lines-before and lines-after rules by @charliermarsh in https://github.com/astral-sh/ruff/pull/6344pylint
]PLE0605
: Allow generic tuple and list calls in__all__
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6247pylint
]PLR0124
: Add detection of comparisons with built-in calls by @charliermarsh in https://github.com/astral-sh/ruff/pull/6324pyupgrade
]UP032
: Add support forawait
expressions in f-strings by @harupy in https://github.com/astral-sh/ruff/pull/6304pyupgrade
]UP032
: Add support for implicitly concatenated strings by @harupy in https://github.com/astral-sh/ruff/pull/6263pyupgrade
]UP032
: Add support for repeated format fields by @harupy in https://github.com/astral-sh/ruff/pull/6266ruff
]RUF012
: PermitClassVar
andFinal
without subscript by @bluetech in https://github.com/astral-sh/ruff/pull/6273Bug Fixes
flake8-bugbear
]B006
: Respecttyping_extensions
imports ofAnnotated
by @PIG208 in https://github.com/astral-sh/ruff/pull/6361flake8-pyi
]PYI019
: Fix panic with positional-only arguments by @charliermarsh in https://github.com/astral-sh/ruff/pull/6350flake8-use-pathlib
] Avoid raisingPTH206
withmaxsplit
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6283flake8
]F841
: Update autofix to not remove Jupyer magic expressions by @dhruvmanila in https://github.com/astral-sh/ruff/pull/6141pycodestyle
]E721
: Include comparisons to builtin types by @charliermarsh in https://github.com/astral-sh/ruff/pull/6325pycodestyle
]E721
: Match left-hand sidetypes()
call intypes-comparison
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6326pyupgrade
]UP031
: Avoid auto-fixing if there are comments within the right-hand side by @harupy in https://github.com/astral-sh/ruff/pull/6364pyupgrade
]UP032
: Avoid auto-fixing if comments are present around format call arguments by @harupy in https://github.com/astral-sh/ruff/pull/6342pyupgrade
]UP032
: Improve invalid expression check by @harupy in https://github.com/astral-sh/ruff/pull/6308.format(...)
calls with too-few-arguments by @charliermarsh in https://github.com/astral-sh/ruff/pull/6401.gitignore
files in parent directories were incorrectly used by @charliermarsh in https://github.com/astral-sh/ruff/pull/6368Union
expressions by @charliermarsh in https://github.com/astral-sh/ruff/pull/6399Playground
Other Changes
New Contributors
Full Changelog: astral-sh/ruff@v0.0.282...v0.0.283
v0.0.282
Compare Source
What's Changed
Bug Fixes
quoted-annotation
rule (#5766)" by @charliermarsh in https://github.com/astral-sh/ruff/pull/6237New Contributors
Full Changelog: astral-sh/ruff@v0.0.281...v0.0.282
v0.0.281
Compare Source
What's Changed
See the release blog post for more, including detailed descriptions of any newly added rules.
New rules
flake8-pyi
] ImplementPYI018
by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6018flake8-pyi
] ImplementPYI047
by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6134flake8-pyi
] ImplementPYI049
by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6136flake8-pyi
] ImplementPYI056
by @LaBatata101 in https://github.com/astral-sh/ruff/pull/5959flake8-pyi
] ImplementPYI046
by @LaBatata101 in https://github.com/astral-sh/ruff/pull/6098flake8-use-pathlib
] Implementglob
(PTH207
) by @sbrugman in https://github.com/astral-sh/ruff/pull/5939flake8-use-pathlib
] Implementos-sep-split
(PTH206
) by @sbrugman in https://github.com/astral-sh/ruff/pull/5936pycodestyle
] ImplementE241
andE242
(tab/multiple ws after commas) by @akx in https://github.com/astral-sh/ruff/pull/6094pylint
] Implementself-assigning-variable
(W0127
) by @tjkuson in https://github.com/astral-sh/ruff/pull/6015pylint
] Implementeq-without-hash
rule (PLW1641) by @jelly in https://github.com/astral-sh/ruff/pull/5955pylint
] Implementsubprocess-popen-preexec-fn
(W1509
) by @tjkuson in https://github.com/astral-sh/ruff/pull/5978Rule changes
flake8-bugbear
] ExtendsB002
to detect unary prefix decrement operators by @tjkuson in https://github.com/astral-sh/ruff/pull/5998flake8-pytest-style
] Avoid raising PT012 for simplewith
statements by @harupy in https://github.com/astral-sh/ruff/pull/6081flake8-pytest-style
] Allow pytest.raises body to contain a single func or class definition by @harupy in https://github.com/astral-sh/ruff/pull/6083flake8-simplify
] Extend SIM118 withnot in
by @sbrugman in https://github.com/astral-sh/ruff/pull/5995perflint
] SkipPERF203
violations for multi-statement loops by @charliermarsh in https://github.com/astral-sh/ruff/pull/6145pyupgrade
] Add support forint
,float
,bool
inUP018
by @dhruvmanila in https://github.com/astral-sh/ruff/pull/6013tryceratops
] Add suggested fix forTRY201
by @dhruvmanila in https://github.com/astral-sh/ruff/pull/6008Settings
logging.Logger
re-exports vialogger-objects
by @charliermarsh in https://github.com/astral-sh/ruff/pull/5750max-complexity
to 10 for empty McCabe settings by @charliermarsh in https://github.com/astral-sh/ruff/pull/6073pep8-naming
]: New config optionextend-ignore-names
by @dhruvmanila in https://github.com/astral-sh/ruff/pull/6169Bug Fixes
UP032
ifformat
call arguments contain multiline expressions by @harupy in https://github.com/astral-sh/ruff/pull/5971F507
false positive by @harupy in https://github.com/astral-sh/ruff/pull/5986Literal
members as expressions with__future__
by @charliermarsh in https://github.com/astral-sh/ruff/pull/6032x[:1]
-like slices in RUF015 by @charliermarsh in https://github.com/astral-sh/ruff/pull/6150self
accesses by @charliermarsh in https://github.com/astral-sh/ruff/pull/6165[
as an invalid noqa suffix by @charliermarsh in https://github.com/astral-sh/ruff/pull/5982explicit-string-concatenation
on single line by @tjkuson in https://github.com/astral-sh/ruff/pull/6028SIM102
to handle indentedelif
by @harupy in https://github.com/astral-sh/ruff/pull/6072PTH201
forPath("")
by @harupy in https://github.com/astral-sh/ruff/pull/6095SIM115
to coverpathlib.Path.open
by @harupy in https://github.com/astral-sh/ruff/pull/611--diff
for Jupyter Notebooks by @dhruvmanila in https://github.com/astral-sh/ruff/pull/6149SIM105
for non-exceptions by @sbrugman in https://github.com/astral-sh/ruff/pull/5985New Contributors
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.