Skip to content

Commit 1a709ee

Browse files
Andrei Bratujamesbaskerville
andauthored
Python SDK 0.8.27 Release
* Better typing DX on decorated functions * @flow decorator adds all logging statements to its trace * Better feedback and validation in `evaluations.run(...)` utility * Guardrails against strange usage patterns with decorators --------- Co-authored-by: James Baskerville <jameswbaskerville@gmail.com>
1 parent 71448cd commit 1a709ee

40 files changed

+1303
-5067
lines changed

.fernignore

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
# Specify files that shouldn't be modified by Fern
22

3-
src/humanloop/eval_utils
3+
4+
## Custom code
5+
6+
src/humanloop/evals
47
src/humanloop/prompt_utils.py
58
src/humanloop/client.py
9+
src/humanloop/overload.py
10+
src/humanloop/context.py
611
mypy.ini
712
README.md
8-
9-
# Directories used by SDK decorators
10-
11-
src/humanloop/utilities
13+
src/humanloop/decorators
1214
src/humanloop/otel
1315

14-
# Tests
16+
## Tests
1517

1618
tests/
1719

poetry.lock

Lines changed: 143 additions & 1235 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ Repository = 'https://github.com/humanloop/humanloop-python'
3535

3636
[tool.poetry.dependencies]
3737
python = ">=3.9,<4"
38-
deepdiff = "^8.2.0"
3938
httpx = ">=0.21.2"
4039
httpx-sse = "0.4.0"
4140
mmh3 = "^5.1.0"
@@ -51,15 +50,17 @@ parse = ">=1"
5150
pydantic = ">= 1.9.2"
5251
pydantic-core = "^2.18.2"
5352
typing_extensions = ">= 4.0.0"
53+
opentelemetry-proto = "^1.30.0"
54+
protobuf = "^5.29.3"
5455

5556
[tool.poetry.dev-dependencies]
5657
mypy = "1.0.1"
5758
pytest = "^7.4.0"
59+
types-protobuf = "^5.29.1.20250208"
5860
pytest-asyncio = "^0.23.5"
5961
python-dateutil = "^2.9.0"
6062
types-python-dateutil = "^2.9.0.20240316"
6163
anthropic = ">=0.37.1"
62-
chromadb = "^0.6.3"
6364
cohere = "^5.11.2"
6465
groq = ">=0.11.0"
6566
jsonschema = "^4.23.0"
@@ -88,4 +89,4 @@ line-length = 120
8889

8990
[build-system]
9091
requires = ["poetry-core"]
91-
build-backend = "poetry.core.masonry.api"
92+
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)