1
0
Dominique Leuenberger 2024-07-25 13:39:29 +00:00 committed by Git OBS Bridge
commit 500aa94c5c
3 changed files with 20 additions and 1 deletions

12
acc_update-psutil.patch Normal file
View File

@ -0,0 +1,12 @@
diff -Nru azure_cli_core-2.62.0.orig/setup.py azure_cli_core-2.62.0/setup.py
--- azure_cli_core-2.62.0.orig/setup.py 2024-07-04 04:23:33.000000000 +0200
+++ azure_cli_core-2.62.0/setup.py 2024-07-19 16:27:28.767852656 +0200
@@ -59,7 +59,7 @@
'paramiko>=2.0.8,<4.0.0',
'pkginfo>=1.5.0.1',
# psutil can't install on cygwin: https://github.com/Azure/azure-cli/issues/9399
- 'psutil~=5.9; sys_platform != "cygwin"',
+ 'psutil>=5.9; sys_platform != "cygwin"',
'PyJWT>=2.1.0',
'pyopenssl>=17.1.0', # https://github.com/pyca/pyopenssl/pull/612
'requests[socks]'

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Jul 19 14:27:53 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Add patch to update python-psutil dependency
+ acc_update-psutil.patch
- Update Requires from setup.py
-------------------------------------------------------------------
Tue Jul 9 06:58:52 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -33,6 +33,7 @@ URL: https://github.com/Azure/azure-cli
Source: https://files.pythonhosted.org/packages/source/a/azure-cli-core/azure_cli_core-%{version}.tar.gz
Source1: LICENSE.txt
Patch0: acc_disable-update-check.patch
Patch1: acc_update-psutil.patch
BuildRequires: %{pythons}-azure-nspkg >= 3.0.0
BuildRequires: %{pythons}-pip
BuildRequires: %{pythons}-setuptools
@ -62,7 +63,6 @@ Requires: %{pythons}-paramiko < 4.0.0
Requires: %{pythons}-paramiko >= 2.0.8
Requires: %{pythons}-pip
Requires: %{pythons}-pkginfo >= 1.5.0.1
Requires: %{pythons}-psutil < 6.0
Requires: %{pythons}-psutil >= 5.9
Requires: %{pythons}-pyOpenSSL >= 17.1.0
Requires: %{pythons}-requests < 3.0.0