From 6e66563ca48c9514899709850c7ca9c15741034d Mon Sep 17 00:00:00 2001 From: eabdullin Date: Thu, 10 Jul 2025 13:12:11 +0300 Subject: [PATCH] - Remove google-api from setup.py --- .../0002-Remove-google_api-from-setup.patch | 24 +++++++++++++++++++ SOURCES/immudb-py-1.4.0 | 1 + SPECS/immudb.spec | 8 +++++-- 3 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 SOURCES/0002-Remove-google_api-from-setup.patch create mode 160000 SOURCES/immudb-py-1.4.0 diff --git a/SOURCES/0002-Remove-google_api-from-setup.patch b/SOURCES/0002-Remove-google_api-from-setup.patch new file mode 100644 index 0000000..35a427b --- /dev/null +++ b/SOURCES/0002-Remove-google_api-from-setup.patch @@ -0,0 +1,24 @@ +From 3995b7a4e74a2494acda6ecd9679ef0f90ef7ece Mon Sep 17 00:00:00 2001 +From: eabdullin +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) + diff --git a/SOURCES/immudb-py-1.4.0 b/SOURCES/immudb-py-1.4.0 new file mode 160000 index 0000000..3995b7a --- /dev/null +++ b/SOURCES/immudb-py-1.4.0 @@ -0,0 +1 @@ +Subproject commit 3995b7a4e74a2494acda6ecd9679ef0f90ef7ece diff --git a/SPECS/immudb.spec b/SPECS/immudb.spec index ac4b83b..9151376 100644 --- a/SPECS/immudb.spec +++ b/SPECS/immudb.spec @@ -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 - 1.4.0-3 +- Remove google-api from setup.py + * Thu Jul 10 2025 Eduard Abdullin - 1.4.0-2 - Remove dataclasses from setup.py for AlmaLinux 9 and later