- 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. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=111
This commit is contained in:
commit
591b4ef01d
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
astroid-3.2.2-gh.tar.gz
Normal file
3
astroid-3.2.2-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7ff8e7de62e56c107334c15dfa336256901711e931e0f644a366bcb91e276a42
|
||||
size 465306
|
3
astroid-3.2.4-gh.tar.gz
Normal file
3
astroid-3.2.4-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e668c1d31790c6dcc4ab0ec6251cb02ed3c610a860d66ffeb6f72f1811f13605
|
||||
size 465788
|
3
astroid-3.3.0-gh.tar.gz
Normal file
3
astroid-3.3.0-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c5da09c3adce28afa8686b9753fe7d0c7ad04ace41cfe34f62761c659402de0d
|
||||
size 463962
|
BIN
astroid-3.3.5-gh.tar.gz
(Stored with Git LFS)
Normal file
BIN
astroid-3.3.5-gh.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
3
astroid-3.3.8-gh.tar.gz
Normal file
3
astroid-3.3.8-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4fd092083a3cbb72a8e0ddbcb9f9dcd6b2ae068f745cd1c0a6844a6a143ab297
|
||||
size 467093
|
1565
python-astroid.changes
Normal file
1565
python-astroid.changes
Normal file
File diff suppressed because it is too large
Load Diff
75
python-astroid.spec
Normal file
75
python-astroid.spec
Normal file
@ -0,0 +1,75 @@
|
||||
#
|
||||
# spec file for package python-astroid
|
||||
#
|
||||
# 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-astroid
|
||||
Version: 3.3.8
|
||||
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 pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
# typing-extensions for python310 required for tests only: gh#PyCQA/astroid#1585
|
||||
BuildRequires: %{python_module typing-extensions >= 3.10}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
%if 0%{?python_version_nodots} < 311
|
||||
Requires: python-typing-extensions >= 3.10
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This module provides a common base representation of Python source code for
|
||||
projects such as pychecker, pyreverse, pylint. The development of this library
|
||||
is governed by pylint's needs.
|
||||
|
||||
It provides a compatible representation which comes from the _ast
|
||||
module. It rebuilds the tree generated by the builtin _ast module by
|
||||
recursively walking down the AST and building an extended ast. The new
|
||||
node classes have additional methods and attributes for different
|
||||
usages. They include some support for static inference and local name
|
||||
scopes. Furthermore, astroid builds partial trees by inspecting living
|
||||
objects.
|
||||
|
||||
%prep
|
||||
%setup -q -n astroid-%{version}
|
||||
%autopatch -p1
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc ChangeLog README.rst
|
||||
%{python_sitelib}/astroid/
|
||||
%{python_sitelib}/astroid-%{version}*-info
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user