Change fix wrapt version mismatch method
Signed-off-by: cherry530 <707078654@qq.com> (cherry picked from commit 077064de55c9fae5385eaeda0d6d3f3ad92002c1)
This commit is contained in:
parent
7a4f252ed1
commit
b214d684f6
26
adapted-wrapt-version.patch
Normal file
26
adapted-wrapt-version.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
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
|
||||||
|
|
||||||
@ -1,11 +1,14 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-astroid
|
Name: python-astroid
|
||||||
Version: 2.9.3
|
Version: 2.9.3
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: An abstract syntax tree for Python with inference support.
|
Summary: An abstract syntax tree for Python with inference support.
|
||||||
License: LGPL-2.1-only and GPL-2.0-or-later
|
License: LGPL-2.1-only and GPL-2.0-or-later
|
||||||
URL: https://github.com/PyCQA/astroid
|
URL: https://github.com/PyCQA/astroid
|
||||||
Source0: https://files.pythonhosted.org/packages/2d/be/33923f5dee9f7119abbaa688833b0c71c2ef4b66af3b06ffc64fc8c341ae/astroid-2.9.3.tar.gz
|
Source0: https://files.pythonhosted.org/packages/2d/be/33923f5dee9f7119abbaa688833b0c71c2ef4b66af3b06ffc64fc8c341ae/astroid-2.9.3.tar.gz
|
||||||
|
|
||||||
|
Patch0: adapted-wrapt-version.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%description
|
%description
|
||||||
An abstract syntax tree for Python with inference support.
|
An abstract syntax tree for Python with inference support.
|
||||||
@ -46,8 +49,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.
|
source code. It is currently the library powering pylint capabilities.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n astroid-%{version}
|
%autosetup -n astroid-%{version} -p1
|
||||||
sed -i 's/<1.14/<=1.14/g' setup.cfg
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -88,6 +90,9 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Dec 04 2023 Ge Wang <wang__ge@126.com> -2.9.3-2
|
||||||
- Fix wrapt version mismatch
|
- Fix wrapt version mismatch
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user