Compare commits

..

No commits in common. "eba9a51efdd12f3793ac716fd417fefca0374267" and "606f61f741a5ea4369b1a3cc9c7767dda158fc4e" have entirely different histories.

4 changed files with 4 additions and 47 deletions

View File

@ -1,26 +0,0 @@
From 1e96a50dfb18c2522138b1acb6107d6d099811c8 Mon Sep 17 00:00:00 2001
From: cherry530 <707078654@qq.com>
Date: Wed, 8 May 2024 17:22:26 +0800
Subject: [PATCH] adapted wrapt version
Signed-off-by: cherry530 <707078654@qq.com>
---
setup.cfg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.cfg b/setup.cfg
index 3b13b14..68bf428 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -37,7 +37,7 @@ project_urls =
packages = find:
install_requires =
lazy_object_proxy>=1.4.0
- wrapt>=1.11,<1.14
+ wrapt>=1.11,<2
setuptools>=20.0
typed-ast>=1.4.0,<2.0;implementation_name=="cpython" and python_version<"3.8"
typing-extensions>=3.10;python_version<"3.10"
--
2.33.0

BIN
astroid-2.5.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,14 +1,11 @@
%global _empty_manifest_terminate_build 0
Name: python-astroid
Version: 2.9.3
Release: 3
Version: 2.5
Release: 1
Summary: An abstract syntax tree for Python with inference support.
License: LGPL-2.1-only and GPL-2.0-or-later
URL: https://github.com/PyCQA/astroid
Source0: https://files.pythonhosted.org/packages/2d/be/33923f5dee9f7119abbaa688833b0c71c2ef4b66af3b06ffc64fc8c341ae/astroid-2.9.3.tar.gz
Patch0: adapted-wrapt-version.patch
Source0: https://files.pythonhosted.org/packages/18/00/753b485627d9cd642516c195db63dcc0c87c36b8c682125c000b7f611b09/astroid-2.5.tar.gz
BuildArch: noarch
%description
An abstract syntax tree for Python with inference support.
@ -27,10 +24,8 @@ BuildRequires: python3-wheel
BuildRequires: python3-pytest-runner
# General requires
BuildRequires: python3-lazy-object-proxy
BuildRequires: python3-six
BuildRequires: python3-wrapt
# General requires
AutoReq: no
Requires: python3-lazy-object-proxy
Requires: python3-wrapt
Requires: python3-pytest-runner
@ -49,7 +44,7 @@ The aim of this module is to provide a common base representation of python
source code. It is currently the library powering pylint capabilities.
%prep
%autosetup -n astroid-%{version} -p1
%autosetup -n astroid-2.5
%build
%py3_build
@ -90,18 +85,6 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/*
%changelog
* Wed May 08 2024 xu_ping <707078654@qq.com> -2.9.3-3
- Change fix wrapt version mismatch method
* Mon Dec 04 2023 Ge Wang <wang__ge@126.com> -2.9.3-2
- Fix wrapt version mismatch
* Feb Nov 01 2022 Ge Wang <wangge20@h-partners.com> -2.9.3-1
- Update to version 2.9.3
* Fri Oct 28 2022 yaoxin <yaoxin30@h-partners.com> - 2.5-2
- Fix install failure due to python-wrapt upgraded
* Mon Jul 19 2021 OpenStack_SIG <openstack@openeuler.org> - 2.5-1
- Upgrade to version 2.5