forked from pool/python-astroid
Compare commits
18 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 341e0118e8 | |||
| 630b738f58 | |||
| 4195d1bad8 | |||
| b8769bc83f | |||
| 8406e72f47 | |||
| 2109829eeb | |||
| 3c0f3fb1a8 | |||
| 591b4ef01d | |||
| c708150b5c | |||
| 55c7f0afdf | |||
| 5ea4b747ff | |||
| bb404eda28 | |||
| e5238126ce | |||
| 693950acc7 | |||
| 9f4e3b6ef8 | |||
| 9f6a3418ed | |||
| 3e3484f21b | |||
| 9a5f856633 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3ba572a3faeabdd72ec79965b38867d1ce159ebec1281ba833928842b36cca32
|
||||
size 463675
|
||||
BIN
astroid-3.3.10-gh.tar.gz
LFS
Normal file
BIN
astroid-3.3.10-gh.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +1,94 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 14 09:35:21 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 3.3.10
|
||||
* Avoid importing submodules sharing names with standard library modules.
|
||||
* Fix bug where ``pylint code.custom_extension`` would analyze ``code.py``
|
||||
or ``code.pyi`` instead if they existed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 21 10:38:20 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 3.3.9
|
||||
* Fix crash when `sys.modules` contains lazy loader objects
|
||||
during checking.
|
||||
* Upload release assets to PyPI via Trusted Publishing.
|
||||
- Update BuildRequires from pyproject.toml
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 2 14:14:36 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 3.3.8:
|
||||
* Fix inability to import `collections.abc` in python 3.13.1.
|
||||
The reported fixes in astroid 3.3.6 and 3.3.7 did not actually
|
||||
fix this issue.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 22 13:46:15 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 3.3.5:
|
||||
* Control setting local nodes outside of the supposed local's
|
||||
constructor.
|
||||
* Fix Python 3.13 compatibility re: `collections.abc`
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 24 13:54:23 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 3.3.4:
|
||||
* Fix regression with f-string inference.
|
||||
* Fix bug with ``manager.clear_cache()`` not fully clearing
|
||||
cache
|
||||
* Fix a crash from inferring empty format specs.
|
||||
* Fix inference regression with property setters.
|
||||
* Add annotation-only instance attributes to attrs classes to
|
||||
fix `no-member` false positives.
|
||||
* Restore support for soft-deprecated members of the ``typing``
|
||||
module with python 3.13.
|
||||
* Fix a crash introduced in 3.3.0 involving invalid format
|
||||
strings.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 6 09:29:26 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 3.3.0
|
||||
* Add support for Python 3.13.
|
||||
* Remove support for Python 3.8 (and constants `PY38`,
|
||||
`PY39_PLUS`, and `PYPY_7_3_11_PLUS`).
|
||||
* Add the ``__annotations__`` attribute to the ``ClassDef`` object model.
|
||||
* Implement inference for JoinedStr and FormattedValue
|
||||
* Add support for ``ssl.OP_LEGACY_SERVER_CONNECT`` (new in Python 3.12).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 22 12:43:32 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 3.2.4
|
||||
* Avoid reporting unary/binary op type errors when inference
|
||||
is ambiguous.
|
||||
- from version 3.2.3
|
||||
* Fix ``AssertionError`` when inferring a property consisting
|
||||
of a partial function.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 30 22:03:18 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 3.2.2:
|
||||
* Improve inference for generic classes using the PEP 695
|
||||
syntax (Python 3.12).
|
||||
* Fix ``RecursionError`` in ``infer_call_result()`` for certain
|
||||
``__call__`` methods.
|
||||
* Add ``AstroidManager.prefer_stubs`` attribute to control the
|
||||
astroid 3.2.0 feature that prefers stubs.
|
||||
* ``igetattr()`` returns the last same-named function in a
|
||||
class (instead of the first). This avoids false positives
|
||||
in pylint with ``@overload``.
|
||||
* Adds ``module_denylist`` to ``AstroidManager`` for modules to
|
||||
be skipped during AST generation. Modules in this list will
|
||||
cause an ``AstroidImportError`` to be raised when an AST
|
||||
for them is requested.
|
||||
* Make ``astroid.interpreter._import.util.is_namespace`` only
|
||||
consider modules using a loader set to ``NamespaceLoader``
|
||||
or ``None`` as namespaces.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 22 19:54:17 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
@@ -1488,4 +1579,3 @@ Thu Dec 22 10:09:45 CET 2005 - garloff@suse.de
|
||||
references to each assigment statements instead of a single
|
||||
reference to the first assigment statement.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-astroid
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,13 +18,14 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-astroid
|
||||
Version: 3.1.0
|
||||
Version: 3.3.10
|
||||
Release: 0
|
||||
Summary: Representation of Python source as an AST for pylint
|
||||
License: LGPL-2.1-or-later
|
||||
URL: https://github.com/pycqa/astroid
|
||||
Source: https://github.com/PyCQA/astroid/archive/refs/tags/v%{version}.tar.gz#/astroid-%{version}-gh.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module mypy}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
|
||||
Reference in New Issue
Block a user