Update requirements.txt (major) #127
Open
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.0.2==2024.8.30->==2025.11.12==24.1.0->==25.1.0==6.0.1->==7.0.0==2.1.5->==3.0.3==0.26.1->==1.0.0==1.11.1->==2.0.0==24.2->==25.0==6.1.1->==7.0.3==3.3.6->==4.0.3==8.3.5->==9.0.1==0.1->==1.1==2024.11.6->==2025.11.3==78.1.1->==80.9.0==7.1.0->==9.2.2==3.28.0->==4.32.0==5.0.2->==6.0.0Release Notes
pylint-dev/astroid (astroid)
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
certifi/python-certifi (certifi)
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
hynek/hatch-fancy-pypi-readme (hatch-fancy-pypi-readme)
v25.1.0Compare Source
Added
$HFPR_PACKAGE_NAMEis now replaced by the package name in the PyPI readme.The version is not available in CLI mode, therefore it's replaced by the dummy value of
your-package.#64
Removed
PyCQA/isort (isort)
v7.0.0Compare Source
Changes
💥 Breaking Changes
🚀 Features
🪲 Fixes
3.14and fix any bugs (#2425) @DanielNoord👷 Continuous Integration
ruffinstead ofblack(#2432) @DanielNoordruff(#2431) @DanielNoord📦 Dependencies
v6.1.0Compare Source
pallets/markupsafe (markupsafe)
v3.0.3Compare Source
Released 2025-09-27
__version__raisesDeprecationWarninginstead ofUserWarning.:issue:
487489) for the C extension.:issue:
494485503505v3.0.2Compare Source
Released 2024-10-18
__str__returns astrsubclass. :issue:472475v3.0.1Compare Source
Released 2024-10-08
466467v3.0.0Compare Source
Released 2024-10-07
461pyproject.tomlinstead ofsetup.cfg.:pr:
348distutilsimports tosetuptools. :pr:399400Markupmethods to matchstrsignatures. Usepositional-only arguments. :pr:
400strmethods onMarkupno longer escape their argument:strip,lstrip,rstrip,removeprefix,removesuffix,partition, andrpartition;replaceonly escapes itsnewargument. These methods are conceptually linked to search methods such as
in,find, andindex, which already do not escape their argument.:issue:
401__version__attribute is deprecated. Use feature detection, orimportlib.metadata.version("markupsafe"), instead. :pr:402434437mkdocstrings/mkdocstrings (mkdocstrings)
v1.0.0Compare Source
Compare with 0.30.1
Breaking Changes
BaseHandler.name: Attribute value was changed:''-> unsetBaseHandler.domain: Attribute value was changed:''-> unsetBaseHandler.fallback_config: Public object was removedBaseHandler.__init__(args): Parameter was removedBaseHandler.__init__(kwargs): Parameter was removedBaseHandler.__init__(theme): Parameter was added as requiredBaseHandler.__init__(custom_templates): Parameter was added as requiredBaseHandler.__init__(mdx): Parameter was added as requiredBaseHandler.__init__(mdx_config): Parameter was added as requiredBaseHandler.update_env(args): Parameter was removedBaseHandler.update_env(kwargs): Parameter was removedBaseHandler.update_env(config): Parameter was added as requiredHandlers.get_anchors: Public object was removed (import frommkdocstringsdirectly)mkdocstrings.plugin: Public module was removed (import frommkdocstringsdirectly)mkdocstrings.loggers: Public module was removed (import frommkdocstringsdirectly)mkdocstrings.inventory: Public module was removed (import frommkdocstringsdirectly)mkdocstrings.extension: Public module was removed (import frommkdocstringsdirectly)mkdocstrings.handlers: Public module was removed (import frommkdocstringsdirectly)Code Refactoring
v0.30.1Compare Source
Compare with 0.30.1
Breaking Changes
BaseHandler.name: Attribute value was changed:''-> unsetBaseHandler.domain: Attribute value was changed:''-> unsetBaseHandler.fallback_config: Public object was removedBaseHandler.__init__(args): Parameter was removedBaseHandler.__init__(kwargs): Parameter was removedBaseHandler.__init__(theme): Parameter was added as requiredBaseHandler.__init__(custom_templates): Parameter was added as requiredBaseHandler.__init__(mdx): Parameter was added as requiredBaseHandler.__init__(mdx_config): Parameter was added as requiredBaseHandler.update_env(args): Parameter was removedBaseHandler.update_env(kwargs): Parameter was removedBaseHandler.update_env(config): Parameter was added as requiredHandlers.get_anchors: Public object was removed (import frommkdocstringsdirectly)mkdocstrings.plugin: Public module was removed (import frommkdocstringsdirectly)mkdocstrings.loggers: Public module was removed (import frommkdocstringsdirectly)mkdocstrings.inventory: Public module was removed (import frommkdocstringsdirectly)mkdocstrings.extension: Public module was removed (import frommkdocstringsdirectly)mkdocstrings.handlers: Public module was removed (import frommkdocstringsdirectly)Code Refactoring
v0.30.0Compare Source
Compare with 0.30.0
Bug Fixes
v0.29.1Compare Source
Compare with 0.29.1
Features
data-skip-inventoryboolean attribute for elements to skip registration in local inventory (f856160 by Bartosz Sławecki). Issue-671, PR-774v0.29.0Compare Source
Compare with 0.29.0
Dependencies
Bug Fixes
Code Refactoring
v0.28.3Compare Source
Compare with 0.28.3
This is the last version before v1!
Build
Features
Code Refactoring
on_env(8d1dd75 by Timothée Mazzucotelli).v0.28.2Compare Source
Compare with 0.28.2
Deprecations
All public objects must now be imported from the top-level
mkdocstringsmodule. Importing from submodules is deprecated, and will raise errors starting with v1. This should be the last deprecation before v1.Build
pythonextra depend on latest mkdocstrings-python (1.16.2) (ba9003e by Timothée Mazzucotelli).Code Refactoring
mkdocstringsmodule (e66e080 by Timothée Mazzucotelli).v0.28.1Compare Source
Compare with 0.28.1
Build
v0.28.0Compare Source
Compare with 0.28.0
Bug Fixes
relpathprocessor instead of using same instance (4ab180d by Timothée Mazzucotelli). Issue-mkdocs-3919v0.27.0Compare Source
Compare with 0.27.0
Breaking Changes
Although the following changes are "breaking" in terms of public API, we didn't find any public use of these classes and methods on GitHub.
mkdocstrings.extension.AutoDocProcessor.__init__(parser): Parameter was removedmkdocstrings.extension.AutoDocProcessor.__init__(md): Positional parameter was movedmkdocstrings.extension.AutoDocProcessor.__init__(config): Parameter was removedmkdocstrings.extension.AutoDocProcessor.__init__(handlers): Parameter kind was changed:positional or keyword->keyword-onlymkdocstrings.extension.AutoDocProcessor.__init__(autorefs): Parameter kind was changed:positional or keyword->keyword-onlymkdocstrings.extension.MkdocstringsExtension.__init__(config): Parameter was removedmkdocstrings.extension.MkdocstringsExtension.__init__(handlers): Positional parameter was movedmkdocstrings.extension.MkdocstringsExtension.__init__(autorefs): Positional parameter was movedmkdocstrings.handlers.base.Handlers.__init__(config): Parameter was removedmkdocstrings.handlers.base.Handlers.__init__(theme): Parameter was added as requiredmkdocstrings.handlers.base.Handlers.__init__(default): Parameter was added as requiredmkdocstrings.handlers.base.Handlers.__init__(inventory_project): Parameter was added as requiredmkdocstrings.handlers.base.Handlers.__init__(tool_config): Parameter was added as requiredSimilarly, the following parameters were renamed, but the methods are only called from our own code, using positional arguments.
mkdocstrings.handlers.base.BaseHandler.collect(config): Parameter was renamedoptionsmkdocstrings.handlers.base.BaseHandler.render(config): Parameter was renamedoptionsFinally, the following method was removed, but this is again taken into account in our own code:
mkdocstrings.handlers.base.BaseHandler.get_anchors: Public object was removedFor these reasons, and because we're still in v0, we do not bump to v1 yet. See following deprecations.
Deprecations
mkdocstrings 0.28 will start emitting these deprecations warnings:
Previously, the
get_handlerfunction would pass ahandler(name) argument to the handler constructor. This name must now be set on the handler's class directly.The
domainclass attribute on handlers is now mandatory and cannot be an empty string.This argument could previously be passed as a positional argument (from the
get_handlerfunction), and must now be passed as a keyword argument.Same as for
theme, but withcustom_templates.The
get_handlerfunction now receives amdxargument, which it must forward to the handler constructor and then to the base handler, either explicitly or through**kwargs:=== "Explicitly"
=== "Through
**kwargs"In the meantime we still retrieve this
mdxvalue at a different moment, by reading it from the MkDocs configuration.Same as for
mdx, but withmdx_config.Previously, mkdocstrings would pop the
importkey from a handler's configuration to download each item (URLs). Items could be strings, or dictionaries with aurlkey. Now mkdocstrings gives back control to handlers, which must store this inventory configuration within them, and expose it again through aget_inventory_urlsmethod. This method returns a list of tuples: an URL, and a dictionary of options that will be passed again to theirload_inventorymethod. Handlers have now full control over the "inventory" setting.Changing the name of the key (for example from
importtoinventories) involves a change in user configuration, and both keys will have to be supported by your handler for some time.This comes from mkdocstrings and mkdocs-autorefs, and will disappear with mkdocstrings v0.28.
Handlers must now store their own global options (in an instance attribute), and implement a
get_optionsmethod that receiveslocal_options(a dict) and returns combined options (dict or custom object). These combined options are then passed tocollectandrender, so that these methods can use them right away.Handlers can remove the
mdparameter from theirupdate_envmethod implementation, and useself.mdinstead, if they need it.Handlers don't have to call the parent
update_envmethod from their own implementation anymore, and can just drop the call.Previously, handlers would implement a
get_anchorsmethod that received a data object (typedCollectorItem) to return aliases for this object. This forced mkdocstrings to collect this object through the handler'scollectmethod, which then required some logic with "fallback config" as to prevent unwanted collection. mkdocstrings gives back control to handlers and now callsget_aliasesinstead, which accepts anidentifier(string) and lets the handler decide how to return aliases for this identifier. For example, it can replicate previous behavior by calling its owncollectmethod with its own "fallback config", or do something different (cache lookup, etc.).The
config_file_pathargument is now deprecated and only passed toget_handlerfunctions if they accept it. If you used it to compute a "base directory", you can now use thetool_configargument instead, which is the configuration of the SSG tool in use (here MkDocs):Most of these warnings will disappear with the next version of mkdocstrings-python.
Bug Fixes
Code Refactoring
config_file_pathtoget_handlerif it expects it (8c476ee by Timothée Mazzucotelli).get_anchorsmethod in favor ofget_aliasesmethod (7a668f0 by Timothée Mazzucotelli).v0.26.2Compare Source
Compare with 0.26.2
Features
Performance Improvements
Code Refactoring
mkdocstrings/python (mkdocstrings-python)
v2.0.0Compare Source
Compare with 1.19.0
Code Refactoring
v1.19.0Compare Source
Compare with 1.18.2
Features
__all__ordering feature (84aaebc by Timothée Mazzucotelli).Code Refactoring
v1.18.2Compare Source
Compare with 1.18.1
Bug Fixes
v1.18.1Compare Source
Compare with 1.18.0
Bug Fixes
__init__method whenoverloads_onlyis true and it is merged into the class (9ef620f by Timothée Mazzucotelli). Issue-308v1.18.0Compare Source
Compare with 1.17.0
Features
Bug Fixes
v1.17.0Compare Source
Compare with 1.16.12
Features
warn_missing_typesandwarnings(0e3bdb8 by Timothée Mazzucotelli). Issue-mkdocstrings-437skip_local_inventoryoption to prevent objects from being registered in the local objects inventory (e82c24f by Bartosz Sławecki). Issue-296, Issue-mkdocstrings-671, PR-297Code Refactoring
localeoption in favor of mkdocstrings' (17f71ba by Timothée Mazzucotelli). PR-288v1.16.12Compare Source
Compare with 1.16.11
Bug Fixes
v1.16.11Compare Source
Compare with 1.16.10
Bug Fixes
__init__(7f95686 by Timothée Mazzucotelli). Issue-mkdocstrings-757v1.16.10Compare Source
Compare with 1.16.9
Bug Fixes
base_urlbeing ignored (8870eb9 by Stefan Mejlgaard). Issue-268, PR-269v1.16.9Compare Source
Compare with 1.16.8
Bug Fixes
toc_labeloption in a few missing places (337b46b by Timothée Mazzucotelli). Issue-267v1.16.8Compare Source
Compare with 1.16.7
Bug Fixes
Configuration
📅 Schedule: Branch creation - "after 5pm on friday and saturday" (UTC), Automerge - At any time (no schedule defined).
🚦 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.