Skip to content

Commit c978dff

Browse files
Update connectrpc/py (#2607)
### connectrpc - py: v0.11.0 → v0.11.1 Co-authored-by: app-token-plugins[bot] <app-token-plugins[bot]@users.noreply.github.com>
1 parent 2286816 commit c978dff

6 files changed

Lines changed: 44 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*
2+
!Dockerfile
3+
!requirements.txt
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# syntax=docker/dockerfile:1.24
2+
FROM python:3.13.14-trixie@sha256:c68b61ac211bc17bda0dfabff372246fd7dbb7dceaeabdb01cd6042a197c53c2 AS build
3+
WORKDIR /app
4+
RUN python -mvenv /app
5+
ADD /requirements.txt requirements.txt
6+
RUN . ./bin/activate \
7+
&& pip install --no-cache-dir -r requirements.txt \
8+
&& pip uninstall --yes pip setuptools \
9+
&& rm -f requirements.txt bin/activate.fish bin/activate.csh bin/Activate.ps1 \
10+
&& ln -sf /usr/bin/python /app/bin/python
11+
12+
FROM gcr.io/distroless/python3-debian13:latest@sha256:178dd00f2da3271f3819df5cd327472754946c7430d82197b247e95e839a3d55 AS base
13+
14+
FROM scratch
15+
COPY --link --from=base / /
16+
COPY --link --from=build --chmod=0755 /app /app
17+
USER nobody
18+
ENTRYPOINT [ "/app/bin/protoc-gen-connectrpc" ]
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
version: v1
2+
name: buf.build/connectrpc/py
3+
plugin_version: v0.11.1
4+
source_url: https://github.com/connectrpc/connect-py
5+
description: Generates client and server stubs for Connect Python. Compatible with the Connect RPC protocol.
6+
spdx_license_id: Apache-2.0
7+
license_url: https://github.com/connectrpc/connect-py/blob/v0.11.1/LICENSE
8+
deps:
9+
- plugin: buf.build/bufbuild/py:v0.2.0
10+
output_languages:
11+
- python
12+
registry:
13+
python:
14+
package_type: "runtime"
15+
# https://github.com/connectrpc/connect-py/blob/v0.10.1/pyproject.toml#L6
16+
requires_python: ">=3.10"
17+
deps:
18+
# https://pypi.org/project/connectrpc/
19+
- "connectrpc >= 0.11.1"
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
protoc-gen-connectrpc==0.11.1
2+
protobuf-py==0.1.1
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h1:TcZbxoDdVlydINNhZ6jNwQRKi6Js2JUY93kryjQfYPs=
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h1:EQPJySJNKTdaZRw5YF3GaF8TzKArtSB1DgKYof3/7wQ=

0 commit comments

Comments
 (0)