Skip to content

toxgen: Add cohere #4304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 16, 2025
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
4 changes: 4 additions & 0 deletions scripts/populate_tox/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
"clickhouse_driver": {
"package": "clickhouse-driver",
},
"cohere": {
"package": "cohere",
"python": ">=3.9",
},
"django": {
"package": "django",
"deps": {
Expand Down
1 change: 0 additions & 1 deletion scripts/populate_tox/populate_tox.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
"beam",
"boto3",
"chalice",
"cohere",
"gcp",
"httpx",
"langchain",
Expand Down
8 changes: 0 additions & 8 deletions scripts/populate_tox/tox.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,6 @@ envlist =
# Cloud Resource Context
{py3.6,py3.12,py3.13}-cloud_resource_context

# Cohere
{py3.9,py3.11,py3.12}-cohere-v5
{py3.9,py3.11,py3.12}-cohere-latest

# GCP
{py3.7}-gcp

Expand Down Expand Up @@ -244,10 +240,6 @@ deps =
chalice-v1.16: chalice~=1.16.0
chalice-latest: chalice

# Cohere
cohere-v5: cohere~=5.3.3
cohere-latest: cohere

# HTTPX
httpx-v0.16: pytest-httpx==0.10.0
httpx-v0.18: pytest-httpx==0.12.0
Expand Down
1 change: 1 addition & 0 deletions sentry_sdk/integrations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ def iter_default_integrations(with_auto_enabling_integrations):
"celery": (4, 4, 7),
"chalice": (1, 16, 0),
"clickhouse_driver": (0, 2, 0),
"cohere": (5, 4, 0),
"django": (1, 8),
"dramatiq": (1, 9),
"falcon": (1, 4),
Expand Down
20 changes: 11 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# The file (and all resulting CI YAMLs) then need to be regenerated via
# "scripts/generate-test-files.sh".
#
# Last generated: 2025-04-15T14:38:12.763407+00:00
# Last generated: 2025-04-15T15:09:46.980440+00:00

[tox]
requires =
Expand Down Expand Up @@ -76,10 +76,6 @@ envlist =
# Cloud Resource Context
{py3.6,py3.12,py3.13}-cloud_resource_context

# Cohere
{py3.9,py3.11,py3.12}-cohere-v5
{py3.9,py3.11,py3.12}-cohere-latest

# GCP
{py3.7}-gcp

Expand Down Expand Up @@ -148,6 +144,11 @@ envlist =
# integration tests there.

# ~~~ AI ~~~
{py3.9,py3.10,py3.11}-cohere-v5.4.0
{py3.9,py3.11,py3.12}-cohere-v5.9.4
{py3.9,py3.11,py3.12}-cohere-v5.13.9
{py3.9,py3.11,py3.12}-cohere-v5.15.0

{py3.8,py3.10,py3.11}-huggingface_hub-v0.22.2
{py3.8,py3.10,py3.11}-huggingface_hub-v0.25.2
{py3.8,py3.12,py3.13}-huggingface_hub-v0.28.1
Expand Down Expand Up @@ -391,10 +392,6 @@ deps =
chalice-v1.16: chalice~=1.16.0
chalice-latest: chalice

# Cohere
cohere-v5: cohere~=5.3.3
cohere-latest: cohere

# HTTPX
httpx-v0.16: pytest-httpx==0.10.0
httpx-v0.18: pytest-httpx==0.12.0
Expand Down Expand Up @@ -518,6 +515,11 @@ deps =
# integration tests there.

# ~~~ AI ~~~
cohere-v5.4.0: cohere==5.4.0
cohere-v5.9.4: cohere==5.9.4
cohere-v5.13.9: cohere==5.13.9
cohere-v5.15.0: cohere==5.15.0

huggingface_hub-v0.22.2: huggingface_hub==0.22.2
huggingface_hub-v0.25.2: huggingface_hub==0.25.2
huggingface_hub-v0.28.1: huggingface_hub==0.28.1
Expand Down
Loading