Next | Query returned 90 messages, browsing 31 to 40 | Previous

History of commit frequency

CVS Commit History:


   2022-04-20 12:42:10 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-astroid: updated to 2.11.3

What's New in astroid 2.11.3?
=============================
* Fixed an error in the Qt brain when building ``instance_attrs``.

* Fixed a crash in the ``gi`` brain.

What's New in astroid 2.11.2?
=============================
* Avoided adding the name of a parent namedtuple to its child's locals.

What's New in astroid 2.11.1?
=============================
* Promoted ``getattr()`` from ``astroid.scoped_nodes.FunctionDef`` to its parent
  ``astroid.scoped_nodes.Lambda``.

* Fixed crash on direct inference via ``nodes.FunctionDef._infer``.

What's New in astroid 2.11.0?
=============================
* Add new (optional) ``doc_node`` attribute to ``nodes.Module``, ``nodes.ClassDef``,
  and ``nodes.FunctionDef``.

* Accessing the ``doc`` attribute of ``nodes.Module``, ``nodes.ClassDef``, and
  ``nodes.FunctionDef`` has been deprecated in favour of the ``doc_node`` attribute.
  Note: ``doc_node`` is an (optional) ``nodes.Const`` whereas ``doc`` was an \ 
(optional) ``str``.

* Passing the ``doc`` argument to the ``__init__`` of ``nodes.Module``, \ 
``nodes.ClassDef``,
  and ``nodes.FunctionDef`` has been deprecated in favour of the ``postinit`` \ 
``doc_node`` attribute.
  Note: ``doc_node`` is an (optional) ``nodes.Const`` whereas ``doc`` was an \ 
(optional) ``str``.

* Replace custom ``cachedproperty`` with ``functools.cached_property`` and \ 
deprecate it
  for Python 3.8+.

* Set ``end_lineno`` and ``end_col_offset`` attributes to ``None`` for all nodes
  with PyPy 3.8. PyPy 3.8 assigns these attributes inconsistently which could lead
  to unexpected errors. Overwriting them with ``None`` will cause a fallback
  to the already supported way of PyPy 3.7.

* Add missing ``shape`` parameter to numpy ``zeros_like``, ``ones_like``,
  and ``full_like`` methods.

* Only pin ``wrapt`` on the major version.

What's New in astroid 2.10.0?
=============================
* Fixed inference of ``self`` in binary operations in which ``self``
  is part of a list or tuple.

* Fixed builtin inference on `property` calls not calling the `postinit` of the \ 
new node, which
  resulted in instance arguments missing on these nodes.

* Fixed a crash on ``Super.getattr`` when the attribute was previously \ 
uninferable due to a cache
  limit size. This limit can be hit when the inheritance pattern of a class (and \ 
therefore of the
  ``__init__`` attribute) is very large.

* Inlcude names of keyword-only arguments in \ 
``astroid.scoped_nodes.Lambda.argnames``.

* Fixed a crash inferring on a ``NewType`` named with an f-string.

