Skip to content

Commit

Permalink
Merge #92
Browse files Browse the repository at this point in the history
92: Update astroid to 2.6.6 r=aragilar a=pyup-bot


This PR updates [astroid](https://pypi.org/project/astroid) from **2.5.8** to **2.6.6**.



<details>
  <summary>Changelog</summary>
  
  
   ### 2.6.6
   ```
   ============================
Release date: 2021-08-03

* Added support to infer return type of ``typing.cast()``

* Fix variable lookup&#39;s handling of exclusive statements

  Closes PyCQA/pylint3711

* Fix variable lookup&#39;s handling of function parameters

  Closes PyCQA/astroid180

* Fix variable lookup&#39;s handling of except clause variables

* Fix handling of classes with duplicated bases with the same name

  Closes PyCQA/astroid1088
   ```
   
  
  
   ### 2.6.5
   ```
   ============================
Release date: 2021-07-21

* Fix a crash when there would be a &#39;TypeError object does not support
  item assignment&#39; in the code we parse.

  Closes PyCQA/pylint4439

* Fix a crash when a AttributeInferenceError was raised when
 failing to find the real name in infer_import_from.

  Closes PyCQA/pylint4692
   ```
   
  
  
   ### 2.6.4
   ```
   ============================
Release date: 2021-07-19

* Fix a crash when a StopIteration was raised when inferring
  a faulty function in a context manager.

  Closes PyCQA/pylint4723
   ```
   
  
  
   ### 2.6.3
   ```
   ============================
Release date: 2021-07-19

* Added ``If.is_sys_guard`` and ``If.is_typing_guard`` helper methods

* Fix a bad inferenece type for yield values inside of a derived class.

  Closes PyCQA/astroid1090

* Fix a crash when the node is a &#39;Module&#39; in the brain builtin inference

  Closes PyCQA/pylint4671

* Fix issues when inferring match variables

  Closes PyCQA/pylint4685

* Fix lookup for nested non-function scopes

* Fix issue that ``TypedDict`` instance wasn&#39;t callable.

  Closes PyCQA/pylint4715

* Add dependency on setuptools and a guard to prevent related exceptions.
   ```
   
  
  
   ### 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&#39;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&#39;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.
   ```
   
  
</details>


 

<details>
  <summary>Links</summary>
  
  - PyPI: https://pypi.org/project/astroid
  - Changelog: https://pyup.io/changelogs/astroid/
  - Repo: https://github.com/PyCQA/astroid
</details>



Co-authored-by: pyup-bot <github-bot@pyup.io>
  • Loading branch information
bors[bot] and pyup-bot committed Aug 6, 2021
2 parents 305940a + 3063578 commit a454e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylint-requirements.txt
@@ -1,2 +1,2 @@
astroid==2.5.8
astroid==2.6.6
pylint==2.8.2

0 comments on commit a454e9c

Please sign in to comment.