2023-04-17 07:28:42 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-astroid: updated to 2.15.3
What's New in astroid 2.15.3?
* Fix ``infer_call_result()`` crash on methods called ``with_metaclass()``.
* Suppress ``UserWarning`` when finding module specs.
|
2023-04-05 13:19:28 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-astroid: updated to 2.15.2
What's New in astroid 2.15.2?
* Support more possible usages of ``attrs`` decorators.
What's New in astroid 2.15.1?
* Restore behavior of setting a Call as a base for classes created using \
``six.with_metaclass()``,
and harden support for using enums as metaclasses in this case.
|
2023-03-29 11:34:15 by Thomas Klausner | Files touched by this commit (96) |
Log message:
*: use PYTHON_VERSION instead of _PYTHON_VERSION
|
2023-03-09 10:47:47 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-astroid: updated to 2.15.0
What's New in astroid 2.15.0?
* astroid now supports ``TryStar`` nodes from python 3.11 and should be fully \
compatible with python 3.11.
* ``Formattedvalue.postinit`` is now keyword only. This is to allow correct \
typing of the
``Formattedvalue`` class.
* ``Astroid`` now supports custom import hooks.
* ``astroid`` now infers return values from match cases.
* ``AstroidManager.clear_cache`` now also clears the inference context cache.
* ``Astroid`` now retrieves the default values of keyword only arguments and \
sets them on
``Arguments.kw_defaults``.
* ``Uninferable`` now has the type ``UninferableBase``. This is to facilitate \
correctly type annotating
code that uses this singleton.
* Deprecate ``modutils.is_standard_module()``. It will be removed in the next \
minor release.
Functionality has been replaced by two new functions,
``modutils.is_stdlib_module()`` and ``modutils.module_in_path()``.
* Fix ``are_exclusive`` function when a walrus operator is used inside \
``IfExp.test`` field.
|
2023-02-13 11:45:11 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-astroid: updated to 2.14.2
What's New in astroid 2.14.2?
=============================
* '_infer_str_format_call' won't crash anymore when the string it analyses are \
uninferable.
|
2023-01-24 11:07:28 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
py-astroid: updated to 2.13.3
What's New in astroid 2.13.3?
=============================
* Fix a regression in 2.13.2 where a RunTimeError could be raised unexpectedly.
* Fix overwritten attributes in inherited dataclasses not being ordered correctly.
* Fix a false positive when an attribute named ``Enum`` was confused with \
``enum.Enum``.
Calls to ``Enum`` are now inferred & the qualified name is checked.
* Remove unnecessary typing_extensions dependency on Python 3.11 and newer
What's New in astroid 2.13.2?
=============================
* Removed version conditions on typing_extensions dependency. Removed \
typing_extensions from
our tests requirements as it was preventing issues to appear in our continuous \
integration.
What's New in astroid 2.13.1?
=============================
* Bumping typing_extensions to 4.0.0 that is required when using ``Self``
What's New in astroid 2.13.0?
=============================
* Fixed importing of modules that have the same name as the file that is importing.
``astroid`` will now correctly handle an ``import math`` statement in a file \
called ``math.py``
by relying on the import system.
* Create ``ContextManagerModel`` and let ``GeneratorModel`` inherit from it.
* Added a ``regex`` brain.
* Support "is None" constraints from if statements during inference.
|
2022-11-20 18:50:20 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-astroid: updated to 2.12.13
What's New in astroid 2.12.13?
==============================
* Prevent returning an empty list for ``ClassDef.slots()`` when the mro list \
contains one class & it is not ``object``.
* Prevent a crash when inferring calls to ``str.format`` with inferred arguments
that would be invalid.
* Infer the `length` argument of the ``random.sample`` function.
* Catch ``ValueError`` when indexing some builtin containers and sequences \
during inference.
|
2022-11-08 10:07:10 by Adam Ciarcinski | Files touched by this commit (1) |
Log message:
py-astroid: no need to depend on py-typed-ast anymore
|
2022-10-25 11:27:33 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-astroid: updated to 2.12.12
What's New in astroid 2.12.12?
==============================
* Add the ``length`` parameter to ``hash.digest`` & ``hash.hexdigest`` in \
the ``hashlib`` brain.
* Prevent a crash when a module's ``__path__`` attribute is unexpectedly missing.
* Fix inferring attributes with empty annotation assignments if parent
class contains valid assignment.
|
2022-10-12 09:43:08 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-astroid: updated to 2.12.11
What's New in astroid 2.12.11?
==============================
* Improve detection of namespace packages for the modules with ``__spec__`` set \
to None.
* Fixed a regression in the creation of the ``__init__`` of dataclasses with
multiple inheritance.
|