Skip to content

Update astroid to 2.6.2#84

Closed
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-astroid-2.5.8-to-2.6.2
Closed

Update astroid to 2.6.2#84
pyup-bot wants to merge 1 commit intomasterfrom
pyup-update-astroid-2.5.8-to-2.6.2

Conversation

@pyup-bot
Copy link
Collaborator

This PR updates astroid from 2.5.8 to 2.6.2.

Changelog

2.6.2

============================
Release date: 2021-06-30

* Fix a crash when the inference of the length of a node failed

Closes PyCQA/pylint4633

* Fix unhandled StopIteration during inference, following the implementation
of PEP479 in python 3.7+

Closes PyCQA/pylint4631
Closes 1080

2.6.1

============================
Release date: 2021-06-29

* Fix issue with ``TypedDict`` for Python 3.9+

Closes PyCQA/pylint4610

2.6.0

============================
Release date: 2021-06-22

* Appveyor and travis are no longer used in the continuous integration

* ``setuptools_scm`` has been removed and replaced by ``tbump`` in order to not
have hidden runtime dependencies to setuptools

* ``NodeNg``, the base node class, is now accessible from ``astroid`` or
``astroid.nodes`` as it can be used for typing.

* Update enum brain to improve inference of .name and .value dynamic class
attributes

Closes PyCQA/pylint1932
Closes PyCQA/pylint2062
Closes PyCQA/pylint2306

* Removed ``Repr``, ``Exec``, and ``Print`` nodes as the ``ast`` nodes
they represented have been removed with the change to Python 3

* Deprecate ``Ellipsis`` node. It will be removed with the next minor release.
Checkers that already support Python 3.8+ work without issues. It's only
necessary to remove all references to the ``astroid.Ellipsis`` node.
This changes will make development of checkers easier as the resulting tree for Ellipsis
will no longer depend on the python version. **Background**: With Python 3.8 the
``ast.Ellipsis`` node, along with ``ast.Str``, ``ast.Bytes``, ``ast.Num``,
and ``ast.NamedConstant`` were merged into ``ast.Constant``.

* Deprecated ``Index`` and ``ExtSlice`` nodes. They will be removed with the
next minor release. Both are now part of the ``Subscript`` node.
Checkers that already support Python 3.9+ work without issues.
It's only necessary to remove all references to the ``astroid.Index`` and
``astroid.ExtSlice`` nodes. This change will make development of checkers
easier as the resulting tree for ``ast.Subscript`` nodes will no longer
depend on the python version. **Background**: With Python 3.9 ``ast.Index``
and ``ast.ExtSlice`` were merged into the ``ast.Subscript`` node.

* Updated all Match nodes to be internally consistent.

* Add ``Pattern`` base class.
Links

@pyup-bot pyup-bot mentioned this pull request Jun 30, 2021
@codecov
Copy link

codecov bot commented Jun 30, 2021

Codecov Report

Merging #84 (f62eba6) into master (305940a) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #84   +/-   ##
=======================================
  Coverage   67.85%   67.85%           
=======================================
  Files           2        2           
  Lines          56       56           
=======================================
  Hits           38       38           
  Misses         18       18           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 305940a...f62eba6. Read the comment docs.

@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #88

@pyup-bot pyup-bot closed this Jul 19, 2021
@aragilar aragilar deleted the pyup-update-astroid-2.5.8-to-2.6.2 branch July 19, 2021 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant