File tree Expand file tree Collapse file tree
plugins/connectrpc/py/v0.11.1
tests/testdata/buf.build/connectrpc/py/v0.11.1 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ *
2+ ! Dockerfile
3+ ! requirements.txt
Original file line number Diff line number Diff line change 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" ]
Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 1+ protoc-gen-connectrpc == 0.11.1
2+ protobuf-py == 0.1.1
Original file line number Diff line number Diff line change 1+ h1:TcZbxoDdVlydINNhZ6jNwQRKi6Js2JUY93kryjQfYPs=
Original file line number Diff line number Diff line change 1+ h1:EQPJySJNKTdaZRw5YF3GaF8TzKArtSB1DgKYof3/7wQ=
You can’t perform that action at this time.
0 commit comments