Accepting request 1108520 from home:badshah400:branches:network

* Update to version 1.57.0.
* Build with Cython.

OBS-URL: https://build.opensuse.org/request/show/1108520
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio-tools?expand=0&rev=47
This commit is contained in:
Dirk Mueller 2023-09-04 07:46:37 +00:00 committed by Git OBS Bridge
parent 548c711bf5
commit 28887b4eb1
4 changed files with 15 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:82af2f4040084141a732f0ef1ecf3f14fdf629923d74d850415e4d09a077e77a
size 4485433

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2f16130d869ce27ecd623194547b649dd657333ec7e8644cc571c645781a9b85
size 4488020

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Aug 30 17:13:33 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.57.0:
* [posix] Enable systemd sockets for libsystemd>=233
(gh#grpc/grpc#32671).
* [python O11Y] Initial Implementation (gh#grpc/grpc#32974).
- Build with Cython.
-------------------------------------------------------------------
Sat Aug 5 13:25:52 UTC 2023 - munix9@googlemail.com
@ -5,7 +14,6 @@ Sat Aug 5 13:25:52 UTC 2023 - munix9@googlemail.com
* [WRR] backport (gh#grpc/grpc#33694) to 1.56 (gh#grpc/grpc#33698)
* [backport][iomgr][EventEngine] Improve server handling of
file descriptor exhaustion (gh#grpc/grpc#33667)
- Switch build to pip/wheel.
-------------------------------------------------------------------

View File

@ -20,13 +20,14 @@
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-grpcio-tools
Version: 1.56.2
Version: 1.57.0
Release: 0
Summary: Protobuf code generator for gRPC
License: Apache-2.0
Group: Development/Languages/Python
URL: https://grpc.io
Source: https://files.pythonhosted.org/packages/source/g/grpcio-tools/grpcio-tools-%{version}.tar.gz
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
@ -53,7 +54,7 @@ This package provides a python-based Protobuf code generator for gRPC.
sed -i "1{/\/usr\/bin\/env python/d}" grpc_tools/protoc.py
%build
%define _lto_cflags %{nil}
export GRPC_PYTHON_BUILD_WITH_CYTHON=true
export CFLAGS="%{optflags}"
%pyproject_wheel