Skip to content

Commit 1884221

Browse files
authored
Merge branch 'master' into antonpirker/anthropic-messages
2 parents 065e24e + 20f0f84 commit 1884221

File tree

18 files changed

+413
-223
lines changed

18 files changed

+413
-223
lines changed

.github/workflows/test-integrations-cloud.yml

Lines changed: 0 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -22,85 +22,6 @@ env:
2222
CACHED_BUILD_PATHS: |
2323
${{ github.workspace }}/dist-serverless
2424
jobs:
25-
test-cloud-latest:
26-
name: Cloud (latest)
27-
timeout-minutes: 30
28-
runs-on: ${{ matrix.os }}
29-
strategy:
30-
fail-fast: false
31-
matrix:
32-
python-version: ["3.8","3.12","3.13"]
33-
# python3.6 reached EOL and is no longer being supported on
34-
# new versions of hosted runners on Github Actions
35-
# ubuntu-20.04 is the last version that supported python3.6
36-
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
37-
os: [ubuntu-22.04]
38-
services:
39-
docker:
40-
image: docker:dind # Required for Docker network management
41-
options: --privileged # Required for Docker-in-Docker operations
42-
# Use Docker container only for Python 3.6
43-
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
44-
steps:
45-
- uses: actions/[email protected]
46-
- uses: actions/setup-python@v5
47-
if: ${{ matrix.python-version != '3.6' }}
48-
with:
49-
python-version: ${{ matrix.python-version }}
50-
allow-prereleases: true
51-
- name: Setup Test Env
52-
run: |
53-
pip install "coverage[toml]" tox
54-
- name: Erase coverage
55-
run: |
56-
coverage erase
57-
- name: Test aws_lambda latest
58-
run: |
59-
set -x # print commands that are executed
60-
./scripts/runtox.sh "py${{ matrix.python-version }}-aws_lambda-latest"
61-
- name: Test boto3 latest
62-
run: |
63-
set -x # print commands that are executed
64-
./scripts/runtox.sh "py${{ matrix.python-version }}-boto3-latest"
65-
- name: Test chalice latest
66-
run: |
67-
set -x # print commands that are executed
68-
./scripts/runtox.sh "py${{ matrix.python-version }}-chalice-latest"
69-
- name: Test cloud_resource_context latest
70-
run: |
71-
set -x # print commands that are executed
72-
./scripts/runtox.sh "py${{ matrix.python-version }}-cloud_resource_context-latest"
73-
- name: Test gcp latest
74-
run: |
75-
set -x # print commands that are executed
76-
./scripts/runtox.sh "py${{ matrix.python-version }}-gcp-latest"
77-
- name: Generate coverage XML (Python 3.6)
78-
if: ${{ !cancelled() && matrix.python-version == '3.6' }}
79-
run: |
80-
export COVERAGE_RCFILE=.coveragerc36
81-
coverage combine .coverage-sentry-*
82-
coverage xml --ignore-errors
83-
- name: Generate coverage XML
84-
if: ${{ !cancelled() && matrix.python-version != '3.6' }}
85-
run: |
86-
coverage combine .coverage-sentry-*
87-
coverage xml
88-
- name: Upload coverage to Codecov
89-
if: ${{ !cancelled() }}
90-
uses: codecov/[email protected]
91-
with:
92-
token: ${{ secrets.CODECOV_TOKEN }}
93-
files: coverage.xml
94-
# make sure no plugins alter our coverage reports
95-
plugins: noop
96-
verbose: true
97-
- name: Upload test results to Codecov
98-
if: ${{ !cancelled() }}
99-
uses: codecov/test-results-action@v1
100-
with:
101-
token: ${{ secrets.CODECOV_TOKEN }}
102-
files: .junitxml
103-
verbose: true
10425
test-cloud-pinned:
10526
name: Cloud (pinned)
10627
timeout-minutes: 30

