1
0
forked from pool/python-grpcio

113 Commits

Author SHA256 Message Date
9221130f96 Accepting request 1317622 from network
OBS-URL: https://build.opensuse.org/request/show/1317622
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=52
2025-11-13 17:24:06 +00:00
b96f39409e * Update to version 1.76.0.
* Minor rebase of fix-return-values.patch to apply cleanly.
* Drop setting _default_patch_fuzz to 2 as all patches have been rebased to apply cleanly.

OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=107
2025-11-13 15:13:39 +00:00
6d43d5ed21 Accepting request 1313308 from network
* Add (Build)Requires: python-typing_extensions, needed since
  version 1.75.0.
* Update to version 1.75.1

OBS-URL: https://build.opensuse.org/request/show/1313308
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=51
2025-10-24 15:23:34 +00:00
4d5acd5741 OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=105 2025-10-24 05:39:32 +00:00
8136254d31 OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=104 2025-10-24 05:37:03 +00:00
b7e7014f53 - Update to version 1.75.1
* Release grpcio wheels with Python 3.14 support (#40403)
  * Asyncio: fixes grpc shutdown race condition occurring
    during python interpreter finalizations. (#40447)
  * This also addresses previously reported issues with empty
    error message on Python interpreter exit (Error in
    sys.excepthook:/Original exception was: empty): (#36655),
    (#38679), (#33342)
  * Python 3.14: preserve current behavior when using grpc.aio
    async methods outside of a running event loop. (#40750)
  * Note: using async methods outside of a running event loop
    is discouraged by Python, and will be deprecated in future
    gRPC releases. Please use the asyncio.run() function (or
    asyncio.Runner for custom loop factories). For interactive
    mode, use dedicated asyncio REPL: python -m asyncio.
- from version 1.75.0
  * [Security] Cherry Pick Spiffe Verification. (#40515)
  * [Python][Typeguard] Part 3 - Add Typeguard to AIO stack
    in tests. (#40217)
  * [c-ares] update version to 1.34.5. (#39508)
  * [pick_first] fix bug that caused us to stop attempting to
    connect. (#40162)
  * [OTel C++] Implement retry metrics. (#39195)
  * Fix data race by adding custom getter for state property
    with @synchronized locking. (#40146)
  * gRPC Python (grpcio) now depends on typing-extensions~=4.13. (#40137)
  * Update musllinux wheels from musllinux_1_1 to musllinux_1_2. (#40317)
    * Dropping musllinux_1_1 because it reached EOL in November 2024
    * Reference on musllinux platform tags: PEP 656
  * grpc.aio typehint fixes. (#40215, #40217)

OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=103
2025-10-24 04:57:21 +00:00
a9f96d4829 Accepting request 1297210 from network
OBS-URL: https://build.opensuse.org/request/show/1297210
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=50
2025-08-03 11:39:07 +00:00
ca852efda5 * Update to version 1.74.0.
* Update fix-return-values.patch for new version (copied from obs://devel:tools/grpc/return-values.patch).

OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=101
2025-08-03 08:26:53 +00:00
078f79dff0 Accepting request 1293843 from network
- Require Cython >= 3.0.0 instead of 3.1.1 as the latest version
  available on TW is 3.0.2 currently.
- Fix build error for Leap 15.6.

OBS-URL: https://build.opensuse.org/request/show/1293843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=49
2025-07-17 15:18:36 +00:00
8175737e5b OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=99 2025-07-16 14:36:38 +00:00
6776d4a3dd OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=98 2025-07-16 14:35:49 +00:00
331dfe3518 - Fix build error for Leap 15.6.
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=97
2025-07-16 13:56:17 +00:00
92380c385a Accepting request 1286792 from network
OBS-URL: https://build.opensuse.org/request/show/1286792
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=48
2025-06-20 14:48:52 +00:00
a109e9dff0 Update to version 1.73.0.
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=95
2025-06-18 20:46:34 +00:00
2ebcb68520 Accepting request 1277838 from network
OBS-URL: https://build.opensuse.org/request/show/1277838
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=47
2025-05-20 07:33:03 +00:00
efda3d44c8 Update to version 1.72.0. Rebase fix-return-values.patch: adapt to changed file path.
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=93
2025-05-15 15:26:30 +00:00
3b4332731a Accepting request 1272675 from network
OBS-URL: https://build.opensuse.org/request/show/1272675
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=46
2025-04-25 20:19:58 +00:00
ebbf72c6b6 add missing CVE+bugzilla refs:
- Update to version 1.68.1 (CVE-2024-11407, bsc#1233821):
- Update to version 1.67.1 (CVE-2024-7246, bsc#1228919):

OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=91
2025-04-25 12:47:24 +00:00
01d3e672a8 Accepting request 1240248 from network
OBS-URL: https://build.opensuse.org/request/show/1240248
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=45
2025-01-25 18:13:10 +00:00
e783f98748 - Update to version 1.69.0
* [Build] Override MACOSX_DEPLOYMENT_TARGET for gRPC Python. (#37997)
- from version 1.68.2
  * No Python-specific changes.

OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=89
2025-01-25 08:32:29 +00:00
5eb0de3581 Accepting request 1233017 from network
OBS-URL: https://build.opensuse.org/request/show/1233017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=44
2024-12-22 17:05:13 +00:00
7e90cd57fa Update to version 1.68.1.
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=87
2024-12-22 07:12:46 +00:00
fb7d63cec2 Accepting request 1223599 from network
OBS-URL: https://build.opensuse.org/request/show/1223599
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=43
2024-11-12 18:23:34 +00:00
cfea6d07d9 - Update to version 1.67.1:
* Add templating and support for Python 3.13
  * Add templating and support for Python 3.13
  * Change warning to RuntimeError for version incompatibility.
  * reflection returns original_request.
- Added fix-return-values.patch for compile failures
- Removed obsolete terminate.patch

OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=85
2024-11-12 09:38:20 +00:00
8dbdfce956 Accepting request 1188357 from network
OBS-URL: https://build.opensuse.org/request/show/1188357
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=42
2024-07-19 13:27:24 +00:00
89123ec1e0 Accepting request 1169539 from network
- update to 1.62.2:
  * [Fix Python Deadlock] Guard
    grpc_google_default_credentials_create with nogil

OBS-URL: https://build.opensuse.org/request/show/1169539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=41
2024-04-21 18:28:29 +00:00
9162c33d8b - update to 1.62.2:
* [Fix Python Deadlock] Guard
    grpc_google_default_credentials_create with nogil

OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=81
2024-04-21 16:13:33 +00:00
fc18095a38 Accepting request 1160574 from network
OBS-URL: https://build.opensuse.org/request/show/1160574
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=40
2024-03-22 14:21:54 +00:00
4625ce8ab8 Accepting request 1159774 from home:badshah400:branches:network
Update to version 1.62.1.

OBS-URL: https://build.opensuse.org/request/show/1159774
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=79
2024-03-22 08:56:47 +00:00
7f954538cf Accepting request 1153414 from network
OBS-URL: https://build.opensuse.org/request/show/1153414
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=39
2024-02-29 20:51:41 +00:00
0cfd67da8d Accepting request 1151936 from home:rjschwei:branches:network
- Version update in SLE 15 SP4 and later (jsc#PED-6697)

OBS-URL: https://build.opensuse.org/request/show/1151936
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=77
2024-02-29 15:16:12 +00:00
dd6b602871 Accepting request 1150048 from home:badshah400:branches:network
* Update to version 1.62.0.
* Add terminate.patch: Fix control reaching end of non-void function.
* Rebase python-grpcio-cython3-compat.patch for updated version.

OBS-URL: https://build.opensuse.org/request/show/1150048
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=76
2024-02-27 16:52:43 +00:00
38f7d0d170 Accepting request 1145435 from network
- update to 1.60.1:
  * Revert change to print backtrace in server
- Update to version 1.60.0:
  * No python specfic changes.
- Add patches for embeeded xxhash 0.8.1 from SLE's xxhash package.
- Add xxhash-ppc64le-gcc7.patch: fix build failure on ppc64le
  when using gcc 7 (boo#1208794).
- add patch xxhash-avoid-armv6-unaligned-access.patch
  do not expect unaligned accesses to work on armv6, it breaks
  in our build setup using aarch64 kernels
- Update to version 1.59.2:
  * No python specific changes.
- Update to version 1.59.0:
  * [Python 3.12] Support Python 3.12 (gh#grpc/grpc#34398).
  * [Python 3.12] Deprecate distutil (gh#grpc/grpc#34186).
- Add minimum required versions for Cython, wheel and abseil-cpp.
- Update to version 1.58.0:
  * [Bazel] Enable grpcio-reflection to be used via Bazel
    (gh#grpc/grpc#31013).
  * [packaging] Publish xds-protos as part of the standard package
    pipeline (gh#grpc/grpc#33797).
- Update to version 1.57.0: (CVE-2023-4785, bsc#1215334, CVE-2023-33953, bsc#1214148)
  * [posix] Enable systemd sockets for libsystemd>=233
    (gh#grpc/grpc#32671).
  * [python O11Y] Initial Implementation (gh#grpc/grpc#32974).
- Add python-grpcio-cython3-compat.patch: Fix noexcept errors upon
  compiling with Cython 3+ (gh#grpc/grpc#33918).
- Build with LTO (don't set _lto_cflags to %nil).
- No need to pass '-std=c++17' to build CFLAGS.
- Update to version 1.56.2:
  * [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.
- Use system abseil with '-std=c++17' to prevent undefined symbol
  eg. with python-grpcio-tools (_ZN3re23RE213GlobalReplaceEPNSt7__
  cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKS0_N4absl12lts_
  2023012511string_viewE)
- Remove python-grpcio-disable-boring-ssl.patch, use
  'export GRPC_BUILD_WITH_BORING_SSL_ASM=false' instead.
- Upstream only supports python >= 3.7, so adjust BuildRequires
  accordingly.
- Add %{?sle15_python_module_pythons}
- Update to version 1.56.0: (CVE-2023-32731, bsc#1212180)
  * [aio types] Fix some grpc.aio python types
    (gh#grpc/grpc#32475).
- Update to version 1.55.0:
  * [EventEngine] Disable EventEngine polling in gRPC Python
    (gh#grpc/grpc#33279) (gh#grpc/grpc#33320).
  * [Bazel Python3.11] Update Bazel dependencies for Python 3.11
    (gh#grpc/grpc#33318) (gh#grpc/grpc#33319).
- Drop Requires: python-six; not required any more.
- Switch Suggests to Recommends.
- Update to version 1.54.0: (CVE-2023-32732, bsc#1212182)
  * Fix DeprecationWarning when calling asyncio.get_event_loop()
    (gh#grpc/grpc#32533).
  * Remove references to deprecated syntax field
    (gh#grpc/grpc#32497).
- Update to version 1.51.1:
  * No Linux specific changes.
- Changes from version 1.51.0:
  * Fix lack of cooldown between poll attempts
    (gh#grpc/grpc#31550).
  * Remove enum and future (gh#grpc/grpc#31381).
  * [Remove Six] Remove dependency on six (gh#grpc/grpc#31340).
  * Update xds-protos package to pull in protobuf 4.X
    (gh#grpc/grpc#31113).
- Update to version 1.50.0:
  * Support Python 3.11. [gh#grpc/grpc#30818].
- Update to version 1.49.1
  * Support Python 3.11. (#30818)
  * Add type stub generation support to grpcio-tools. (#30498)
- Update to version 1.48.0:
  * [Aio] Ensure Core channel closes when deallocated
    [gh#grpc/grpc#29797].
  * [Aio] Fix the wait_for_termination return value
    [gh#grpc/grpc#29795].
- Drop grpc-no-return-from-non-void-function.patch: Fixes
  upstream.
- update to 1.46.3:
  * backport: xds: use federation env var to guard new-style resource name parsing
  * This release contains refinements, improvements, and bug fixes.
- Update to version 1.46.0:
  * Add Python GCF Distribtest [gh#grpc/grpc#29303].
  * Add Python Reflection Client [gh#grpc/grpc#29085].
  * Revert "Fix prefork handler register's default behavior"
    [gh#grpc/grpc#29229].
  * Fix prefork handler register's default behavior
    [gh#grpc/grpc#29103].
  * Fix fetching CXX variable in setup.py [gh#grpc/grpc#28873].
- Update to version 1.45.0:
  * Reimplement Gevent Integration [gh#grpc/grpc#28276].
  * Support musllinux binary wheels on x64 and x86
    [gh#grpc/grpc#28092].
  * Increase the Python protobuf requirement to >=3.12.0
    [gh#grpc/grpc#28604].
- Build with system re2; add BuildRequires: pkgconfig(re2).
- python-grpcio-disable-boring-ssl.patch: Line offset changes.
- Add grpc-no-return-from-non-void-function.patch to return a
  default string from a function defined to return a string (patch
  mirrored from obs://devel:tools/grpc).
- Update to version 1.44.0:
  * Add python async example for hellostreamingworld using
    generator (gh#grpc/grpc#27343).
  * Disable __wrap_memcpy hack for Python builds
    (gh#grpc/grpc#28410).
  * Bump Bazel Python Cython dependency to 0.29.26
    (gh#grpc/grpc#28398).
  * Fix libatomic linking on Raspberry Pi OS Bullseye
    (gh#grpc/grpc#28041).
  * Allow generated proto sources in remote repositories for
    py_proto_library (gh#grpc/grpc#28103).
- Update to version 1.43.0:
  * [Aio] Validate the input type for set_trailing_metadata and
    abort (gh#grpc/grpc#27958).
- update to 1.41.1:
  * This is release 1.41.0 (goat) of gRPC Core.
- Update to version 1.41.0:
  * Add Python 3.10 support and drop 3.5 (gh#grpc/grpc#26074).
  * [Aio] Remove custom IO manager support (gh#grpc/grpc#27090).
- Update to version 1.39.0:
  * Python AIO: Match continuation typing on Interceptors
    (gh#grpc/grpc#26500).
  * Workaround #26279 by publishing manylinux_2_24 wheels instead
    of manylinux2014 on aarch64 (gh#grpc/grpc#26430).
  * Fix zlib unistd.h import problem (gh#grpc/grpc#26374).
  * Handle gevent exception in gevent poller (gh#grpc/grpc#26058).
- Update to version 1.38.1:
  * Backport gh#grpc/grpc#26430 and gh#grpc/grpc#26435 to v1.38.x
    (gh#grpc/grpc#26436).
- Update to version 1.38.0:
  * Add grpcio-admin Python package (gh#grpc/grpc#26166).
  * Add CSDS API to Python (gh#grpc/grpc#26114).
  * Expose code and details from context on the server side
    (gh#grpc/grpc#25457).
  * Explicitly import importlib.abc; required on Python 3.10.
    Fixes #26062 (gh#grpc/grpc#26083).
  * Fix potential deadlock on the GIL in AuthMetdataPlugin
    (gh#grpc/grpc#26009).
  * Introduce new Python package "xds_protos"
    (gh#grpc/grpc#25975).
  * Remove async mark for set_trailing_metadata interface
    (gh#grpc/grpc#25814).
- Update to version 1.37.1:
  * No user visible changes.
- Changes from version 1.37.0:
  * Clarify Guarantees about grpc.Future Interface
    (gh#grpc/grpc#25383).
  * [Aio] Add time_remaining method to ServicerContext
    (gh#grpc/grpc#25719).
  * Standardize all environment variable boolean configuration in
    python's setup.py (gh#grpc/grpc#25444).
  * Fix Signal Safety Issue (gh#grpc/grpc#25394).
- Update to version 1.36.1:
  * Core: back-port: add env var protection for google-c2p
    resolver (gh#grpc/grpc#25569).
- Update to version 1.35.0:
  * Implement Python Client and Server xDS Creds.
    (gh#grpc/grpc#25365)
  * Add %define _lto_cflags %{nil} (boo#1182659) (rh#1893533)
  * Link roots.pem to ca-bundle.pem from ca-certificates package
- Update to version 1.34.1:
  * Backport "Lazily import grpc_tools when using runtime
    stub/message generation" to 1.34.x (gh#grpc/grpc#25011).
- Update to version 1.34.0:
  * Incur setuptools as an dependency for grpcio_tools
    (gh#grpc/grpc#24752).
  * Stop the spamming log generated by ctrl-c for AsyncIO server
    (gh#grpc/grpc#24718).
  * [gRPC Easy] Make Well-Known Types Available to Runtime Protos
    (gh#grpc/grpc#24478).
  * Bump MACOSX_DEPLOYMENT_TARGET to 10.10 for Python
    (gh#grpc/grpc#24480).
  * Make Python 2 an optional dependency for Bazel build
    (gh#grpc/grpc#24407).
  * [Linux] [macOS] Support pre-compiled Python 3.9 wheels
    (gh#grpc/grpc#24356).
- Update to version 1.33.2:
  * [Backport] Implement grpc.Future interface in
    SingleThreadedRendezvous (gh#grpc/grpc#24574).
- Update to version 1.33.1:
  * [Backport] Make Python 2 an optional dependency for Bazel
    build (gh#grpc/grpc#24452).
  * Allow asyncio API to be imported as grpc.aio.
    (gh#grpc/grpc#24289).
  * [gRPC Easy] Fix import errors on Windows (gh#grpc/grpc#24124).
  * Make version check for importlib.abc in grpcio-tools more
    stringent (gh#grpc/grpc#24098).
- Add python-grpcio-disable-boring-ssl.patch: Make enabling system
  ssl disable boring ssl (gh#grpc/grpc#24498); patch taken from
  upstream PR.
- update to 1.31.0
  * no upstream changelog available
- Trim marketing wording from description.
- Initial package.

OBS-URL: https://build.opensuse.org/request/show/1145435
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=38
2024-02-09 22:54:20 +00:00
1ac1286fd0 - update to 1.60.1:
* Revert change to print backtrace in server
  in our build setup using aarch64 kernels
  * This release contains refinements, improvements, and bug fixes.
  * This is release 1.41.0 (goat) of gRPC Core.

OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=74
2024-02-09 12:10:51 +00:00
2d1d4cc6d2 Accepting request 1145128 from home:glaubitz:branches:network
- Add another missing CVE and Bugzilla reference

OBS-URL: https://build.opensuse.org/request/show/1145128
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=73
2024-02-08 18:25:22 +00:00
67ac73ece3 Accepting request 1142661 from network
OBS-URL: https://build.opensuse.org/request/show/1142661
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=37
2024-01-30 17:25:46 +00:00
c09e213f84 Accepting request 1142199 from home:glaubitz:branches:network
- Add missing bugzilla references for multiple CVEs

OBS-URL: https://build.opensuse.org/request/show/1142199
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=71
2024-01-29 21:38:25 +00:00
77ce887973 Accepting request 1133625 from network
OBS-URL: https://build.opensuse.org/request/show/1133625
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=36
2023-12-17 20:32:45 +00:00
15fdd4bbbf Accepting request 1133469 from home:badshah400:branches:network
Update to version 1.60.0:

OBS-URL: https://build.opensuse.org/request/show/1133469
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=69
2023-12-16 19:14:10 +00:00
c5be3d67ea Accepting request 1129158 from network
OBS-URL: https://build.opensuse.org/request/show/1129158
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=35
2023-11-27 21:44:27 +00:00
dcf5b7c8bc Accepting request 1128504 from home:alarrosa:branches:network
- Add patches for embeeded xxhash 0.8.1 from SLE's xxhash package.
- Add xxhash-ppc64le-gcc7.patch: fix build failure on ppc64le
  when using gcc 7 (boo#1208794).
- add patch xxhash-avoid-armv6-unaligned-access.patch
  do not expect unaligned accesses to work on armv6, it breaks
  in our build setup using aarch64 kernels

OBS-URL: https://build.opensuse.org/request/show/1128504
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=67
2023-11-27 14:41:28 +00:00
90ec871bbf Accepting request 1121402 from network
OBS-URL: https://build.opensuse.org/request/show/1121402
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=34
2023-10-31 19:26:14 +00:00
666ad9871a Accepting request 1121395 from home:badshah400:branches:network
Update to version 1.59.2.

OBS-URL: https://build.opensuse.org/request/show/1121395
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=65
2023-10-31 09:36:03 +00:00
e2cb055297 Accepting request 1115700 from network
OBS-URL: https://build.opensuse.org/request/show/1115700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=33
2023-10-05 18:04:09 +00:00
78d40564aa Accepting request 1114533 from home:badshah400:branches:network
Update to version 1.59.0

OBS-URL: https://build.opensuse.org/request/show/1114533
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=63
2023-10-05 00:39:51 +00:00
73905e241c Accepting request 1113862 from network
OBS-URL: https://build.opensuse.org/request/show/1113862
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=32
2023-09-27 22:26:04 +00:00
1f0dbcc0d1 Accepting request 1113861 from home:ecsos:python
- Add minimum required versions for Cython, wheel and abseil-cpp.

OBS-URL: https://build.opensuse.org/request/show/1113861
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=61
2023-09-27 11:30:22 +00:00
3f55c4a833 Accepting request 1112352 from network
OBS-URL: https://build.opensuse.org/request/show/1112352
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=31
2023-09-20 11:30:34 +00:00
f97bcbfd5b Accepting request 1111786 from home:badshah400:branches:network
Update to version 1.58.0

OBS-URL: https://build.opensuse.org/request/show/1111786
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=59
2023-09-19 16:57:54 +00:00
abddc93a5a Accepting request 1108791 from network
OBS-URL: https://build.opensuse.org/request/show/1108791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=30
2023-09-04 20:53:14 +00:00
e933b06d2c Accepting request 1108519 from home:badshah400:branches:network
* Update to version 1.57.0.
* Add python-grpcio-cython3-compat.patch: Fix noexcept errors upon compiling with Cython 3+ (gh#grpc/grpc#33918).
* Build with LTO (don't set _lto_cflags to %nil).
* No need to pass '-std=c++17' to build CFLAGS.

OBS-URL: https://build.opensuse.org/request/show/1108519
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=57
2023-09-04 07:46:54 +00:00
96ea43854d Accepting request 1102575 from network
- Update to version 1.56.2:
- Switch build to pip/wheel.
- Use system abseil with '-std=c++17' to prevent undefined symbol
  eg. with python-grpcio-tools (_ZN3re23RE213GlobalReplaceEPNSt7__
  cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKS0_N4absl12lts_
  2023012511string_viewE)
- Remove python-grpcio-disable-boring-ssl.patch, use
  'export GRPC_BUILD_WITH_BORING_SSL_ASM=false' instead.

OBS-URL: https://build.opensuse.org/request/show/1102575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=29
2023-08-06 14:30:15 +00:00
639111c9ef OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=55 2023-08-06 12:11:47 +00:00
08de98e8e6 Accepting request 1102481 from home:munix9:branches:network
- Update to version 1.56.2:
  * [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.
- Use system abseil with '-std=c++17' to prevent undefined symbol
  eg. with python-grpcio-tools (_ZN3re23RE213GlobalReplaceEPNSt7__
  cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKS0_N4absl12lts_
  2023012511string_viewE)
- Remove python-grpcio-disable-boring-ssl.patch, use
  'export GRPC_BUILD_WITH_BORING_SSL_ASM=false' instead.

OBS-URL: https://build.opensuse.org/request/show/1102481
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=54
2023-08-06 12:11:06 +00:00
49060086ea Accepting request 1096752 from network
- Upstream only supports python >= 3.7, so adjust BuildRequires
  accordingly.
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1096752
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=28
2023-07-04 13:22:56 +00:00
d070b08179 OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=52 2023-07-04 10:40:27 +00:00
cfb56ee99f OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=51 2023-07-04 07:29:48 +00:00
b97f3fa9b7 Accepting request 1096364 from network
OBS-URL: https://build.opensuse.org/request/show/1096364
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=27
2023-07-03 15:43:22 +00:00
c92f461653 Accepting request 1096387 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1096387
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=49
2023-07-02 13:13:39 +00:00
1d29edeb78 Accepting request 1096167 from home:badshah400:branches:network
- Update to version 1.56.0:
  * [aio types] Fix some grpc.aio python types
    (gh#grpc/grpc#32475).

OBS-URL: https://build.opensuse.org/request/show/1096167
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=48
2023-07-02 09:20:30 +00:00
40d5eada67 Accepting request 1092075 from network
OBS-URL: https://build.opensuse.org/request/show/1092075
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=26
2023-06-11 17:55:47 +00:00
d92ec50be0 Accepting request 1092033 from home:badshah400:branches:network
- Update to version 1.55.0:
- Drop Requires: python-six; not required any more.
- Switch Suggests to Recommends.

OBS-URL: https://build.opensuse.org/request/show/1092033
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=46
2023-06-11 07:58:43 +00:00
97a9a5dbf5 Accepting request 1083480 from network
OBS-URL: https://build.opensuse.org/request/show/1083480
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=25
2023-04-28 14:24:19 +00:00
92ce8bdea8 Accepting request 1083412 from home:badshah400:branches:network
Update to version 1.54.0

OBS-URL: https://build.opensuse.org/request/show/1083412
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=44
2023-04-28 08:23:18 +00:00
a5887bb245 Accepting request 1040384 from network
OBS-URL: https://build.opensuse.org/request/show/1040384
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=24
2022-12-06 13:23:16 +00:00
c3360fc2e9 Accepting request 1040348 from home:badshah400:branches:network
Update to version 1.51.1:

OBS-URL: https://build.opensuse.org/request/show/1040348
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=42
2022-12-05 17:28:31 +00:00
fe25377859 Accepting request 1032733 from network
OBS-URL: https://build.opensuse.org/request/show/1032733
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=23
2022-11-02 11:46:59 +00:00
7225346e7b Accepting request 1032443 from home:badshah400:branches:network
Update to version 1.50.0

OBS-URL: https://build.opensuse.org/request/show/1032443
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=40
2022-11-01 19:27:52 +00:00
18cb9e4e8c Accepting request 1011269 from network
OBS-URL: https://build.opensuse.org/request/show/1011269
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=22
2022-10-17 12:57:50 +00:00
7d3a1bcaf2 Accepting request 1011017 from home:stroeder:devel
- Update to version 1.49.1
  * Support Python 3.11. (#30818)
  * Add type stub generation support to grpcio-tools. (#30498)

OBS-URL: https://build.opensuse.org/request/show/1011017
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=38
2022-10-16 18:22:26 +00:00
766469be3e Accepting request 1001240 from network
OBS-URL: https://build.opensuse.org/request/show/1001240
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=21
2022-09-05 19:22:10 +00:00
bc346c4087 Accepting request 1000545 from home:badshah400:branches:network
- Update to version 1.48.0.
- Drop grpc-no-return-from-non-void-function.patch: Fixes upstream.

OBS-URL: https://build.opensuse.org/request/show/1000545
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=36
2022-09-05 10:25:06 +00:00
97f92453b6 Accepting request 980774 from network
- update to 1.46.3:
  * backport: xds: use federation env var to guard new-style resource name parsing
  * This release contains refinements, improvements, and bug fixes.

OBS-URL: https://build.opensuse.org/request/show/980774
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=20
2022-06-04 21:27:25 +00:00
d51d919a59 - update to 1.46.3:
* backport: xds: use federation env var to guard new-style resource name parsing
  * This release contains refinements, improvements, and bug fixes.

OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=34
2022-06-04 15:07:57 +00:00
f1ea355062 Accepting request 975744 from network
OBS-URL: https://build.opensuse.org/request/show/975744
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=19
2022-05-09 16:44:19 +00:00
afff957b45 Accepting request 975462 from home:badshah400:branches:network
Update to version 1.46.0

OBS-URL: https://build.opensuse.org/request/show/975462
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=32
2022-05-09 08:33:48 +00:00
be4c18f173 Accepting request 974314 from network
OBS-URL: https://build.opensuse.org/request/show/974314
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=18
2022-05-02 14:25:49 +00:00
4735e9d5b7 Accepting request 972319 from home:badshah400:branches:network
* Update to version 1.45.0.
* Build with system re2; add BuildRequires: pkgconfig(re2).
* python-grpcio-disable-boring-ssl.patch: Line offset changes.
* Add grpc-no-return-from-non-void-function.patch to return a default string from a function defined to return a string (patch mirrored from obs://devel:tools/grpc).
*-This line, and those below, will be ignored--

old: network/python-grpcio
new: home:badshah400:branches:network/python-grpcio rev None
Index: python-grpcio-disable-boring-ssl.patch
===================================================================
--- python-grpcio-disable-boring-ssl.patch (revision 29)
+++ python-grpcio-disable-boring-ssl.patch (revision 4)
@@ -7,11 +7,11 @@
  setup.py | 1 +
  1 file changed, 1 insertion(+)
 
-diff --git a/setup.py b/setup.py
-index e23c9acf087..72307598a5b 100644
---- a/setup.py
-+++ b/setup.py
-@@ -249,6 +249,7 @@ def check_linker_need_libatomic():
+Index: grpcio-1.45.0/setup.py
+===================================================================
+--- grpcio-1.45.0.orig/setup.py
++++ grpcio-1.45.0/setup.py
+@@ -285,6 +285,7 @@ if BUILD_WITH_SYSTEM_OPENSSL:
                            CORE_C_FILES)
      CORE_C_FILES = filter(lambda x: 'src/boringssl' not in x, CORE_C_FILES)
      SSL_INCLUDE = (os.path.join('/usr', 'include', 'openssl'),)
@@ -19,4 +19,3 @@
  
  if BUILD_WITH_SYSTEM_ZLIB:
      CORE_C_FILES = filter(lambda x: 'third_party/zlib' not in x, CORE_C_FILES)
-
Index: python-grpcio.changes
===================================================================
--- python-grpcio.changes (revision 29)
+++ python-grpcio.changes (revision 4)
@@ -1,4 +1,19 @@
 -------------------------------------------------------------------
+Tue Mar 29 12:28:19 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
+
+- Update to version 1.45.0:
+  * Reimplement Gevent Integration [gh#grpc/grpc#28276].
+  * Support musllinux binary wheels on x64 and x86
+    [gh#grpc/grpc#28092].
+  * Increase the Python protobuf requirement to >=3.12.0
+    [gh#grpc/grpc#28604].
+- Build with system re2; add BuildRequires: pkgconfig(re2).
+- python-grpcio-disable-boring-ssl.patch: Line offset changes.
+- Add grpc-no-return-from-non-void-function.patch to return a
+  default string from a function defined to return a string (patch
+  mirrored from obs://devel:tools/grpc).
+
+-------------------------------------------------------------------
 Sat Feb 19 17:04:04 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
 
 - Update to version 1.44.0:
Index: python-grpcio.spec
===================================================================
--- python-grpcio.spec (revision 29)
+++ python-grpcio.spec (revision 4)
@@ -20,7 +20,7 @@
 # PYTHON2 NOT SUPPORTED BY UPSTREAM
 %define         skip_python2 1
 Name:           python-grpcio
-Version:        1.44.0
+Version:        1.45.0
 Release:        0
 Summary:        HTTP/2-based Remote Procedure Call implementation
 License:        Apache-2.0
@@ -29,6 +29,8 @@
 Source:         https://files.pythonhosted.org/packages/source/g/grpcio/grpcio-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM python-grpcio-disable-boring-ssl.patch gh#grpc/grpc#24498 badshah400@gmail.com -- Make enabling system ssl disable boring ssl; patch taken from upstream PR
 Patch0:         python-grpcio-disable-boring-ssl.patch
+# PATCH-FIX-UPSTREAM grpc-no-return-from-non-void-function.patch badshah400@gmail.com -- Return a default string from a function defined to return a string (patch mirrored from obs://devel:tools/grpc)
+Patch1:         grpc-no-return-from-non-void-function.patch
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
@@ -39,6 +41,7 @@
 BuildRequires:  python-rpm-macros
 BuildRequires:  pkgconfig(libcares)
 BuildRequires:  pkgconfig(openssl)
+BuildRequires:  pkgconfig(re2)
 BuildRequires:  pkgconfig(zlib)
 Requires:       ca-certificates
 Requires:       python-six >= 1.5.2
@@ -60,6 +63,7 @@
 export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=true
 export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=true
 export GRPC_PYTHON_BUILD_SYSTEM_CARES=true
+export GRPC_PYTHON_BUILD_SYSTEM_RE2=true
 %python_build
 
 %install
Index: grpc-no-return-from-non-void-function.patch
===================================================================
--- grpc-no-return-from-non-void-function.patch (added)
+++ grpc-no-return-from-non-void-function.patch (revision 4)
@@ -0,0 +1,12 @@
+Index: grpc-1.45.0/src/core/lib/transport/metadata_batch.h
+===================================================================
+--- grpc-1.45.0.orig/src/core/lib/transport/metadata_batch.h
++++ grpc-1.45.0/src/core/lib/transport/metadata_batch.h
+@@ -530,6 +530,7 @@ struct GrpcStreamNetworkState {
+       case kNotSeenByServer:
+         return "not seen by server";
+     }
++    return "none";
+   }
+ };
+ 
Index: grpcio-1.45.0.tar.gz
===================================================================
Binary file grpcio-1.45.0.tar.gz (revision 4) added
Index: grpcio-1.44.0.tar.gz
===================================================================
Binary file grpcio-1.44.0.tar.gz (revision 29) deleted

OBS-URL: https://build.opensuse.org/request/show/972319
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=30
2022-05-02 07:34:58 +00:00
4e8673c6a4 Accepting request 956158 from network
OBS-URL: https://build.opensuse.org/request/show/956158
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=17
2022-02-21 16:46:30 +00:00
8ac9857960 Accepting request 956021 from home:badshah400:branches:network
Update to version 1.44.0

OBS-URL: https://build.opensuse.org/request/show/956021
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=29
2022-02-20 16:06:23 +00:00
f3d0fd686b Accepting request 953036 from network
OBS-URL: https://build.opensuse.org/request/show/953036
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=16
2022-02-10 22:12:06 +00:00
4e3780939c Accepting request 953004 from home:badshah400:branches:network
Update to version 1.43.0

OBS-URL: https://build.opensuse.org/request/show/953004
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=28
2022-02-09 20:08:28 +00:00
beae99da6c Accepting request 928863 from network
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/928863
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=15
2021-11-03 16:25:47 +00:00
a22660dbec - update to 1.41.1:
* This is release 1.41.0 (goat) of gRPC Core.

OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=27
2021-10-26 20:52:04 +00:00
6665fc586a Accepting request 927019 from network
Update to version 1.41.0

OBS-URL: https://build.opensuse.org/request/show/927019
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=14
2021-10-22 22:51:48 +00:00
455888d262 OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=26 2021-10-22 16:19:58 +00:00
57e8cec6ea Accepting request 926791 from home:badshah400:branches:network
Update to version 1.41.0

OBS-URL: https://build.opensuse.org/request/show/926791
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=25
2021-10-22 16:19:45 +00:00
2686c326ad Accepting request 910596 from network
OBS-URL: https://build.opensuse.org/request/show/910596
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=13
2021-08-07 15:57:12 +00:00
e8112d5b50 Accepting request 910125 from home:badshah400:branches:network
Update to version 1.39.0.

OBS-URL: https://build.opensuse.org/request/show/910125
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=24
2021-08-07 13:15:39 +00:00
cc590b53f1 Accepting request 903978 from network
OBS-URL: https://build.opensuse.org/request/show/903978
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=12
2021-07-05 20:22:47 +00:00
c79493f967 Accepting request 903299 from home:badshah400:branches:network
Update to version 1.38.1.

OBS-URL: https://build.opensuse.org/request/show/903299
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=23
2021-07-04 19:11:44 +00:00
1dc0ce2fdd Accepting request 895544 from network
OBS-URL: https://build.opensuse.org/request/show/895544
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=11
2021-06-01 08:37:03 +00:00
221fc9de08 Accepting request 895005 from home:badshah400:branches:network
Update to version 1.38.0.

OBS-URL: https://build.opensuse.org/request/show/895005
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=21
2021-05-26 12:54:44 +00:00
35cca3bfed Accepting request 891871 from network
OBS-URL: https://build.opensuse.org/request/show/891871
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=10
2021-05-10 13:39:05 +00:00
21409630fb Accepting request 891534 from home:badshah400:branches:network
Update to version 1.37.1.

OBS-URL: https://build.opensuse.org/request/show/891534
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=19
2021-05-09 14:22:45 +00:00
Richard Brown
986f72a6ab Accepting request 876918 from network
OBS-URL: https://build.opensuse.org/request/show/876918
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=9
2021-03-05 12:48:53 +00:00
e751bafe5b Accepting request 876839 from home:badshah400:branches:network
Update to version 1.36.1.

OBS-URL: https://build.opensuse.org/request/show/876839
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=17
2021-03-05 07:52:29 +00:00
0c74b82248 Accepting request 875186 from network
OBS-URL: https://build.opensuse.org/request/show/875186
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=8
2021-02-26 20:59:32 +00:00
dbab0400f0 Accepting request 875179 from home:munix9:branches:network
- Update to version 1.35.0:
  * Implement Python Client and Server xDS Creds.
    (gh#grpc/grpc#25365)
  * Add %define _lto_cflags %{nil} (boo#1182659) (rh#1893533)
  * Link roots.pem to ca-bundle.pem from ca-certificates package

OBS-URL: https://build.opensuse.org/request/show/875179
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=15
2021-02-25 16:46:06 +00:00
d1478bc3b0 Accepting request 863628 from network
OBS-URL: https://build.opensuse.org/request/show/863628
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=7
2021-01-18 10:28:27 +00:00
b0667407b0 Accepting request 862984 from home:badshah400:branches:network
Update to version 1.34.1

OBS-URL: https://build.opensuse.org/request/show/862984
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=13
2021-01-16 12:20:03 +00:00
1a02ba2073 Accepting request 853541 from network
OBS-URL: https://build.opensuse.org/request/show/853541
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=6
2020-12-07 14:01:41 +00:00
778cae3ac9 Accepting request 853437 from home:badshah400:branches:network
Update to version 1.34.0

OBS-URL: https://build.opensuse.org/request/show/853437
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=11
2020-12-07 09:48:35 +00:00
0d2833c53a Accepting request 846823 from network
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/846823
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=5
2020-11-07 20:02:45 +00:00
7eec227bd2 Accepting request 845169 from home:badshah400:branches:network
OBS-URL: https://build.opensuse.org/request/show/845169
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=9
2020-11-03 08:17:28 +00:00
5b3795389c Accepting request 844101 from network
OBS-URL: https://build.opensuse.org/request/show/844101
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=4
2020-10-27 17:59:28 +00:00
1dba6aa8b8 Accepting request 843284 from home:badshah400:branches:network
* Update to version 1.33.1.
* Add python-grpcio-disable-boring-ssl.patch: Make enabling system ssl disable boring ssl (gh#grpc/grpc#24498); patch taken from upstream PR.

OBS-URL: https://build.opensuse.org/request/show/843284
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=7
2020-10-26 14:13:40 +00:00
c0e7899233 Accepting request 834877 from network
- update to 1.31.0
  * no upstream changelog available

OBS-URL: https://build.opensuse.org/request/show/834877
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=3
2020-09-16 17:42:09 +00:00
5e6a8cdb45 - update to 1.31.0
* no upstream changelog available

OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=5
2020-09-16 11:12:20 +00:00
2a31868a34 Accepting request 830354 from network
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/830354
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=2
2020-08-29 18:44:04 +00:00
59db50a9d6 Accepting request 825367 from network
gRPC is a modern, open source, high-performance remote procedure call (RPC) framework that can run anywhere

OBS-URL: https://build.opensuse.org/request/show/825367
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-grpcio?expand=0&rev=1
2020-08-28 19:19:50 +00:00
f1cf11fa51 Accepting request 826294 from home:jengelh:branches:network
- Trim marketing wording from description.

OBS-URL: https://build.opensuse.org/request/show/826294
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=2
2020-08-16 17:33:57 +00:00
a57dff870d Accepting request 823977 from home:badshah400
An  HTTP/2-based RPC framework (dependency for warpinator)

OBS-URL: https://build.opensuse.org/request/show/823977
OBS-URL: https://build.opensuse.org/package/show/network/python-grpcio?expand=0&rev=1
2020-08-10 07:51:27 +00:00
8 changed files with 236 additions and 160 deletions

81
fix-return-values.patch Normal file
View File

@@ -0,0 +1,81 @@
From: Jan Engelhardt <ej@inai.de>
Date: 2025-02-09 21:28:54.517217439 +0100
Fix some terrible code.
[ 28s] /home/abuild/rpmbuild/BUILD/grpc-1.70.1-build/grpc-1.70.1/src/core/lib/transport/call_state.h:157:3: error: control reaches end of non-void function [-Werror=return-type]
---
src/core/call/call_state.h | 5 +++++
src/core/channelz/channelz.h | 1 +
src/core/lib/promise/inter_activity_mutex.h | 2 ++
3 files changed, 8 insertions(+)
Index: grpcio-1.76.0/src/core/call/call_state.h
===================================================================
--- grpcio-1.76.0.orig/src/core/call/call_state.h
+++ grpcio-1.76.0/src/core/call/call_state.h
@@ -155,6 +155,7 @@ class CallState {
case ClientToServerPullState::kTerminated:
return "Terminated";
}
+ return "Undefined";
}
template <typename Sink>
friend void AbslStringify(Sink& out, ClientToServerPullState state) {
@@ -185,6 +186,7 @@ class CallState {
case ClientToServerPushState::kFinished:
return "Finished";
}
+ return "Undefined";
}
template <typename Sink>
friend void AbslStringify(Sink& out, ClientToServerPushState state) {
@@ -235,6 +237,7 @@ class CallState {
case ServerToClientPullState::kTerminated:
return "Terminated";
}
+ return "Undefined";
}
template <typename Sink>
friend void AbslStringify(Sink& out, ServerToClientPullState state) {
@@ -275,6 +278,7 @@ class CallState {
case ServerToClientPushState::kFinished:
return "Finished";
}
+ return "Undefined";
}
template <typename Sink>
friend void AbslStringify(Sink& out, ServerToClientPushState state) {
@@ -305,6 +309,7 @@ class CallState {
case ServerTrailingMetadataState::kPulledCancel:
return "PulledCancel";
}
+ return "Undefined";
}
template <typename Sink>
friend void AbslStringify(Sink& out, ServerTrailingMetadataState state) {
Index: grpcio-1.76.0/src/core/channelz/channelz.h
===================================================================
--- grpcio-1.76.0.orig/src/core/channelz/channelz.h
+++ grpcio-1.76.0/src/core/channelz/channelz.h
@@ -173,6 +173,7 @@ class BaseNode : public DualRefCounted<B
case EntityType::kResourceQuota:
return "resource_quota";
}
+ return "unknown";
}
static std::optional<EntityType> KindToEntityType(absl::string_view kind) {
Index: grpcio-1.76.0/src/core/lib/promise/inter_activity_mutex.h
===================================================================
--- grpcio-1.76.0.orig/src/core/lib/promise/inter_activity_mutex.h
+++ grpcio-1.76.0/src/core/lib/promise/inter_activity_mutex.h
@@ -307,6 +307,8 @@ class InterActivityMutex {
case State::kMovedFrom:
LOG(FATAL) << "Mutex acquirer already moved from";
}
+ // Control never actually reaches here
+ return Pending{};
}
private:

View File

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

View File

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

3
grpcio-1.76.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7be78388d6da1a25c0d5ec506523db58b18be22d9c37d8d3a32c08be4987bd73
size 12785182

View File

@@ -1,112 +0,0 @@
Index: grpcio-1.62.0/src/python/grpcio/grpc/_cython/_cygrpc/vtable.pyx.pxi
===================================================================
--- grpcio-1.62.0.orig/src/python/grpcio/grpc/_cython/_cygrpc/vtable.pyx.pxi
+++ grpcio-1.62.0/src/python/grpcio/grpc/_cython/_cygrpc/vtable.pyx.pxi
@@ -13,16 +13,16 @@
# limitations under the License.
# TODO(https://github.com/grpc/grpc/issues/15662): Reform this.
-cdef void* _copy_pointer(void* pointer):
+cdef void* _copy_pointer(void* pointer) noexcept:
return pointer
# TODO(https://github.com/grpc/grpc/issues/15662): Reform this.
-cdef void _destroy_pointer(void* pointer):
+cdef void _destroy_pointer(void* pointer) noexcept:
pass
-cdef int _compare_pointer(void* first_pointer, void* second_pointer):
+cdef int _compare_pointer(void* first_pointer, void* second_pointer) noexcept:
if first_pointer < second_pointer:
return -1
elif first_pointer > second_pointer:
Index: grpcio-1.62.0/src/python/grpcio/grpc/_cython/_cygrpc/credentials.pyx.pxi
===================================================================
--- grpcio-1.62.0.orig/src/python/grpcio/grpc/_cython/_cygrpc/credentials.pyx.pxi
+++ grpcio-1.62.0/src/python/grpcio/grpc/_cython/_cygrpc/credentials.pyx.pxi
@@ -316,7 +316,7 @@ def server_credentials_ssl_dynamic_cert_
return credentials
cdef grpc_ssl_certificate_config_reload_status _server_cert_config_fetcher_wrapper(
- void* user_data, grpc_ssl_server_certificate_config **config) with gil:
+ void* user_data, grpc_ssl_server_certificate_config **config) noexcept with gil:
# This is a credentials.ServerCertificateConfig
cdef ServerCertificateConfig cert_config = None
if not user_data:
Index: grpcio-1.62.0/src/python/grpcio/grpc/_cython/_cygrpc/aio/callback_common.pyx.pxi
===================================================================
--- grpcio-1.62.0.orig/src/python/grpcio/grpc/_cython/_cygrpc/aio/callback_common.pyx.pxi
+++ grpcio-1.62.0/src/python/grpcio/grpc/_cython/_cygrpc/aio/callback_common.pyx.pxi
@@ -50,7 +50,7 @@ cdef class CallbackWrapper:
@staticmethod
cdef void functor_run(
grpc_completion_queue_functor* functor,
- int success):
+ int success) noexcept:
cdef CallbackContext *context = <CallbackContext *>functor
cdef object waiter = <object>context.waiter
if not waiter.cancelled():
Index: grpcio-1.62.0/src/python/grpcio/grpc/_cython/_cygrpc/aio/callback_common.pxd.pxi
===================================================================
--- grpcio-1.62.0.orig/src/python/grpcio/grpc/_cython/_cygrpc/aio/callback_common.pxd.pxi
+++ grpcio-1.62.0/src/python/grpcio/grpc/_cython/_cygrpc/aio/callback_common.pxd.pxi
@@ -48,7 +48,7 @@ cdef class CallbackWrapper:
@staticmethod
cdef void functor_run(
grpc_completion_queue_functor* functor,
- int succeed)
+ int succeed) noexcept
cdef grpc_completion_queue_functor *c_functor(self)
Index: grpcio-1.62.0/src/python/grpcio/grpc/_cython/_cygrpc/fork_posix.pyx.pxi
===================================================================
--- grpcio-1.62.0.orig/src/python/grpcio/grpc/_cython/_cygrpc/fork_posix.pyx.pxi
+++ grpcio-1.62.0/src/python/grpcio/grpc/_cython/_cygrpc/fork_posix.pyx.pxi
@@ -35,7 +35,7 @@ _GRPC_ENABLE_FORK_SUPPORT = (
_fork_handler_failed = False
-cdef void __prefork() nogil:
+cdef void __prefork() noexcept nogil:
with gil:
global _fork_handler_failed
_fork_handler_failed = False
@@ -49,14 +49,14 @@ cdef void __prefork() nogil:
_fork_handler_failed = True
-cdef void __postfork_parent() nogil:
+cdef void __postfork_parent() noexcept nogil:
with gil:
with _fork_state.fork_in_progress_condition:
_fork_state.fork_in_progress = False
_fork_state.fork_in_progress_condition.notify_all()
-cdef void __postfork_child() nogil:
+cdef void __postfork_child() noexcept nogil:
with gil:
try:
if _fork_handler_failed:
Index: grpcio-1.62.0/src/python/grpcio/grpc/_cython/_cygrpc/fork_posix.pxd.pxi
===================================================================
--- grpcio-1.62.0.orig/src/python/grpcio/grpc/_cython/_cygrpc/fork_posix.pxd.pxi
+++ grpcio-1.62.0/src/python/grpcio/grpc/_cython/_cygrpc/fork_posix.pxd.pxi
@@ -12,10 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-cdef void __prefork() nogil
+cdef void __prefork() noexcept nogil
-cdef void __postfork_parent() nogil
+cdef void __postfork_parent() noexcept nogil
-cdef void __postfork_child() nogil
\ No newline at end of file
+cdef void __postfork_child() noexcept nogil

View File

@@ -1,3 +1,136 @@
-------------------------------------------------------------------
Sun Nov 9 09:25:23 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.76.0:
* gRPC AsyncIO: Improve CompletionQueue polling performance
(gh#grpc/grpc#39993).
- Minor rebase of fix-return-values.patch to apply cleanly.
- Drop setting _default_patch_fuzz to 2 as all patches have been
rebased to apply cleanly.
-------------------------------------------------------------------
Fri Oct 24 05:39:05 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Add (Build)Requires: python-typing_extensions, needed since
version 1.75.0.
-------------------------------------------------------------------
Fri Oct 17 09:31:11 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 1.75.1
* Release grpcio wheels with Python 3.14 support (#40403)
* Asyncio: fixes grpc shutdown race condition occurring
during python interpreter finalizations. (#40447)
* This also addresses previously reported issues with empty
error message on Python interpreter exit (Error in
sys.excepthook:/Original exception was: empty): (#36655),
(#38679), (#33342)
* Python 3.14: preserve current behavior when using grpc.aio
async methods outside of a running event loop. (#40750)
* Note: using async methods outside of a running event loop
is discouraged by Python, and will be deprecated in future
gRPC releases. Please use the asyncio.run() function (or
asyncio.Runner for custom loop factories). For interactive
mode, use dedicated asyncio REPL: python -m asyncio.
- from version 1.75.0
* [Security] Cherry Pick Spiffe Verification. (#40515)
* [Python][Typeguard] Part 3 - Add Typeguard to AIO stack
in tests. (#40217)
* [c-ares] update version to 1.34.5. (#39508)
* [pick_first] fix bug that caused us to stop attempting to
connect. (#40162)
* [OTel C++] Implement retry metrics. (#39195)
* Fix data race by adding custom getter for state property
with @synchronized locking. (#40146)
* gRPC Python (grpcio) now depends on typing-extensions~=4.13. (#40137)
* Update musllinux wheels from musllinux_1_1 to musllinux_1_2. (#40317)
* Dropping musllinux_1_1 because it reached EOL in November 2024
* Reference on musllinux platform tags: PEP 656
* grpc.aio typehint fixes. (#40215, #40217)
* Metadata type validation: Fixed metadata handling to support
all sequence types (not just tuples), preventing runtime errors.
Enhanced metadata type validation: isinstance(metadata, Sequence)
instead of isinstance(metadata, tuple)
* Serializer parameters: Changed to Optional[SerializingFunction]
for more accurate type representation
* Fixing the error in public API: ClientCallDetails.method was
declared as str but always called with bytes, see InterceptedUnaryUnaryCall.
* Fixes issue #40325 with grpcio failing to install on all non-Mac
Apple devices internal builds. (#40347)
* Ruby: Mark credential object in channel. (#40394)
* [Ruby] Add rubygems support for linux-gnu and linux-musl platforms. (#39549)
- from version 1.74.1
* [Backport of #40394 to v1.74.x] Mark credential object in channel to fix (#40368)
- Increase _default_patch_fuzz to 2 to allow patches to apply
-------------------------------------------------------------------
Mon Jul 28 11:25:28 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.74.0:
* Fix gRPC Python docs website layout - use spaces optimally
(gh#grpc/grpc#40073).
- Update fix-return-values.patch for new version (copied from
obs://devel:tools/grpc/return-values.patch).
-------------------------------------------------------------------
Wed Jul 16 14:36:00 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Require Cython >= 3.0.0 instead of 3.1.1 as the latest version
available on TW is 3.0.2 currently.
-------------------------------------------------------------------
Mon Jul 14 12:20:42 UTC 2025 - ecsos <ecsos@opensuse.org>
- Fix build error for Leap 15.6.
-------------------------------------------------------------------
Sun Jun 15 06:02:08 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.73.0:
* Pin Cython to 3.1.1 (gh#grpc/grpc#39609).
* grpc_tools: make PythonGrpcGenerator handle dot . in proto
paths the same way as native Generator/PyiGenerator
(gh#grpc/grpc#39586).
-------------------------------------------------------------------
Sat May 10 15:27:08 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.72.0:
* No documented python specific changes.
- Changes from version 1.71.0:
* Drop Python 3.8 (gh#grpc/grpc##38747).
* Support musl-linux binary wheels on arm64
(gh#grpc/grpc##38223).
- Rebase fix-return-values.patch: adapt to changed file path.
-------------------------------------------------------------------
Mon Jan 20 14:23:28 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 1.69.0
* [Build] Override MACOSX_DEPLOYMENT_TARGET for gRPC Python. (#37997)
- from version 1.68.2
* No Python-specific changes.
-------------------------------------------------------------------
Wed Dec 18 11:13:30 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.68.1 (CVE-2024-11407, bsc#1233821):
* No Python specific changes.
- Changes from version 1.68.0:
* Add templating and support for Python 3.13
(gh#grpc/grpc#37643).
-------------------------------------------------------------------
Mon Nov 11 14:35:18 UTC 2024 - Adrian Schröter <adrian@suse.de>
- Update to version 1.67.1 (CVE-2024-7246, bsc#1228919):
* Add templating and support for Python 3.13
* Add templating and support for Python 3.13
* Change warning to RuntimeError for version incompatibility.
* reflection returns original_request.
- Added fix-return-values.patch for compile failures
- Removed obsolete terminate.patch
-------------------------------------------------------------------
Wed Jul 17 10:56:55 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-grpcio
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%global modname grpcio
%{?sle15_python_module_pythons}
Name: python-grpcio
Version: 1.65.0
Version: 1.76.0
Release: 0
Summary: HTTP/2-based Remote Procedure Call implementation
License: Apache-2.0
@@ -30,17 +30,24 @@ Source: https://files.pythonhosted.org/packages/source/g/grpcio/grpcio-%
Patch1: xxhash-avoid-armv6-unaligned-access.patch
# PATCH-FIX-SLE xxhash-ppc64le-gcc7.patch boo#1208794 alarrosa@suse.com -- fix build failure on ppc64le when using gcc 7
Patch2: xxhash-ppc64le-gcc7.patch
# PATCH-FIX-UPSTREAM Fix issues about control reaching end of non-void function
Patch3: terminate.patch
BuildRequires: %{python_module Cython >= 0.29.8}
BuildRequires: %{python_module devel >= 3.7}
Patch3: fix-return-values.patch
BuildRequires: %{python_module Cython >= 3.0.0}
BuildRequires: %{python_module devel >= 3.9}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module protobuf >= 6.30 }
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing_extensions >= 4.13}
BuildRequires: %{python_module wheel >= 0.29}
BuildRequires: abseil-cpp-devel >= 20220623.0
BuildRequires: abseil-cpp-devel >= 20250127.0
BuildRequires: ca-certificates
BuildRequires: fdupes
%if 0%{?suse_version} < 1600
BuildRequires: gcc13
BuildRequires: gcc13-c++
%else
BuildRequires: gcc
BuildRequires: gcc-c++
%endif
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(libcares)
@@ -48,6 +55,7 @@ BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(re2)
BuildRequires: pkgconfig(zlib)
Requires: ca-certificates
Requires: python-typing_extensions >= 4.13
Recommends: python-enum34 >= 1.0.4
Recommends: python-futures >= 2.2.0
%python_subpackages
@@ -61,6 +69,10 @@ connected systems.
%autosetup -p1 -n grpcio-%{version}
%build
%if 0%{?suse_version} < 1600
export CC=gcc-13
export CXX=g++-13
%endif
export GRPC_BUILD_WITH_BORING_SSL_ASM=false
export GRPC_PYTHON_BUILD_SYSTEM_ABSL=true
export GRPC_PYTHON_BUILD_SYSTEM_CARES=true

View File

@@ -1,35 +0,0 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2024-01-31 20:50:55.596208216 +0100
[ 221s] src/core/lib/promise/party.h: In member function 'bool grpc_core::Party::PromiseParticipantImpl<SuppliedFactory>::PollParticipantPromise() [with SuppliedFactory = grpc_core::ForwardCall(CallHandler, CallInitiator, ClientMetadataHandle)::<lambda()> mutable::<lambda(grpc_core::MessageHandle)> mutable::<lambda()>]':
[ 221s] src/core/lib/promise/party.h:541:5: error: control reaches end of non-void function [-Werror=return-type]
[ 221s] src/core/lib/promise/party.h: In member function 'grpc_core::Poll<typename grpc_core::promise_detail::OncePromiseFactory<void, F>::Promise::Result> grpc_core::Party::PromiseParticipantImpl<SuppliedFactory>::PollCompletion() [with SuppliedFactory = grpc_core::ForwardCall(CallHandler, CallInitiator, ClientMetadataHandle)::<lambda()> mutable::<lambda(grpc_core::MessageHandle)> mutable::<lambda()>]':
[ 221s] src/core/lib/promise/party.h:553:5: error: control reaches end of non-void function [-Werror=return-type]
That enum class only has three numerators, and it's not clear why gcc
would warn, given all three cases return.
---
src/core/lib/promise/party.h | 4 ++++
1 file changed, 4 insertions(+)
Index: grpcio-1.65.0/src/core/lib/promise/party.h
===================================================================
--- grpcio-1.65.0.orig/src/core/lib/promise/party.h
+++ grpcio-1.65.0/src/core/lib/promise/party.h
@@ -567,6 +567,7 @@ class Party : public Activity, private W
Crash(
"unreachable: promises should not be repolled after completion");
}
+ std::terminate();
}
// Outside party poll: check whether the spawning party has completed this
@@ -579,6 +580,7 @@ class Party : public Activity, private W
case State::kResult:
return std::move(result_);
}
+ std::terminate();
}
void Destroy() override { this->Unref(); }