Skip to content

Update astroid to 2.8.2 #414

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

Closed
wants to merge 1 commit into from
Closed

Conversation

pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Oct 7, 2021

This PR updates astroid from 2.7.3 to 2.8.2.

Changelog

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 7, 2021
@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #447

@pyup-bot pyup-bot closed this Oct 17, 2021
@avara1986 avara1986 deleted the pyup-update-astroid-2.7.3-to-2.8.2 branch October 17, 2021 10:03
# 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