chore(deps): update dev python tools #453
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:
==0.27.2
->==0.28.0
==8.3.3
->==8.3.4
==0.8.0
->==0.8.1
Release Notes
encode/httpx (httpx)
v0.28.0
Compare Source
The 0.28 release includes a limited set of deprecations.
Deprecations:
We are working towards a simplified SSL configuration API.
For users of the standard
verify=True
orverify=False
cases, orverify=<ssl_context>
case this should require no changes. The following cases have been deprecated...verify
argument as a string argument is now deprecated and will raise warnings.cert
argument is now deprecated and will raise warnings.Our revised SSL documentation covers how to implement the same behaviour with a more constrained API.
The following changes are also included:
proxies
argument has now been removed.app
argument has now been removed.certifi
andhttpcore
are only imported if required. (#3377)socks5h
as a valid proxy scheme. (#3178)Request()
method signature in line withclient.request()
andhttpx.request()
. (#3378)pytest-dev/pytest (pytest)
v8.3.4
Compare Source
pytest 8.3.4 (2024-12-01)
Bug fixes
#12592: Fixed
KeyError
{.interpreted-text role="class"} crash when using--import-mode=importlib
in a directory layout where a directory contains a child directory with the same name.#12818: Assertion rewriting now preserves the source ranges of the original instructions, making it play well with tools that deal with the
AST
, like executing.#12849: ANSI escape codes for colored output now handled correctly in
pytest.fail
{.interpreted-text role="func"} with [pytrace=False]{.title-ref}.#9353:
pytest.approx
{.interpreted-text role="func"} now uses strict equality when given booleans.Improved documentation
#10558: Fix ambiguous docstring of
pytest.Config.getoption
{.interpreted-text role="func"}.#10829: Improve documentation on the current handling of the
--basetemp
option and its lack of retention functionality (temporary directory location and retention
{.interpreted-text role="ref"}).#12866: Improved cross-references concerning the
recwarn
{.interpreted-text role="fixture"} fixture.#12966: Clarify
filterwarnings
{.interpreted-text role="ref"} docs on filter precedence/order when using multiple@pytest.mark.filterwarnings <pytest.mark.filterwarnings ref>
{.interpreted-text role="ref"} marks.Contributor-facing changes
astral-sh/ruff (ruff)
v0.8.1
Compare Source
Preview features
**
) in overlong f-string expressions (#14489)airflow
] Avoid implicitschedule
argument toDAG
and@dag
(AIR301
) (#14581)flake8-builtins
] Exempt private built-in modules (A005
) (#14505)flake8-pytest-style
] Fixpytest.mark.parametrize
rules to check calls instead of decorators (#14515)flake8-type-checking
] Implementruntime-cast-value
(TC006
) (#14511)flake8-type-checking
] Implementunquoted-type-alias
(TC007
) andquoted-type-alias
(TC008
) (#12927)flake8-use-pathlib
] RecommendPath.iterdir()
overos.listdir()
(PTH208
) (#14509)pylint
] Extendinvalid-envvar-default
to detectos.environ.get
(PLW1508
) (#14512)pylint
] Implementlen-test
(PLC1802
) (#14309)refurb
] Fix bug where methods defined using lambdas were flagged byFURB118
(#14639)ruff
] Auto-addr
prefix when string has no backslashes forunraw-re-pattern
(RUF039
) (#14536)ruff
] Implementinvalid-assert-message-literal-argument
(RUF040
) (#14488)ruff
] Implementunnecessary-nested-literal
(RUF041
) (#14323)ruff
] Implementunnecessary-regular-expression
(RUF055
) (#14659)Rule changes
pep8-naming
] Eliminate false positives for single-letter names (N811
,N814
) (#14584)pyflakes
] Avoid false positives in@no_type_check
contexts (F821
,F722
) (#14615)ruff
] Detect redirected-noqa in file-level comments (RUF101
) (#14635)ruff
] Mark fixes forunsorted-dunder-all
andunsorted-dunder-slots
as unsafe when there are complex comments in the sequence (RUF022
,RUF023
) (#14560)Bug fixes
None | None
forredundant-none-literal
(PYI061
) andnever-union
(RUF020
) (#14583, #14589)flake8-bugbear
] Fixmutable-contextvar-default
to resolve annotated function calls properly (B039
) (#14532)flake8-pyi
,ruff
] Fix traversal of nested literals and unions (PYI016
,PYI051
,PYI055
,PYI062
,RUF041
) (#14641)flake8-pyi
] Avoid rewriting invalid type expressions inunnecessary-type-union
(PYI055
) (#14660)flake8-type-checking
] Avoid syntax errors and type checking problem for quoted annotations autofix (TC003
,TC006
) (#14634)pylint
] Do not wrap function calls in parentheses in the fix for unnecessary-dunder-call (PLC2801
) (#14601)ruff
] Handleattrs
'sauto_attribs
correctly (RUF009
) (#14520)Configuration
📅 Schedule: Branch creation - "on sunday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.