Skip to content
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
1 change: 1 addition & 0 deletions MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Looking to upgrade from Sentry SDK 2.x to 3.x? Here's a comprehensive list of wh
- Dropped support for Django versions below 2.0.
- Dropped support for gevent versions below 20.9.
- Dropped support for greenlet versions below 0.4.17.
- Dropped support for Flask below 2.0.
- The `enable_tracing` option was removed. Use `traces_sample_rate=1.0` instead.
- The deprecated `push_scope` and `configure_scope` APIs have been removed. Use `with new_scope():` to push a new scope and `scope = get_current_scope()` to retrieve the current scope instead.
- Transaction profiling and related code was removed.
Expand Down
11 changes: 4 additions & 7 deletions scripts/populate_tox/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,15 +157,12 @@
"package": "flask",
"deps": {
"*": ["flask-login", "werkzeug", "blinker"],
# https://github.com/pallets/flask/issues/4455
"<2.0": [
"werkzeug<2.1.0",
"markupsafe<2.0.0",
"itsdangerous>=0.24,<2.0",
"jinja2<3.1.1",
],
"<2.3": ["werkzeug<2.3"],
"py3.7": ["setuptools<82"], # Handled by importlib.metadata on Python 3.8+
},
"python": {
"<2.3": "<3.11",
},
},
"gql": {
"package": "gql[all]",
Expand Down
264 changes: 55 additions & 209 deletions scripts/populate_tox/package_dependencies.jsonl

Large diffs are not rendered by default.

673 changes: 9 additions & 664 deletions scripts/populate_tox/releases.jsonl

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sentry_sdk/integrations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def iter_default_integrations(
"dramatiq": (1, 9),
"falcon": (1, 4),
"fastapi": (0, 79, 0),
"flask": (1, 1, 4),
"flask": (2, 0, 0),
"gql": (3, 4, 1),
"graphene": (3, 3),
"google_genai": (1, 29, 0), # google-genai
Expand Down
2 changes: 1 addition & 1 deletion tests/integrations/flask/test_flask.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
try:
from werkzeug.wrappers.request import UnsupportedMediaType
except ImportError:
UnsupportedMediaType = None
from werkzeug.exceptions import BadRequest as UnsupportedMediaType

import sentry_sdk
import sentry_sdk.integrations.flask as flask_sentry
Expand Down
1,985 changes: 878 additions & 1,107 deletions tox.ini

Large diffs are not rendered by default.

Loading