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…
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.8
Release Notes
pylint-dev/astroid (astroid)
v2.15.8
Compare 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.7
Compare Source
=============================
Release date: 2023-09-23
Fix a crash when inferring a
typing.TypeVar
call.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_cache
decorators withoutparentheses.
Closes pylint-dev/pylint#8868
Make
sys.argv
uninferable 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.6
Compare Source
=============================
Release date: 2023-07-08
Harden
get_module_part()
against"."
.Closes pylint-dev/pylint#8749
Allow
AsStringVisitor
to 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.5
Compare Source
=============================
Release date: 2023-05-14
Handle
objects.Super
inhelpers.object_type()
.Refs pylint-dev/pylint#8554
Recognize stub
pyi
Python files.Refs pylint-dev/pylint#4987
v2.15.4
Compare Source
=============================
Release date: 2023-04-24
Add visitor function for
TryStar
toAsStringVisitor
andadd
TryStar
toastroid.nodes.ALL_NODE_CLASSES
.Refs #2142
v2.15.3
Compare Source
=============================
Release date: 2023-04-16
Fix
infer_call_result()
crash on methods calledwith_metaclass()
.Closes #1735
Suppress
UserWarning
when finding module specs.Closes pylint-dev/pylint#7906
v2.15.2
Compare Source
=============================
Release date: 2023-04-03
Support more possible usages of
attrs
decorators.Closes pylint-dev/pylint#7884
v2.15.1
Compare 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.0
Compare Source
=============================
Release date: 2023-03-06
astroid now supports
TryStar
nodes from python 3.11 and should be fully compatible with python 3.11.Closes #2028
Formattedvalue.postinit
is now keyword only. This is to allow correct typing of theFormattedvalue
class.Refs #1516
Astroid
now supports custom import hooks.Refs pylint-dev/pylint#7306
astroid
now infers return values from match cases.Refs pylint-dev/pylint#5288
AstroidManager.clear_cache
now also clears the inference context cache.Refs #1780
max_inferable_values
can now be set onAstroidManager
instances, e.g.astroid.MANAGER
besides just the
AstroidManager
class itself.Closes #2280
Astroid
now retrieves the default values of keyword only arguments and sets them onArguments.kw_defaults
.Uninferable
now 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_exclusive
function when a walrus operator is used insideIfExp.test
field.Closes #2022
v2.14.2
Compare 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.1
Compare Source
=============================
Release date: 2023-01-31
CallContext
change as it caused aRecursionError
regression.v2.14.0
Compare 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.5
Compare Source
=============================
Release date: 2023-01-31
CallContext
change as it caused aRecursionError
regression.v2.13.4
Compare Source
=============================
Release date: 2023-01-31
Fix issues with
typing_extensions.TypeVar
.Fix
ClassDef.fromlino
for 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
Lock
to themultiprocessing
brain.Closes pylint-dev/pylint#3313
v2.13.3
Compare 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
Enum
was confused withenum.Enum
.Calls to
Enum
are 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.2
Compare 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.1
Compare Source
=============================
Release date: 2023-01-08
Bumping typing_extensions to 4.0.0 that is required when using
Self
Closes #1942
v2.13.0
Compare Source
=============================
Release date: 2023-01-07
Fixed importing of modules that have the same name as the file that is importing.
astroid
will now correctly handle animport math
statement in a file calledmath.py
by relying on the import system.
Refs pylint-dev/pylint#5151
Create
ContextManagerModel
and letGeneratorModel
inherit from it.Refs pylint-dev/pylint#2567
Added a
regex
brain.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.14
Compare 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=True
in dataclass fields correctly.Closes pylint-dev/pylint#7623
Handle the effect of
init=False
in dataclass fields correctly.Closes pylint-dev/pylint#7291
Fix crash if
numpy
module doesn't haveversion
attribute.Refs pylint-dev/pylint#7868
Handle
AttributeError
duringstr.format
template inference tip evaluationCloses pylint-dev/pylint#1902
Add the
masked_invalid
function in thenumpy.ma
brain.Closes pylint-dev/pylint#5715
v2.12.13
Compare 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.format
with inferred argumentsthat would be invalid.
Closes #1856
Infer the
length
argument of therandom.sample
function.Refs pylint-dev/pylint#7706
Catch
ValueError
when 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.