Skip to content

Update astroid to 2.8.3 #447

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pyup-bot
Copy link
Collaborator

This PR updates astroid from 2.7.3 to 2.8.3.

Changelog

2.8.3

============================
Release date: 2021-10-17

* Add support for wrapt 1.13

* Fixes handling of nested partial functions

Closes PyCQA/pylint2462
Closes 1208

* Fix regression with the import resolver

Closes PyCQA/pylint5131

* Fix crash with invalid dataclass field call

Closes PyCQA/pylint5153

2.8.2

============================
Release date: 2021-10-07

Same content than 2.8.2-dev0 / 2.8.1, released in order to fix a
mistake when creating the tag.

2.8.1

============================
Release date: 2021-10-06

* Adds support of type hints inside numpy's brains.

Closes PyCQA/pylint4326

* Enable inference of dataclass import from pydantic.dataclasses.
This allows the dataclasses brain to recognize pydantic dataclasses.

Closes PyCQA/pylint4899

* Fix regression on ClassDef inference

Closes PyCQA/pylint5030
Closes PyCQA/pylint5036

* Fix regression on Compare node inference

Closes PyCQA/pylint5048

* Extended attrs brain to support the provisional APIs

* Astroid does not trigger it's own deprecation warning anymore.

* Improve brain for ``typing.Callable`` and ``typing.Type``.

* Fix bug with importing namespace packages with relative imports

Closes PyCQA/pylint5059

* The ``is_typing_guard`` and ``is_sys_guard`` functions are deprecated and will
be removed in 3.0.0. They are complex meta-inference functions that are better
suited for pylint. Import them from ``pylint.checkers.utils`` instead
(requires pylint ``2.12``).

* Suppress the conditional between applied brains and dynamic import authorized
modules. (Revert the "The transforms related to a module are applied only if this
module has not been explicitly authorized to be imported" of version 2.7.3)

* Adds a brain to infer the ``numpy.ma.masked_where`` function.

Closes PyCQA/pylint3342

2.8.0

============================
Release date: 2021-09-14

* Add additional deprecation warnings in preparation for astroid 3.0

* Require attributes for some node classes with ``__init__`` call.

 * ``name`` (``str``) for ``Name``, ``AssignName``, ``DelName``
 * ``attrname`` (``str``) for ``Attribute``, ``AssignAttr``, ``DelAttr``
 * ``op`` (``str``) for ``AugAssign``, ``BinOp``, ``BoolOp``, ``UnaryOp``
 * ``names`` (``list[tuple[str, str | None]]``) for ``Import``

* Support pyz imports

Closes PyCQA/pylint3887

* Add ``node_ancestors`` method to ``NodeNG`` for obtaining the ancestors of nodes.

* It's now possible to infer the value of comparison nodes

Closes 846

* Fixed bug in inference of dataclass field calls.

Closes PyCQA/pylint4963
Links

@pyup-bot pyup-bot mentioned this pull request Oct 17, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant