Skip to content

Commit

Permalink
Add initial Python Repository config (#899)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanvanburen authored Nov 13, 2023
1 parent 477727e commit 24dad30
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,11 @@ spdx_license_id: MIT
license_url: https://github.com/danielgtaylor/python-betterproto/blob/v1.2.5/setup.py#L12
output_languages:
- python
registry:
python:
package_type: "runtime"
# https://github.com/danielgtaylor/python-betterproto/blob/v1.2.5/setup.py#L20
requires_python: ">=3.6"
# https://github.com/danielgtaylor/python-betterproto/tree/v1.2.5#installation--getting-started
deps:
- "betterproto"
17 changes: 17 additions & 0 deletions plugins/community/nipunn1313-mypy-grpc/v3.5.0/buf.plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,20 @@ spdx_license_id: Apache-2.0
license_url: https://github.com/nipunn1313/mypy-protobuf/blob/v3.5.0/LICENSE
output_languages:
- python
registry:
python:
package_type: "stub-only"
# https://github.com/nipunn1313/mypy-protobuf/blob/v3.5.0/setup.cfg#L20
requires_python: ">=3.8"
deps:
# https://github.com/nipunn1313/mypy-protobuf/tree/v3.5.0#requirements-to-run-typecheckers-on-stubs-generated-by-mypy-protobuf
# > Earlier releases might work, but aren't tested.
- "types-protobuf >= 4.23.0.2"
- "protobuf >= 4.23.4"
# https://github.com/nipunn1313/mypy-protobuf/tree/v3.5.0#to-run-typecheckers-on-code-generated-with-grpc-plugin---youll-additionally-need
# > Earlier releases might work, but aren't tested
- "grpcio >= 1.56.2"
# https://pypi.org/project/grpcio-tools/
- "grpcio-tools >= 1.56.2"
# https://pypi.org/project/grpc-stubs/
- "grpc-stubs >= 1.53.0.2"
10 changes: 10 additions & 0 deletions plugins/community/nipunn1313-mypy/v3.5.0/buf.plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,13 @@ spdx_license_id: Apache-2.0
license_url: https://github.com/nipunn1313/mypy-protobuf/blob/v3.5.0/LICENSE
output_languages:
- python
registry:
python:
package_type: "stub-only"
# https://github.com/nipunn1313/mypy-protobuf/blob/v3.5.0/setup.cfg#L20
requires_python: ">=3.8"
deps:
# https://github.com/nipunn1313/mypy-protobuf/tree/v3.5.0#requirements-to-run-typecheckers-on-stubs-generated-by-mypy-protobuf
# > Earlier releases might work, but aren't tested.
- "types-protobuf >= 4.23.0.2"
- "protobuf >= 4.23.4"
8 changes: 8 additions & 0 deletions plugins/grpc/python/v1.59.1/buf.plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,11 @@ output_languages:
- python
spdx_license_id: Apache-2.0
license_url: https://github.com/grpc/grpc/blob/v1.59.1/LICENSE
registry:
python:
package_type: "runtime"
# https://github.com/grpc/grpc/tree/v1.59.1/src/python/grpcio#supported-python-versions
requires_python: ">=3.7"
deps:
# https://pypi.org/project/grpcio/
- "grpcio"
9 changes: 9 additions & 0 deletions plugins/protocolbuffers/pyi/v25.0/buf.plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,12 @@ output_languages:
- python
spdx_license_id: BSD-3-Clause
license_url: https://github.com/protocolbuffers/protobuf/blob/v25.0/LICENSE
registry:
python:
package_type: "stub-only"
# https://github.com/protocolbuffers/protobuf/blob/v25.0/python/setup.py#L434
requires_python: ">=3.8"
deps:
# https://pypi.org/project/protobuf/
- "protobuf"
- "types-protobuf"
8 changes: 8 additions & 0 deletions plugins/protocolbuffers/python/v25.0/buf.plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,11 @@ output_languages:
- python
spdx_license_id: BSD-3-Clause
license_url: https://github.com/protocolbuffers/protobuf/blob/v25.0/LICENSE
registry:
python:
package_type: "runtime"
# https://github.com/protocolbuffers/protobuf/blob/v25.0/python/setup.py#L434
requires_python: ">=3.8"
deps:
# https://pypi.org/project/protobuf/
- "protobuf"

0 comments on commit 24dad30

Please sign in to comment.