Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ inputs:
- directory: ../proto/proto
plugins:
# Pinned: v35.x emits gencode for protobuf 7.35, matching the
# protobuf>=7.35 floor in pyproject.toml. A newer plugin raises that floor.
# protobuf>=7.35.1 floor in pyproject.toml (gencode 7.35.1). A newer plugin raises that floor.
- remote: buf.build/protocolbuffers/python:v35.1
out: .
- remote: buf.build/grpc/python
Expand Down
11 changes: 9 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,24 @@ name = "priompt-sdk"
version = "0.7.1"
description = "Python client for Priompt — versioned prompt serving over gRPC"
readme = "README.md"
requires-python = ">=3.9"
requires-python = ">=3.10" # protobuf 7.x needs 3.10
license = "Apache-2.0"
license-files = ["LICENSE"]
authors = [{ name = "Priompt", email = "oss@priompt.com" }]
keywords = ["prompts", "grpc", "llm", "prompt-management"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = ["grpcio>=1.60", "protobuf>=7.35"]
# grpcio 1.63 is the first release whose channels accept the generated stubs'
# `_registered_method=True`; older ones raise TypeError in PromptClient().
dependencies = ["grpcio>=1.63", "protobuf>=7.35.1"] # gencode is 7.35.1; older runtimes refuse it

[project.optional-dependencies]
nats = ["nats-py>=2.0"] # only needed for PromptClient.subscribe()
Expand Down
Loading