Skip to content

Commit f8a36ce

Browse files
committed
Release 0.8.14b0
1 parent f62dd8f commit f8a36ce

34 files changed

+795
-2564
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Set up python
1111
uses: actions/setup-python@v4
1212
with:
13-
python-version: 3.12
13+
python-version: 3.8
1414
- name: Bootstrap poetry
1515
run: |
1616
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up python
2727
uses: actions/setup-python@v4
2828
with:
29-
python-version: 3.9
29+
python-version: 3.8
3030
- name: Bootstrap poetry
3131
run: |
3232
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
@@ -35,38 +35,6 @@ jobs:
3535

3636
- name: Test
3737
run: poetry run pytest -rP .
38-
env:
39-
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
40-
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
41-
REPLICATE_API_KEY: ${{ secrets.REPLICATE_API_KEY }}
42-
GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }}
43-
COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }}
44-
test_3_12:
45-
# Run the test suite with Python 3.12 too
46-
# Some tool decorator tests assert the ability to parse the signature
47-
# of functions that use typing features introduced in Python 3.10 e.g. '|'
48-
runs-on: ubuntu-20.04
49-
steps:
50-
- name: Checkout repo
51-
uses: actions/checkout@v3
52-
- name: Set up python
53-
uses: actions/setup-python@v4
54-
with:
55-
python-version: 3.12
56-
- name: Bootstrap poetry
57-
run: |
58-
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
59-
- name: Install dependencies
60-
run: poetry install
61-
62-
- name: Test
63-
run: poetry run pytest -rP .
64-
env:
65-
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
66-
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
67-
REPLICATE_API_KEY: ${{ secrets.REPLICATE_API_KEY }}
68-
GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }}
69-
COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }}
7038

7139
publish:
7240
needs: [compile, test]
@@ -78,7 +46,7 @@ jobs:
7846
- name: Set up python
7947
uses: actions/setup-python@v4
8048
with:
81-
python-version: 3.9
49+
python-version: 3.8
8250
- name: Bootstrap poetry
8351
run: |
8452
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1

.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: 43 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: 23 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.14b0"
44
description = ""
55
readme = "README.md"
66
authors = []
@@ -10,6 +10,7 @@ classifiers = [
1010
"Intended Audience :: Developers",
1111
"Programming Language :: Python",
1212
"Programming Language :: Python :: 3",
13+
"Programming Language :: Python :: 3.8",
1314
"Programming Language :: Python :: 3.9",
1415
"Programming Language :: Python :: 3.10",
1516
"Programming Language :: Python :: 3.11",
@@ -26,43 +27,42 @@ packages = [
2627
{ include = "humanloop", from = "src"}
2728
]
2829

29-
3030
[project.urls]
3131
Repository = 'https://github.com/humanloop/humanloop-python'
3232

3333
[tool.poetry.dependencies]
3434
python = ">=3.9,<4"
3535
httpx = ">=0.21.2"
3636
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"
4237
opentelemetry-api = "<=1.27.0"
43-
opentelemetry-instrumentation-openai = ">=0.20"
44-
opentelemetry-instrumentation-cohere = ">=0.20"
4538
opentelemetry-instrumentation-anthropic = ">=0.20"
46-
opentelemetry-instrumentation-replicate = ">=0.20"
47-
opentelemetry-instrumentation-groq = ">=0.29"
4839
opentelemetry-instrumentation-bedrock = ">=0.15"
40+
opentelemetry-instrumentation-cohere = ">=0.20"
41+
opentelemetry-instrumentation-groq = ">=0.29"
42+
opentelemetry-instrumentation-openai = ">=0.20"
43+
opentelemetry-instrumentation-replicate = ">=0.20"
44+
opentelemetry-sdk = "<=1.27.0"
45+
parse = ">=1"
46+
pydantic = ">= 1.9.2"
47+
pydantic-core = "^2.18.2"
48+
typing_extensions = ">= 4.0.0"
4949

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"
50+
[tool.poetry.dev-dependencies]
51+
mypy = "1.0.1"
5952
pytest = "^7.4.0"
6053
pytest-asyncio = "^0.23.5"
61-
python-dateutil = "^2.8.2"
54+
python-dateutil = "^2.9.0"
6255
types-python-dateutil = "^2.9.0.20240316"
63-
ruff = "^0.5.6"
64-
python-dotenv = "^1.0.1"
56+
anthropic = ">=0.37.1"
57+
cohere = "^5.11.2"
58+
groq = ">=0.11.0"
59+
jsonschema = "^4.23.0"
6560
openai = "^1.52.2"
61+
parse-type = ">=0.6.4"
62+
python-dotenv = "^1.0.1"
63+
replicate = "^1.0.3"
64+
ruff = "^0.5.6"
65+
types-jsonschema = "^4.23.0.20240813"
6666

6767
[tool.pytest.ini_options]
6868
testpaths = [ "tests" ]

0 commit comments

Comments
 (0)