* Add support for [attrs \ 
v21.3.0](https://github.com/python-attrs/attrs/releases/tag/21.3.0) which
  added a new `attrs` module alongside the existing `attr`.

* Use the ``end_lineno`` attribute for the ``NodeNG.tolineno`` property
  when it is available.

* Add ``is_dataclass`` attribute to ``ClassDef`` nodes.

* Use ``sysconfig`` instead of ``distutils`` to determine the location of
  python stdlib files and packages.

* Fixed crash with recursion error for inference of class attributes that referenced
  the class itself.

* Fixed crash when trying to infer ``items()`` on the ``__dict__``
  attribute of an imported module.

* Add optional ``NodeNG.position`` attribute.
  Used for block nodes to highlight position of keyword(s) and name
  in cases where the AST doesn't provide good enough positional information.
  E.g. ``nodes.ClassDef``, ``nodes.FunctionDef``.

* Fix ``ClassDef.fromlineno``. For Python < 3.8 the ``lineno`` attribute \ 
includes decorators.
  ``fromlineno`` should return the line of the ``class`` statement itself.

* Performance improvements. Only run expensive decorator functions when
  non-default Deprecation warnings are enabled, eg. during a Pytest run.
   2022-01-10 12:31:00 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-astroid: updated to 2.9.3

What's New in astroid 2.9.3?
* Fixed regression where packages without a ``__init__.py`` file were
  not recognized or imported correctly.
   2022-01-07 18:13:30 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-astroid: updated to 2.9.2

What's New in astroid 2.9.2?
============================
Release date: 2022-01-04

* Fixed regression in ``astroid.scoped_nodes`` where ``_is_metaclass``
  was not accessible anymore.

What's New in astroid 2.9.1?
============================
Release date: 2021-12-31

* ``NodeNG.frame()`` and ``NodeNG.statement()`` will start raising \ 
``ParentMissingError``
  instead of ``AttributeError`` in astroid 3.0. This behaviour can already be \ 
triggered
  by passing ``future=True`` to a ``frame()`` or ``statement()`` call.

* Prefer the module loader get_source() method in AstroidBuilder's
  module_build() when possible to avoid assumptions about source
  code being available on a filesystem.  Otherwise the source cannot
  be found and application behavior changes when running within an
  embedded hermetic interpreter environment (pyoxidizer, etc.).

* Require Python 3.6.2 to use astroid.

* Removed custom ``distutils`` handling for resolving paths to submodules.

* Fix ``deque.insert()`` signature in ``collections`` brain.

* Fix ``Module`` nodes not having a ``col_offset``, ``end_lineno``, and \ 
``end_col_offset``
  attributes.

* Fix typing and update explanation for ``Arguments.args`` being ``None``.

* Fix crash if a variable named ``type`` is subscripted in a generator expression.

* Enable inference of dataclass import from marshmallow_dataclass.
  This allows the dataclasses brain to recognize dataclasses annotated by \ 
marshmallow_dataclass.

* Resolve symlinks in the import path
  Fixes inference error when the import path includes symlinks (e.g. Python
  installed on macOS via Homebrew).
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-12-08 17:21:21 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-astroid: updated to 2.9.0

v2.9.0:
Add end_lineno and end_col_offset attributes to astroid nodes.
Always treat __class_getitem__ as a classmethod.
Add missing as_string visitor method for Unknown node.
   2021-11-14 16:22:57 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-astroid: updated to 2.8.5

What's New in astroid 2.8.5?
============================
* Use more permissive versions for the ``typed-ast`` dependencie (<2.0 \ 
instead of <1.5)
* Fix crash on inference of ``__len__``.
* Added missing ``kind`` (for ``Const``) and ``conversion`` (for \ 
``FormattedValue``) fields to repr.
* Fix crash with assignment expressions, nested if expressions and filtering of \ 
statements
* Fix incorrect filtering of assignment expressions statements
   2021-10-26 14:20:38 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-astroid: updated to 2.8.4

What's New in astroid 2.8.4?
============================
* Fix the ``scope()`` and ``frame()`` methods of ``NamedExpr`` nodes.
  When these nodes occur in ``Arguments``, ``Keyword``  or ``Comprehension`` \ 
nodes these
  methods now correctly point to the outer-scope of the ``FunctionDef``,
  ``ClassDef``, or ``Comprehension``.
* Fix the ``set_local`` function for ``NamedExpr`` nodes.
  When these nodes occur in ``Arguments``, ``Keyword``, or ``Comprehension`` \ 
nodes these
  nodes are now correctly added to the locals of the ``FunctionDef``,
  ``ClassDef``, or ``Comprehension``.

What's New in astroid 2.8.3?
============================
* Add support for wrapt 1.13
* Fixes handling of nested partial functions
* Fix regression with the import resolver
* Fix crash with invalid dataclass field call

What's New in astroid 2.8.2?
============================
Same content than 2.8.2-dev0 / 2.8.1, released in order to fix a
mistake when creating the tag.

What's New in astroid 2.8.1?
============================
* Adds support of type hints inside numpy's brains.
* Enable inference of dataclass import from pydantic.dataclasses.
  This allows the dataclasses brain to recognize pydantic dataclasses.
* Fix regression on ClassDef inference
* Fix regression on Compare node inference
* 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
* 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.

What's New in astroid 2.8.0?
============================
* 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
* Add ``node_ancestors`` method to ``NodeNG`` for obtaining the ancestors of nodes.
* It's now possible to infer the value of comparison nodes
* Fixed bug in inference of dataclass field calls.
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-09-13 08:50:20 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-astroid: updated to 2.7.3

What's New in astroid 2.7.3?
============================
* The transforms related to a module are applied only if this module has not \ 
been explicitly authorized to be imported
  (i.e is not in AstroidManager.extension_package_whitelist). Solves the \ 
following issues if numpy is authorized to be imported
  through the `extension-pkg-allow-list` option.
* Fixed bug in attribute inference from inside method calls.
* Fixed bug in inference for superclass instance methods called
  from the class rather than an instance.
* Fixed bug in inference of chained attributes where a subclass
  had an attribute that was an instance of its superclass.
* Adds a brain for the ctypes module.
* When processing dataclass attributes, exclude the same type hints from \ 
abc.collections
  as from typing.
* Apply dataclass inference to pydantic's dataclasses.

What's New in astroid 2.7.2?
============================
* ``BaseContainer`` is now public, and will replace ``_BaseContainer`` \ 
completely in astroid 3.0.
* The call cache used by inference functions produced by ``inference_tip``
  can now be cleared via ``clear_inference_tip_cache``.
* ``astroid.const.BUILTINS`` and ``astroid.bases.BUILTINS`` are not used \ 
internally anymore
  and will be removed in astroid 3.0. Simply replace this by the string \ 
'builtins' for better
  performances and clarity.
* Add inference for dataclass initializer method.

What's New in astroid 2.7.1?
============================
* When processing dataclass attributes, only do typing inference on collection types.
  Support for instantiating other typing types is left for the future, if desired.
* Fixed LookupMixIn missing from ``astroid.node_classes``.

What's New in astroid 2.7.0?
============================
* Import from ``astroid.node_classes`` and ``astroid.scoped_nodes`` has been \ 
deprecated in favor of
  ``astroid.nodes``. Only the imports from ``astroid.nodes`` will work in \ 
astroid 3.0.0.
* Add support for arbitrary Enum subclass hierachies
* Add inference tips for dataclass attributes, including dataclasses.field calls.
  Also add support for InitVar.
* Adds a brain that deals with dynamic import of `IsolatedAsyncioTestCase` class \ 
of the `unittest` module.

Next | Query returned 90 messages, browsing 31 to 40 | Previous