.github/workflows/test-integrations-web-2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
python-version: ["3.8","3.9","3.12","3.13"]
32+
python-version: ["3.9","3.12","3.13"]
3333
# python3.6 reached EOL and is no longer being supported on
3434
# new versions of hosted runners on Github Actions
3535
# ubuntu-20.04 is the last version that supported python3.6

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
## 2.37.0
4+
5+
- **New Integration (BETA):** Add support for `langgraph` (#4727) by @shellmayr
6+
7+
We can now instrument AI agents that are created with [LangGraph](https://www.langchain.com/langgraph) out of the box.
8+
9+
For more information see the [LangGraph integrations documentation](https://docs.sentry.io/platforms/python/integrations/langgraph/).
10+
11+
- AI Agents: Improve rendering of input and output messages in AI agents integrations. (#4750) by @shellmayr
12+
- AI Agents: Format span attributes in AI integrations (#4762) by @antonpirker
13+
- CI: Fix celery (#4765) by @sentrivana
14+
- Tests: Move asyncpg under toxgen (#4757) by @sentrivana
15+
- Tests: Move beam under toxgen (#4759) by @sentrivana
16+
- Tests: Move boto3 tests under toxgen (#4761) by @sentrivana
17+
- Tests: Remove openai pin and update tox (#4748) by @sentrivana
18+
319
## 2.36.0
420

521
### Various fixes & improvements

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
copyright = "2019-{}, Sentry Team and Contributors".format(datetime.now().year)
3232
author = "Sentry Team and Contributors"
3333

34-
release = "2.36.0"
34+
release = "2.37.0"
3535
version = ".".join(release.split(".")[:2]) # The short X.Y version.
3636

3737

scripts/populate_tox/config.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@
6666
"py3.7": ["importlib-metadata<5.0"],
6767
},
6868
},
69+
"chalice": {
70+
"package": "chalice",
71+
"deps": {
72+
"*": ["pytest-chalice"],
73+
},
74+
},
6975
"clickhouse_driver": {
7076
"package": "clickhouse-driver",
7177
},
@@ -226,6 +232,20 @@
226232
"*": ["werkzeug<2.1.0"],
227233
},
228234
},
235+
"quart": {
236+
"package": "quart",
237+
"deps": {
238+
"*": ["quart-auth", "pytest-asyncio", "Werkzeug"],
239+
">=0.19": ["quart-flask-patch"],
240+
"<0.19": [
241+
"blinker<1.6",
242+
"jinja2<3.1.0",
243+
"Werkzeug<2.3.0",
244+
"hypercorn<0.15.0",
245+
],
246+
"py3.8": ["taskgroup==0.0.0a4"],
247+
},
248+
},
229249
"redis_py_cluster_legacy": {
230250
"package": "redis-py-cluster",
231251
},

scripts/populate_tox/populate_tox.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@
5757
# pypi package to install in different versions).
5858
#
5959
# Test suites that will have to remain hardcoded since they don't fit the
60-
# toxgen usecase
60+
# toxgen usecase (there is no one package that should be tested in different
61+
# versions)
6162
"asgi",
6263
"aws_lambda",
6364
"cloud_resource_context",
@@ -67,11 +68,9 @@
6768
"potel",
6869
# Integrations that can be migrated -- we should eventually remove all
6970
# of these from the IGNORE list
70-
"chalice",
7171
"gcp",
7272
"httpx",
7373
"pure_eval",
74-
"quart",
7574
"ray",
7675
"redis",
7776
"requests",

scripts/populate_tox/tox.jinja

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,6 @@ envlist =
4242
# AWS Lambda
4343
{py3.8,py3.9,py3.11,py3.13}-aws_lambda
4444

45-
# Chalice
46-
{py3.6,py3.9}-chalice-v{1.16}
47-
{py3.8,py3.12,py3.13}-chalice-latest
48-
4945
# Cloud Resource Context
5046
{py3.6,py3.12,py3.13}-cloud_resource_context
5147

@@ -68,11 +64,6 @@ envlist =
6864
# pure_eval
6965
{py3.6,py3.12,py3.13}-pure_eval
7066

71-
# Quart
72-
{py3.7,py3.11}-quart-v{0.16}
73-
{py3.8,py3.11,py3.12}-quart-v{0.19}
74-
{py3.8,py3.12,py3.13}-quart-latest
75-
7667
# Ray
7768
{py3.10,py3.11}-ray-v{2.34}
7869
{py3.10,py3.11}-ray-latest
@@ -158,11 +149,6 @@ deps =
158149
aws_lambda: requests
159150
aws_lambda: uvicorn
160151
161-
# Chalice
162-
chalice: pytest-chalice==0.0.5
163-
chalice-v1.16: chalice~=1.16.0
164-
chalice-latest: chalice
165-
166152
# HTTPX
167153
httpx-v0.16: pytest-httpx==0.10.0
168154
httpx-v0.18: pytest-httpx==0.12.0
@@ -193,20 +179,6 @@ deps =
193179
# pure_eval
194180
pure_eval: pure_eval
195181
196-
# Quart
197-
quart: quart-auth
198-
quart: pytest-asyncio
199-
quart-{v0.19,latest}: quart-flask-patch
200-
quart-v0.16: blinker<1.6
201-
quart-v0.16: jinja2<3.1.0
202-
quart-v0.16: Werkzeug<2.1.0
203-
quart-v0.16: hypercorn<0.15.0
204-
quart-v0.16: quart~=0.16.0
205-
quart-v0.19: Werkzeug>=3.0.0
206-
quart-v0.19: quart~=0.19.0
207-
{py3.8}-quart: taskgroup==0.0.0a4
208-
quart-latest: quart
209-
210182
# Ray
211183
ray-v2.34: ray~=2.34.0
212184
ray-latest: ray

sentry_sdk/consts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1330,4 +1330,4 @@ def _get_default_options():
13301330
del _get_default_options
13311331

13321332

1333-
VERSION = "2.36.0"
1333+
VERSION = "2.37.0"

0 commit comments

Comments
 (0)