Update requirements.txt (major)#127
Open
red-hat-konflux[bot] wants to merge 1 commit into
Open
Conversation
7bc9fdb to
30a425b
Compare
681c47e to
d3c6f83
Compare
8af97de to
a4e6be2
Compare
a4e6be2 to
cca2292
Compare
0de1ee3 to
f9951a8
Compare
fdd888e to
ac1608b
Compare
37564fb to
8289da5
Compare
5cc702a to
ae9ff11
Compare
b9b4f06 to
1dec79c
Compare
1dec79c to
98ab92a
Compare
9ac886c to
4531933
Compare
eb8a276 to
ea273d5
Compare
ea273d5 to
bcc2f7e
Compare
4d1d3c1 to
83ef04d
Compare
a236845 to
5be9091
Compare
4c2de7a to
78fdaed
Compare
4a4655c to
0bfced9
Compare
b613499 to
28774fe
Compare
13a2bb6 to
c6669b7
Compare
1841aa2 to
c44ff0b
Compare
cc44bd2 to
260b3a1
Compare
5c168a2 to
aa5e5b2
Compare
6477e9b to
80aa23c
Compare
131b17b to
c33fc37
Compare
c33fc37 to
c041a75
Compare
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
==3.3.9→==4.1.2==25.1.0→==26.5.1==2024.8.30→==2026.6.17==1.7.3→==2.1.0==24.1.0→==25.1.0==8.7.0→==9.0.0==6.0.1→==8.0.1==2.1.5→==3.0.3==0.26.1→==1.0.4==1.11.1→==2.0.5==24.2→==26.2==0.12.1→==1.1.1==6.1.1→==7.0.3==3.3.6→==4.0.6==10.15→==11.0==8.3.5→==9.1.1==0.1→==1.1==2024.11.6→==2026.6.28==78.1.1→==82.0.1==7.1.0→==10.2.0==3.28.0→==4.56.1==2025.3.19.19→==2026.6.1.19==20.30.0→==21.5.1==5.0.2→==6.0.0==3.21.0→==4.1.0Warning
Some dependencies could not be looked up. Check the warning logs for more information.
Release Notes
pylint-dev/astroid (astroid)
v4.1.2Compare Source
============================
Release date: 2026-03-22
Fix crash accessing property
fsetin generic classes with type annotations.Closes #2996
Fix infinite recursion caused by cyclic inference in
Constraint.Fix
RecursionErrorin_compute_mro()when circular class hierarchiesare created through runtime name rebinding. Circular bases are now resolved
to the original class instead of recursing.
Closes #2967
Closes pylint-dev/pylint#10821
Fix
DuplicateBasesErrorcrash in dataclass transform when a class hasduplicate bases in its MRO (e.g.,
Protocolappearing both directly andindirectly). Catch
MroErrorat.mro()call sites inbrain_dataclasses.py, consistent with the existing pattern elsewhere.Closes #2628
Fix
FunctionModelreturning descriptor attributes for builtin functions.Closes #2743
Catch
MemoryErrorwhen inferring f-strings with extremely large formatwidths (e.g.
f'{0:11111111111}') so that inference yieldsUninferableinstead of crashing.
Closes #2762
Fix
ValueErrorin__str__/reprand error messages when nodes haveextreme values (very long identifiers or large integers). Clamp pprint width
to a minimum of 1 and truncate oversized values in error messages.
Closes #2764
v4.1.1Compare Source
============================
Release date: 2026-02-22
Let
UnboundMethodModelinherit fromFunctionModelto improve inference ofdunder methods for unbound methods.
Refs #2741
Filter
UnknownfromUnboundMethodandSuperspecial attributelookup to prevent placeholder nodes from leaking during inference.
Refs #2741
v4.1.0Compare Source
============================
Release date: 2026-02-08
Add support for equality constraints (
==,!=) in inference.Closes pylint-dev/pylint#3632
Closes pylint-dev/pylint#3633
Ensure
ast.JoinedStrnodes areUninferablewhen theast.FormattedValueisUninferable. This preventsunexpected-keyword-argmessages in Pylintwhere the
Uninferablestring appeared in function arguments that wereconstructed dynamically.
Closes pylint-dev/pylint#10822
Add support for type constraints (
isinstance(x, y)) in inference.Closes pylint-dev/pylint#1162
Closes pylint-dev/pylint#4635
Closes pylint-dev/pylint#10469
Make
type.__new__()raise clear errors instead of returningNoneMove object dunder methods from
FunctionModeltoObjectModelto make themavailable on all object types, not just functions.
Closes #2742
Closes #2741
Closes pylint-dev/pylint#6094
linenoandend_linenoare now available onArguments.Add helper to iterate over all annotations nodes of function arguments,
Arguments.get_annotations().Refs #2860
Skip direct parent when determining the
Decoratorframe.Refs pylint-dev/pylint#8425
Add simple command line interface for astroid to output generated AST.
Use with
python -m astroid.Fix incorrect type inference for
super().method()calls that returnSelf.Previously, astroid would infer the parent class type instead of the child class type,
causing pylint E1101 false positives in method chaining scenarios.
Closes #457
Add missing
dtypeandcastingparameters tonumpy.concatenatebrain.Closes #2870
Fix ability to detect .py modules inside PATH directories on Windows
described by a UNC path with a trailing backslash (
\)Fix
random.sampleinference crash when sequence contains uninferable elements.Closes #2518
Fix
random.samplecrash when cloningClassDeforFunctionDefnodes.Closes #2923
v4.0.4Compare Source
============================
Release date: 2026-02-07
Fix
is_namespace()crash when search locations containpathlib.Pathobjects.Closes #2942
v4.0.3Compare Source
============================
Release date: 2026-01-03
Fix inference of
IfExp(ternary expression) nodes to avoid prematurely narrowingresults in the face of inference ambiguity.
Closes #2899
Fix base class inference for dataclasses using the PEP 695 typing syntax.
Refs pylint-dev/pylint#10788
v4.0.2Compare Source
============================
Release date: 2025-11-09
Handle FunctionDef blockstart_tolineno edge cases correctly.
Refs #2880
Add
HTTPMethodenum support to brain module for Python 3.11+.Refs pylint-dev/pylint#10624
Closes #2877
v4.0.1Compare Source
============================
Release date: 2025-10-11
Suppress
SyntaxWarningfor invalid escape sequences and return in finally onPython 3.14 when parsing modules.
Assign
ImportandImportFromnodes to module locals if used withglobal.Closes pylint-dev/pylint#10632
v4.0.0Compare Source
============================
Release date: 2025-10-05
Support constraints from ternary expressions in inference.
Closes pylint-dev/pylint#9729
Handle deprecated
bool(NotImplemented)cast in const nodes.Add support for boolean truthiness constraints (
x,not x) in inference.Closes pylint-dev/pylint#9515
Fix false positive
invalid-nameonattrsclasses withClassVarannotated variables.Closes pylint-dev/pylint#10525
Prevent crash when parsing deeply nested parentheses causing MemoryError in python's built-in ast.
Closes #2643
Fix crash when inferring namedtuple with invalid field name looking like f-string formatting.
Closes #2519
Fix false positive no-member in except * handler.
Closes pylint-dev/pylint#9056
Fix crash when comparing invalid dict literal
Closes #2522
Removed internal functions
infer_numpy_member,name_looks_like_numpy_member, andattribute_looks_like_numpy_memberfromastroid.brain.brain_numpy_utils.To alleviate circular imports, the
managerargument toAstroidBuilder()is now required.Constants now have a parent of
nodes.SYNTHETIC_ROOT.Fix crashes with large positive and negative list multipliers.
Closes #2521
Closes #2523
Fix precedence of
patharg inmodpath_from_file_with_callbackto be higher thansys.pathFollowing a deprecation period, the
futureargument was removed fromstatement()andframe().Improve consistency of
JoinedStrinference by not raisingInferenceErrorandreturning either
Uninferableor a fully resolvedConst.Closes #2621
Fix crash when typing._alias() call is missing arguments.
Closes #2513
Remove support for Python 3.9 (and constant
PY310_PLUS).Include subclasses of standard property classes as
propertydecoratorsCloses #10377
Modify
astroid.basesandtests.test_nodesto reflect thatenum.propertywas added in Python 3.11, not 3.10Fix incorrect result in
_get_relative_base_pathwhen the target directory name starts with the base pathCloses #2608
The brain for nose was dropped. nose has been deprecated for 10 years and the brain required some maintenance.
Refs #2765
Fix a crash when the root of a node is not a module but is unknown.
Closes #2672
Add basic support for
ast.TemplateStrandast.Interpolationadded in Python 3.14.Refs #2789
Add support for type parameter defaults added in Python 3.13.
Improve
as_string()representation forTypeVar,ParamSpecandTypeVarTuplenodes, as well astype parameter in
ClassDef,FuncDefandTypeAliasnodes (PEP 695).Astroid now correctly supports the
exceptionsattribute ofExceptionGroup.Closes pylint-dev/pylint#8985
Closes pylint-dev/pylint#10558
Deprecate importing node classes from
astroiddirectly. This will be removed in v5.It's recommended to import them from
astroid.nodesinstead.Refs #2837
v3.3.11Compare Source
=============================
Release date: 2025-07-13
Fix a crash when parsing an empty arbitrary expression with
extract_node(extract_node("__()")).Closes #2734
Fix a crash when parsing a slice called in a decorator on a function that is also decorated with
a known
sixdecorator.Closes #2721
v3.3.10Compare Source
=============================
Release date: 2025-05-10
Avoid importing submodules sharing names with standard library modules.
Closes #2684
Fix bug where
pylint code.custom_extensionwould analyzecode.pyorcode.pyiinstead if they existed.Closes pylint-dev/pylint#3631
psf/black (black)
v26.5.1Compare Source
Stable style
an inline comment (e.g.
x: list[ # pyright: ignore[...]) (#5130)# type: ignore) immediately before a# fmt: skipline, avoiding AST equivalence failures (#5139)Packaging
Documentation
(#5124)
v26.5.0Compare Source
Highlights
both new syntactic features in Python 3.15 (#5048)
performance may be slower than on existing Python versions. Wheels will be provided
once Python 3.15 is later in its release cycle. (#5127)
Stable style
# fmt: skipbeing ignored in nestedifexpressions with parenthesizedinclauses (#4903)
# fmt: offcomment inside brackets (#5097)# fmt: skipis placed on thecolon line (#5117)
Preview style
groups of same-name decorated functions (such as
@overloadgroups) in.pyistubfiles (#5021)
.pyistubfiles (#5092)
(e.g.
# type: ignore) follows the closing bracket (#5096)Packaging
Output
(#5068)
SourceASTParseErrorto distinguish source parse failures from internal safetyerrors, improving error reporting when Black's lenient parser accepts input that
ast.parse()rejects (#5080)Blackd
HTTP 500 only for genuine internal safety errors (#5080)
Integrations
match (#4916)
Documentation
(#5063)
sublackplugin is archived andunmaintained (#5082)
v26.3.1Compare Source
Stable style
exact-length placeholders for short magics and aborting if a placeholder can no longer
be unmasked safely (#5038)
Configuration
--python-cell-magicsso custommagic names cannot affect cache paths (#5038)
Blackd
and request body limits, and bound executor submissions to improve backpressure
(#5039)
v26.3.0Compare Source
Stable style
# type: ignorecomments would be merged with othercomments on the same line, preventing AST equivalence failures (#4888)
Preview style
ifguards incaseblocks were incorrectly split when the pattern hada trailing comma (#4884)
string_processingcrashing on unassigned long string literals with trailingcommas (one-item tuples) (#4929)
Packaging
frozen environments (#4930)
Performance
uvloop.install()in favor ofuvloop.new_event_loop()(#4996)
maybe_install_uvloopfunction tomaybe_use_uvloopto simplify loopinstallation and creation of either a uvloop/winloop eventloop or default eventloop
(#4996)
Output
version, since AST safety checks cannot parse newer syntax. Also replace the
misleading "INTERNAL ERROR" message with an actionable error explaining the version
mismatch (#4983)
Blackd
windows when winloop is installed. (#4996)
Integrations
blackrequirements in the GitHub Action whenuse_pyprojectisenabled so that only version specifiers are accepted and direct references such as
black @​ https://...are rejected. Users should upgrade to the latest version of theaction as soon as possible. This update is received automatically when using
psf/black@stable, and is independent of the version of Black installed by theaction. (#5031)
Documentation
wrap_comprehension_in,simplify_power_operator_hugging, andwrap_long_dict_values_in_parensfeatures(#4987)
v26.1.0Compare Source
Highlights
Introduces the 2026 stable style (#4892), stabilizing the following changes:
always_one_newline_after_import: Always force one blank line after importstatements, except when the line after the import is a comment or an import statement
(#4489)
fix_fmt_skip_in_one_liners: Fix# fmt: skipbehavior on one-liner declarations,such as
def foo(): return "mock" # fmt: skip, where previously the declaration wouldhave been incorrectly collapsed (#4800)
fix_module_docstring_detection: Fix module docstrings being treated as normalstrings if preceded by comments (#4764)
fix_type_expansion_split: Fix type expansions split in generic functions (#4777)multiline_string_handling: Make expressions involving multiline strings more compact(#1879)
normalize_cr_newlines: Add\rstyle newlines to the potential newlines tonormalize file newlines both from and to (#4710)
remove_parens_around_except_types: Remove parentheses around multiple exceptiontypes in
exceptandexcept*withoutas(#4720)remove_parens_from_assignment_lhs: Remove unnecessary parentheses from the left-handside of assignments while preserving magic trailing commas and intentional multiline
formatting (#4865)
standardize_type_comments: Format type comments which have zero or more spacesbetween
#andtype:or betweentype:and value to# type: (value)(#4645)The following change was not in any previous stable release:
_width_table.pyand added tests for the Khmer language (#4253)This release alo bumps
pathspecto v1 and fixes inconsistencies with Git's.gitignorelogic (#4958). Now, files will be ignored if a pattern matches them, evenif the parent directory is directly unignored. For example, Black would previously
format
exclude/not_this/foo.pywith this.gitignore:Now,
exclude/not_this/foo.pywill remain ignored. To ensureexclude/not_this/andall of it's children are included in formatting (and in Git), use this
.gitignore:This new behavior matches Git. The leading
*/are only necessary if you wish to ignorematching subdirectories (like the previous behavior did), and not just matching root
directories.
Output
Integrations
v25.12.0Compare Source
Highlights
Stable style
# fmt: off/# fmt: onblocks were incorrectlyremoved, particularly affecting Jupytext's
# %% [markdown]comments (#4845)# fmt: skipcomments are used in a multi-part if-clause, onstring literals, or on dictionary entries with long lines (#4872)
fmt:directives aren't on the top level (#4856)Preview style
fmt: skipskipping the line after instead of the line it's on (#4855)magic trailing commas and intentional multiline formatting (#4865)
fix_fmt_skip_in_one_linerscrashing onwithstatements (#4853)fix_fmt_skip_in_one_linerscrashing on annotated parameters (#4854)# fmt: skipon them (#4894)Packaging
Integrations
output-fileinput to GitHub Actionpsf/blackto write formatter output to afile for artifact capture and log cleanliness (#4824)
v25.11.0Compare Source
Highlights
Stable style
# fmt: offand# fmt: onwere reformatted (#4811)being normalized (#4811)
Preview style
multiline_string_handlingfrom--unstableto--preview(#4760)comments (#4764)
# type: <value>(#4645)fix_fmt_skip_in_one_linerspreview feature to respect# fmt: skipfor compoundstatements with semicolon-separated bodies (#4800)
Configuration
no_cacheoption to control caching behavior. (#4803)Packaging
Output
(#4610)
Blackd
requests to blackd (#4774)
Integrations
psf/blackto support therequired-versionmajor-version-only"stability" format when using pyproject.toml (#4770)
v25.9.0Compare Source
Highlights
await/asyncas soft keywords/variable names(#4676)
Stable style
delstatement containing tuples (#4628)withstatements (#4630)
# fmt: skipfollowed by a comment at the end of file (#4635)asclause of awithstatement (#4634)withstatement (#4646)\followed by a\rfollowed by a comment (#4663)\\r\n(#4673)await ...(where...is a literalEllipsis) (#4676)(#4670)
Preview style
# fmt: skipwould stillbe formatted (#4552)
multiline_string_handlingwith ternaries and dictionaries (#4657)string_processingwould not split f-strings directly afterexpressions (#4680)
inclause of comprehensions across lines if necessary (#4699)exceptandexcept*withoutas. (#4720)\rstyle newlines to the potential newlines to normalize file newlines both fromand to (#4710)
Parser
parameter bounds and defaults. (#4602)
Performance
Integrations
psf/blackto read Black version from an additional section inpyproject.toml:
[project.dependency-groups](#4606)Documentation
certifi/python-certifi (certifi)
v2026.6.17Compare Source
v2026.5.20Compare Source
v2026.4.22Compare Source
v2026.2.25Compare Source
v2026.1.4Compare Source
v2025.11.12Compare Source
v2025.10.5Compare Source
v2025.8.3Compare Source
v2025.7.14Compare Source
v2025.7.9Compare Source
v2025.6.15Compare Source
v2025.4.26Compare Source
v2025.1.31Compare Source
v2024.12.14Compare Source
mkdocstrings/griffe (griffe)
v2.1.0Compare Source
Compare with 2.0.2
Build
griffecliandgriffelibpackages. Issue-452Features
Bug Fixes
v2.0.2Compare Source
Compare with 2.0.2
Build
griffecliandgriffelibpackages. Issue-452Features
Bug Fixes
v2.0.1Compare Source
Compare with 2.0.1
Build
v2.0.0Compare Source
Compare with 2.0.0
Bug Fixes
v1.15.0Compare Source
Compare with 1.15.0
Breaking Changes
This version removes previously deprecated API:
ExportedName: Public object was removedinfer_docstring_style(options): Parameter was removedparse_auto(options): Parameter was removedparse_google(options): Parameter was removedparse_numpy(options): Parameter was removedparse_sphinx(options): Parameter was removedassert_git_repo: Public object was removedget_latest_tag: Public object was removedget_repo_root: Public object was removedtmp_worktree: Public object was removedFeatures
Bug Fixes
Code Refactoring
griffeimports lazy in CLI (4772456 by Timothée Mazzucotelli).griffe,griffecliandgriffelibuv workspaces (162c31c by Bartosz Sławecki). Issue-408, PR-434, Co-authored-by: Timothée Mazzucotelli dev@pawamoy.frBuild
vprefix) (c869c97 by Timothée Mazzucotelli). Upstream-issuev1.14.0Compare Source
Compare with 1.14.0
Features
autodocstring style (infer from docstring) (4d0a9ee by Timothée Mazzucotelli).Bug Fixes
NonefromObjectNode.module_path(06c2f2f by Frank David Martínez M). PR-419, Co-authored-by: Timothée Mazzucotelli dev@pawamoy.frConfiguration
📅 Schedule: (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.
To execute skipped test pipelines write comment
/ok-to-test.Documentation
Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.