!14 Increase the upper limit version of flake8 to fix install
From: @han-guangyu Reviewed-by: @xiyuanwang Signed-off-by: @xiyuanwang
This commit is contained in:
commit
6b06ebf79a
@ -0,0 +1,22 @@
|
||||
From 822b191a137dccfd81963a9003c45ecbf67475f8 Mon Sep 17 00:00:00 2001
|
||||
From: han-guangyu <hanguangyu@uniontech.com>
|
||||
Date: Fri, 12 May 2023 05:23:23 +0000
|
||||
Subject: [PATCH] Increase the upper limit version of flake8 to 6.0.0
|
||||
|
||||
---
|
||||
requirements.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/requirements.txt b/requirements.txt
|
||||
index 9b18c80..fa0d5f8 100644
|
||||
--- a/requirements.txt
|
||||
+++ b/requirements.txt
|
||||
@@ -7,4 +7,4 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0
|
||||
PyYAML>=3.12 # MIT
|
||||
stevedore>=1.20.0 # Apache-2.0
|
||||
# NOTE(ianw) in here because dib-lint uses flake8
|
||||
-flake8<4.0.0,>=3.6.0 # MIT
|
||||
+flake8<=6.0.0,>=3.6.0 # MIT
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -1,12 +1,17 @@
|
||||
%global _empty_manifest_terminate_build 0
|
||||
Name: diskimage-builder
|
||||
Version: 3.20.3
|
||||
Release: 1
|
||||
Summary: Golden Disk Image builder.
|
||||
License: Apache-2.0
|
||||
URL: https://docs.openstack.org/diskimage-builder
|
||||
Source0: https://files.pythonhosted.org/packages/d6/44/fd52369109e56e0219a7607ccd4f2e0cc7c4caf730956cc27f62533babe8/diskimage-builder-3.20.3.tar.gz
|
||||
BuildArch: noarch
|
||||
Name: diskimage-builder
|
||||
Version: 3.20.3
|
||||
Release: 2
|
||||
Summary: olden Disk Image builder.
|
||||
License: Apache-2.0
|
||||
URL: https://docs.openstack.org/diskimage-builder
|
||||
Source0: https://files.pythonhosted.org/packages/d6/44/fd52369109e56e0219a7607ccd4f2e0cc7c4caf730956cc27f62533babe8/diskimage-builder-3.20.3.tar.gz
|
||||
|
||||
# Increase upper version to fix install because python-flake8 has been
|
||||
# upgraded to 6.0.0
|
||||
Patch0: 0001-Increase-the-upper-limit-version-of-flake8-to-6.0.0.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-setuptools
|
||||
@ -41,7 +46,7 @@ use with OpenStack.
|
||||
|
||||
%define __requires_exclude /sbin/runscript
|
||||
%prep
|
||||
%autosetup -n diskimage-builder-%{version}
|
||||
%autosetup -n diskimage-builder-%{version} -p1
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
@ -81,6 +86,9 @@ mv %{buildroot}/doclist.lst .
|
||||
%{_docdir}/*
|
||||
|
||||
%changelog
|
||||
* Fri May 12 2023 Han Guangyu <hanguangyu@uniontech.com> - 3.20.3-2
|
||||
- Increase the upper limit version of flake8 to fix install
|
||||
|
||||
* Mon Jul 04 2022 OpenStack_SIG <openstack@openeuler.org> - 3.20.3-1
|
||||
- Upgrade package python3-diskimage-builder to version 3.20.3
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user