Skip to content

Commit a7904e0

Browse files
author
Andrei Bratu
committed
Add back tests
1 parent 866215f commit a7904e0

28 files changed

+825
-1048
lines changed

.fernignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,11 @@ README.md
1010

1111
src/humanloop/decorators
1212
src/humanloop/otel
13+
14+
# Tests
15+
16+
tests/
17+
18+
## CI
19+
20+
.github/workflows/ci.yml

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }}
7070

7171
publish:
72-
needs: [compile, test]
72+
needs: [compile, test, test_3_12]
7373
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
7474
runs-on: ubuntu-20.04
7575
steps:

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,3 @@ dist/
33
__pycache__/
44
poetry.toml
55
.ruff_cache/
6-
.idea
7-
.vscode
8-
.DS_Store
9-
.env

poetry.lock

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

pyproject.toml

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "humanloop"
3-
version = "0.8.13"
3+
version = "0.8.14b3"
44
description = ""
55
readme = "README.md"
66
authors = []
@@ -26,43 +26,44 @@ packages = [
2626
{ include = "humanloop", from = "src"}
2727
]
2828

29-
3029
[project.urls]
3130
Repository = 'https://github.com/humanloop/humanloop-python'
3231

3332
[tool.poetry.dependencies]
3433
python = ">=3.9,<4"
3534
httpx = ">=0.21.2"
3635
httpx-sse = "0.4.0"
37-
pydantic = ">= 1.9.2"
38-
pydantic-core = "^2.18.2"
39-
typing_extensions = ">=4.0.0"
40-
parse = ">=1"
41-
opentelemetry-sdk = "<=1.27.0"
4236
opentelemetry-api = "<=1.27.0"
43-
opentelemetry-instrumentation-openai = ">=0.20"
44-
opentelemetry-instrumentation-cohere = ">=0.20"
4537
opentelemetry-instrumentation-anthropic = ">=0.20"
46-
opentelemetry-instrumentation-replicate = ">=0.20"
47-
opentelemetry-instrumentation-groq = ">=0.29"
4838
opentelemetry-instrumentation-bedrock = ">=0.15"
39+
opentelemetry-instrumentation-cohere = ">=0.20"
40+
opentelemetry-instrumentation-groq = ">=0.29"
41+
opentelemetry-instrumentation-openai = ">=0.20"
42+
opentelemetry-instrumentation-replicate = ">=0.20"
43+
opentelemetry-sdk = "<=1.27.0"
44+
parse = ">=1"
45+
pydantic = ">= 1.9.2"
46+
pydantic-core = "^2.18.2"
47+
typing_extensions = ">= 4.0.0"
4948

50-
[tool.poetry.group.dev.dependencies]
51-
parse-type = ">=0.6.4"
52-
anthropic = ">=0.37.1"
53-
groq = ">=0.11.0"
54-
cohere = ">=3.0"
55-
replicate = ">=1.0.3"
56-
jsonschema = "^4.23.0"
57-
types-jsonschema = "^4.23.0.20240813"
58-
mypy = "^1.0.1"
49+
50+
[tool.poetry.dev-dependencies]
51+
pytest-retry = "^1.6.3"
52+
mypy = "1.0.1"
5953
pytest = "^7.4.0"
6054
pytest-asyncio = "^0.23.5"
61-
python-dateutil = "^2.8.2"
55+
python-dateutil = "^2.9.0"
6256
types-python-dateutil = "^2.9.0.20240316"
63-
ruff = "^0.5.6"
64-
python-dotenv = "^1.0.1"
57+
anthropic = ">=0.37.1"
58+
cohere = "^5.11.2"
59+
groq = ">=0.11.0"
60+
jsonschema = "^4.23.0"
6561
openai = "^1.52.2"
62+
parse-type = ">=0.6.4"
63+
python-dotenv = "^1.0.1"
64+
replicate = "^1.0.3"
65+
ruff = "^0.5.6"
66+
types-jsonschema = "^4.23.0.20240813"
6667

6768
[tool.pytest.ini_options]
6869
testpaths = [ "tests" ]

0 commit comments

Comments
 (0)