!3 fix install failed with python-requests-toolbelt
From: @starlet-dx Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
faeab866f8
16
fix-install-failed-with-python-requests-toolbelt.patch
Normal file
16
fix-install-failed-with-python-requests-toolbelt.patch
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
diff --git a/setup.cfg b/setup.cfg
|
||||||
|
index 5ae527a..f2b87f0 100644
|
||||||
|
--- a/setup.cfg
|
||||||
|
+++ b/setup.cfg
|
||||||
|
@@ -37,7 +37,7 @@ install_requires =
|
||||||
|
pkginfo >= 1.4.2
|
||||||
|
readme_renderer >= 21.0
|
||||||
|
requests >= 2.20
|
||||||
|
- requests-toolbelt >= 0.8.0, != 0.9.0
|
||||||
|
+ requests-toolbelt >= 0.8.0
|
||||||
|
setuptools >= 0.7.0
|
||||||
|
tqdm >= 4.14
|
||||||
|
importlib_metadata; python_version < "3.8"
|
||||||
|
--
|
||||||
|
2.30.0
|
||||||
|
|
||||||
@ -1,11 +1,12 @@
|
|||||||
%global _empty_manifest_terminate_build 0
|
%global _empty_manifest_terminate_build 0
|
||||||
Name: python-twine
|
Name: python-twine
|
||||||
Version: 3.2.0
|
Version: 3.2.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Collection of utilities for publishing packages on PyPI
|
Summary: Collection of utilities for publishing packages on PyPI
|
||||||
License: Apache Software License
|
License: Apache-2.0
|
||||||
URL: https://twine.readthedocs.io/
|
URL: https://twine.readthedocs.io/
|
||||||
Source0: https://files.pythonhosted.org/packages/14/54/2fc5732362649f4b6f4c245c17dc5a526148b1fb2c3a89176a2ef950628a/twine-3.2.0.tar.gz
|
Source0: https://files.pythonhosted.org/packages/14/54/2fc5732362649f4b6f4c245c17dc5a526148b1fb2c3a89176a2ef950628a/twine-3.2.0.tar.gz
|
||||||
|
Patch0: fix-install-failed-with-python-requests-toolbelt.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: python3-pkginfo
|
Requires: python3-pkginfo
|
||||||
@ -49,7 +50,7 @@ See our documentation for a description of features, installation
|
|||||||
and usage instructions, and links to additional resources.
|
and usage instructions, and links to additional resources.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n twine-3.2.0
|
%autosetup -n twine-3.2.0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
@ -89,5 +90,8 @@ mv %{buildroot}/doclist.lst .
|
|||||||
%{_docdir}/*
|
%{_docdir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 18 2022 yaoxin <yaoxin30@h-partners.com> - 3.2.0-2
|
||||||
|
- fix install failed with python-requests-toolbelt
|
||||||
|
|
||||||
* Wed Nov 18 2020 maminjie <maminje1@huawei.com> - 3.2.0-1
|
* Wed Nov 18 2020 maminjie <maminje1@huawei.com> - 3.2.0-1
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user