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 @@ -37,6 +37,7 @@ Looking to upgrade from Sentry SDK 2.x to 3.x? Here's a comprehensive list of wh
- Dropped support for Starlette below 0.20.
- Dropped support for FastAPI below 0.85.
- Dropped support for trytond below 5.4.
- Dropped support for Quart below 0.19.
- Dropped support for Sanic below 22.0.
- Removed the possibility to supply a specific client to the LaunchDarklyIntegration.
- The `enable_tracing` option was removed. Use `traces_sample_rate=1.0` instead.
Expand Down
5 changes: 3 additions & 2 deletions scripts/populate_tox/package_dependencies.jsonl

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion scripts/populate_tox/releases.jsonl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion sentry_sdk/integrations/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def iter_default_integrations(
"pymongo": (3, 5, 0),
"pyramid": (1, 8),
"pyreqwest": (0, 11, 6),
"quart": (0, 16, 0),
"quart": (0, 19, 0),
"ray": (2, 7, 0),
"redis": (2, 10, 0),
"requests": (2, 30, 0),
Expand Down
7 changes: 1 addition & 6 deletions sentry_sdk/integrations/quart.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
quart_auth = None

try:
from flask.sansio.scaffold import Scaffold # type: ignore
from quart import ( # type: ignore
Quart,
Request,
Expand All @@ -50,12 +51,6 @@
)
except ImportError:
raise DidNotEnable("Quart is not installed")
else:
# Quart 0.19 is based on Flask and hence no longer has a Scaffold
try:
from quart.scaffold import Scaffold # type: ignore
except ImportError:
from flask.sansio.scaffold import Scaffold # type: ignore

TRANSACTION_STYLE_VALUES = ("endpoint", "url")

Expand Down
Loading
Loading