- Remove google-api from setup.py

This commit is contained in:
eabdullin 2025-07-10 13:12:11 +03:00
parent d29aa87eda
commit 6e66563ca4
3 changed files with 31 additions and 2 deletions

View File

@ -0,0 +1,24 @@
From 3995b7a4e74a2494acda6ecd9679ef0f90ef7ece Mon Sep 17 00:00:00 2001
From: eabdullin <eabdullin@almalinux.org>
Date: Thu, 10 Jul 2025 13:10:21 +0300
Subject: [PATCH 2/2] Remove google_api from setup
---
setup.py | 1 -
1 file changed, 1 deletion(-)
diff --git a/setup.py b/setup.py
index c3b0d83..c71a9fd 100644
--- a/setup.py
+++ b/setup.py
@@ -32,7 +32,6 @@ setup(name='immudb-py',
install_requires=[
'grpcio>=1.31.0',
'protobuf>=3.13.0,<4.0.0',
- 'google-api>=0.1.12',
'google-api-core>=1.22.1',
'ecdsa>=0.16.1'
],
--
2.39.5 (Apple Git-154)

@ -0,0 +1 @@
Subproject commit 3995b7a4e74a2494acda6ecd9679ef0f90ef7ece

View File

@ -2,7 +2,7 @@
Name: python-%{modname}
Version: 1.4.0
Release: 1%{?dist}
Release: 3%{?dist}
Summary: Immudb client for Python
License: Apache-2.0
@ -10,7 +10,7 @@ URL: https://github.com/codenotary/immudb-py
Source0: https://github.com/codenotary/immudb-py/archive/v%{immudb_version}/immudb-py-%{version}.tar.gz
Patch1: 0001-Remove-dataclasses-from-setup-for-python39.patch
Patch2: 0002-Remove-google_api-from-setup.patch
BuildArch: noarch
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-pip
@ -37,6 +37,7 @@ Python %{python3_pkgversion} version.
%if 0%{?rhel} > 8
%patch1 -p1 -b .remove-dataclasses
%endif
%patch2 -p1 -b .remove-google-api
%build
%pyproject_wheel
@ -50,6 +51,9 @@ Python %{python3_pkgversion} version.
%license LICENSE
%changelog
* Thu Jul 10 2025 Eduard Abdullin <eabdullin@almalinux.org> - 1.4.0-3
- Remove google-api from setup.py
* Thu Jul 10 2025 Eduard Abdullin <eabdullin@almalinux.org> - 1.4.0-2
- Remove dataclasses from setup.py for AlmaLinux 9 and later