2021-08-04 11:07:38 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-astroid: updated to 2.6.6
v2.6.6
Added support to infer return type of typing.cast()
Fix variable lookup's handling of exclusive statements
Fix variable lookup's handling of function parameters
Fix variable lookup's handling of except clause variables
Fix handling of classes with duplicated bases with the same name
|
2021-07-22 10:40:56 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-astroid: updated to 2.6.5
What's New in astroid 2.6.5?
============================
* Fix a crash when there would be a 'TypeError object does not support
item assignment' in the code we parse.
* Fix a crash when a AttributeInferenceError was raised when
failing to find the real name in infer_import_from.
What's New in astroid 2.6.4?
============================
* Fix a crash when a StopIteration was raised when inferring
a faulty function in a context manager.
What's New in astroid 2.6.3?
============================
* 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.
* Fix a crash when the node is a 'Module' in the brain builtin inference
* Fix issues when inferring match variables
* Fix lookup for nested non-function scopes
* Fix issue that ``TypedDict`` instance wasn't callable.
* Add dependency on setuptools and a guard to prevent related exceptions.
|
2021-07-01 23:01:20 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-astroid: updated to 2.6.2
v2.6.2
Fix a crash when the inference of the length of a node failed
Fix unhandled StopIteration during inference, following the implementation
of PEP479 in python 3.7+
|
2021-06-30 07:59:28 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-astroid: updated to 2.6.1
What's New in astroid 2.6.1?
============================
Release date: 2021-06-29
* Fix issue with ``TypedDict`` for Python 3.9+
What's New in astroid 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
* 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.
What's New in astroid 2.5.8?
============================
Release date: 2021-06-07
* Improve support for Pattern Matching
* Add lineno and col_offset for ``Keyword`` nodes and Python 3.9+
* Add global inference cache to speed up inference of long statement blocks
* Add a limit to the total number of nodes inferred indirectly as a result
of inferring some node
|
2021-06-01 07:14:56 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-astroid: updated to 2.5.7
What's New in astroid 2.5.7?
* Fix six.with_metaclass transformation so it doesn't break user defined \
transformations.
* Fix detection of relative imports.
* Fix inference of instance attributes defined in base classes
* Update `infer_named_tuple` brain to reject namedtuple definitions
that would raise ValueError
* Do not set instance attributes on builtin object()
* Fix some spurious cycles detected in ``context.path`` leading to more cases
that can now be inferred
* Add ``kind`` field to ``Const`` nodes, matching the structure of the built-in \
ast Const.
The kind field is "u" if the literal is a u-prefixed string, and \
``None`` otherwise.
* Fix property inference in class contexts for properties defined on the metaclass
* Update enum brain to fix definition of __members__ for subclass-defined Enums
* Update random brain to fix a crash with inference of some sequence elements
* Fix inference of attributes defined in a base class that is an inner class
* Allow inferring a return value of None for non-abstract empty functions and
functions with no return statements (implicitly returning None)
* scm_setuptools has been added to the packaging.
* Astroid's tags are now the standard form ``vX.Y.Z`` and not ``astroid-X.Y.Z`` \
anymore.
* Add initial support for Pattern Matching in Python 3.10
|
2021-04-26 14:58:24 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-astroid: updated to 2.5.6
What's New in astroid 2.5.6?
============================
Release Date: 2021-04-25
* Fix retro-compatibility issues with old version of pylint
What's New in astroid 2.5.5?
============================
Release Date: 2021-04-24
* Fixes the discord link in the project urls of the package.
What's New in astroid 2.5.4?
============================
Release Date: 2021-04-24
* The packaging is now done via setuptools exclusively. ``doc``, ``tests``, and \
``Changelog`` are
not packaged anymore - reducing the size of the package greatly.
* Debian packaging is now (officially) done in \
https://salsa.debian.org/python-team/packages/astroid.
* ``__pkginfo__`` now only contain ``__version__`` (also accessible with \
``astroid.__version__``),
other meta-information are still accessible with ``import \
importlib;metadata.metadata('astroid')``.
* Added inference tip for ``typing.Tuple`` alias
* Fix crash when evaluating ``typing.NamedTuple``
* COPYING was removed in favor of COPYING.LESSER and the latter was renamed to \
LICENSE to make more apparent
that the code is licensed under LGPLv2 or later.
* Moved from appveyor and travis to Github Actions for continuous integration.
|
2021-04-16 07:44:05 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-astroid: updated to 2.5.3
What's New in astroid 2.5.3?
============================
* Takes into account the fact that subscript inferring for a ClassDef may \
involve __class_getitem__ method
* Reworks the `collections` and `typing` brain so that `pylint`s acceptance \
tests are fine.
* Use ``inference_tip`` for ``typing.TypedDict`` brain.
* Fix mro for classes that inherit from typing.Generic
* Add inference tip for typing.Generic and typing.Annotated with \
``__class_getitem__``
|
2021-03-31 08:36:50 by Adam Ciarcinski | Files touched by this commit (1) |
Log message:
py-astroid: move PYTHON_VERSIONS_INCOMPATIBLE before pyversion.mk
|
2021-03-30 11:20:16 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-astroid: updated to 2.5.2
What's New in astroid 2.5.2?
* Detects `import numpy` as a valid `numpy` import.
* Iterate over ``Keywords`` when using ``ClassDef.get_children``
|
2021-03-01 09:49:11 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-astroid: updated to 2.5.1
What's New in astroid 2.5.1?
* The ``context.path`` is reverted to a set because otherwise it leads to false \
positives
for non `numpy` functions.
* Don't transform dataclass ClassVars
* Improve typing.TypedDict inference
* Fix the `Duplicates found in MROs` false positive.
|