chore(deps): update dependency astroid to v2.15.8 #14
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
renovate-bot
renovate-security
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
LibrePages/Infrastructure-as-Code!14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/astroid-2.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
==2.12.12->==2.15.8Release Notes
pylint-dev/astroid (astroid)
v2.15.8Compare Source
=============================
Release date: 2023-09-26
Fix a regression in 2.15.7 for
unsubscriptable-object.Closes #2305
Closes pylint-dev/pylint#9069
Fix a regression in 2.15.7 for
unsubscriptable-object.Closes #2305
Closes pylint-dev/pylint#9069
v2.15.7Compare Source
=============================
Release date: 2023-09-23
Fix a crash when inferring a
typing.TypeVarcall.Closes pylint-dev/pylint#8802
Infer user-defined enum classes by checking if the class is a subtype of
enum.Enum.Closes pylint-dev/pylint#8897
Fix inference of functions with
@functools.lru_cachedecorators withoutparentheses.
Closes pylint-dev/pylint#8868
Make
sys.argvuninferable because it never is. (It's impossible to inferthe value it will have outside of static analysis where it's our own value.)
Refs pylint-dev/pylint#7710
v2.15.6Compare Source
=============================
Release date: 2023-07-08
Harden
get_module_part()against".".Closes pylint-dev/pylint#8749
Allow
AsStringVisitorto visitobjects.PartialFunction.Closes pylint-dev/pylint#8881
Avoid expensive list/tuple multiplication operations that would result in
MemoryError.Closes pylint-dev/pylint#8748
Fix a regression in 2.12.0 where settings in AstroidManager would be ignored.
Most notably this addresses pylint-dev/pylint#7433.
Refs #2204
v2.15.5Compare Source
=============================
Release date: 2023-05-14
Handle
objects.Superinhelpers.object_type().Refs pylint-dev/pylint#8554
Recognize stub
pyiPython files.Refs pylint-dev/pylint#4987
v2.15.4Compare Source
=============================
Release date: 2023-04-24
Add visitor function for
TryStartoAsStringVisitorandadd
TryStartoastroid.nodes.ALL_NODE_CLASSES.Refs #2142
v2.15.3Compare Source
=============================
Release date: 2023-04-16
Fix
infer_call_result()crash on methods calledwith_metaclass().Closes #1735
Suppress
UserWarningwhen finding module specs.Closes pylint-dev/pylint#7906
v2.15.2Compare Source
=============================
Release date: 2023-04-03
Support more possible usages of
attrsdecorators.Closes pylint-dev/pylint#7884
v2.15.1Compare Source
=============================
Release date: 2023-03-26
Restore behavior of setting a Call as a base for classes created using
six.with_metaclass(),and harden support for using enums as metaclasses in this case.
Reverts #1622
Refs pylint-dev/pylint#5935
Refs pylint-dev/pylint#7506
v2.15.0Compare Source
=============================
Release date: 2023-03-06
astroid now supports
TryStarnodes from python 3.11 and should be fully compatible with python 3.11.Closes #2028
Formattedvalue.postinitis now keyword only. This is to allow correct typing of theFormattedvalueclass.Refs #1516
Astroidnow supports custom import hooks.Refs pylint-dev/pylint#7306
astroidnow infers return values from match cases.Refs pylint-dev/pylint#5288
AstroidManager.clear_cachenow also clears the inference context cache.Refs #1780
max_inferable_valuescan now be set onAstroidManagerinstances, e.g.astroid.MANAGERbesides just the
AstroidManagerclass itself.Closes #2280
Astroidnow retrieves the default values of keyword only arguments and sets them onArguments.kw_defaults.Uninferablenow has the typeUninferableBase. This is to facilitate correctly type annotatingcode that uses this singleton.
Closes #1680
Deprecate
modutils.is_standard_module(). It will be removed in the next minor release.Functionality has been replaced by two new functions,
modutils.is_stdlib_module()andmodutils.module_in_path().Closes #2012
Fix
are_exclusivefunction when a walrus operator is used insideIfExp.testfield.Closes #2022
v2.14.2Compare Source
=============================
Release date: 2023-02-12
'_infer_str_format_call' won't crash anymore when the string it analyses are uninferable.
Closes pylint-dev/pylint#8109
v2.14.1Compare Source
=============================
Release date: 2023-01-31
CallContextchange as it caused aRecursionErrorregression.v2.14.0Compare Source
=============================
Release date: 2023-01-31
Add support for inferring binary union types added in Python 3.10.
Refs pylint-dev/pylint#8119
Capture and log messages emitted when inspecting a module for astroid.
Closes #1904
v2.13.5Compare Source
=============================
Release date: 2023-01-31
CallContextchange as it caused aRecursionErrorregression.v2.13.4Compare Source
=============================
Release date: 2023-01-31
Fix issues with
typing_extensions.TypeVar.Fix
ClassDef.fromlinofor PyPy 3.8 (v7.3.11) if class is wrapped by a decorator.Preserve parent CallContext when inferring nested functions.
Closes pylint-dev/pylint#8074
Add
Lockto themultiprocessingbrain.Closes pylint-dev/pylint#3313
v2.13.3Compare Source
=============================
Release date: 2023-01-20
Fix a regression in 2.13.2 where a RunTimeError could be raised unexpectedly.
Closes #1958
Fix overwritten attributes in inherited dataclasses not being ordered correctly.
Closes pylint-dev/pylint#7881
Fix a false positive when an attribute named
Enumwas confused withenum.Enum.Calls to
Enumare now inferred & the qualified name is checked.Refs pylint-dev/pylint#5719
Remove unnecessary typing_extensions dependency on Python 3.11 and newer
v2.13.2Compare Source
=============================
Release date: 2023-01-08
Removed version conditions on typing_extensions dependency. Removed typing_extensions from
our tests requirements as it was preventing issues to appear in our continuous integration.
Closes #1945
v2.13.1Compare Source
=============================
Release date: 2023-01-08
Bumping typing_extensions to 4.0.0 that is required when using
SelfCloses #1942
v2.13.0Compare Source
=============================
Release date: 2023-01-07
Fixed importing of modules that have the same name as the file that is importing.
astroidwill now correctly handle animport mathstatement in a file calledmath.pyby relying on the import system.
Refs pylint-dev/pylint#5151
Create
ContextManagerModeland letGeneratorModelinherit from it.Refs pylint-dev/pylint#2567
Added a
regexbrain.Refs pylint-dev/pylint#1911
Support "is None" constraints from if statements during inference.
Ref #791
Ref pylint-dev/pylint#157
Ref pylint-dev/pylint#1472
Ref pylint-dev/pylint#2016
Ref pylint-dev/pylint#2631
Ref pylint-dev/pylint#2880
v2.12.14Compare Source
==============================
Release date: 2023-01-06
Handle the effect of properties on the
__init__of a dataclass correctly.Closes pylint-dev/pylint#5225
Handle the effect of
kw_only=Truein dataclass fields correctly.Closes pylint-dev/pylint#7623
Handle the effect of
init=Falsein dataclass fields correctly.Closes pylint-dev/pylint#7291
Fix crash if
numpymodule doesn't haveversionattribute.Refs pylint-dev/pylint#7868
Handle
AttributeErrorduringstr.formattemplate inference tip evaluationCloses pylint-dev/pylint#1902
Add the
masked_invalidfunction in thenumpy.mabrain.Closes pylint-dev/pylint#5715
v2.12.13Compare Source
==============================
Release date: 2022-11-19
Prevent returning an empty list for
ClassDef.slots()when the mro list contains one class & it is notobject.Refs pylint-dev/pylint#5099
Prevent a crash when inferring calls to
str.formatwith inferred argumentsthat would be invalid.
Closes #1856
Infer the
lengthargument of therandom.samplefunction.Refs pylint-dev/pylint#7706
Catch
ValueErrorwhen indexing some builtin containers and sequences during inference.Closes #1843
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), 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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.