structlog-sentry 2.2.0__tar.gz → 2.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: structlog-sentry
3
- Version: 2.2.0
3
+ Version: 2.2.1
4
4
  Summary: Sentry integration for structlog
5
5
  Home-page: https://github.com/kiwicom/structlog-sentry
6
6
  License: MIT
@@ -21,7 +21,7 @@ Classifier: Programming Language :: Python :: 3.11
21
21
  Classifier: Programming Language :: Python :: 3.12
22
22
  Classifier: Programming Language :: Python :: 3.13
23
23
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
24
- Requires-Dist: sentry-sdk (>=2.0,<3.0)
24
+ Requires-Dist: sentry-sdk (>=2.15.0,<3.0.0)
25
25
  Requires-Dist: structlog
26
26
  Project-URL: Repository, https://github.com/kiwicom/structlog-sentry
27
27
  Description-Content-Type: text/markdown
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "structlog-sentry"
3
- version = "2.2.0"
3
+ version = "2.2.1"
4
4
  description = "Sentry integration for structlog"
5
5
  authors = ["Kiwi.com platform <platform@kiwi.com>"]
6
6
  license = "MIT"
@@ -27,7 +27,7 @@ include = ["*.md", "*.toml", "*.txt", "*.yml", "*.yaml", ".coveragerc", "tox.ini
27
27
 
28
28
  [tool.poetry.dependencies]
29
29
  python = "^3.7"
30
- sentry-sdk = "^2.0"
30
+ sentry-sdk = "^2.15.0"
31
31
  structlog = "*"
32
32
 
33
33
  [tool.poetry.dev-dependencies]
@@ -119,7 +119,7 @@ class SentryProcessor:
119
119
  has_exc_info = exc_info and exc_info != (None, None, None)
120
120
 
121
121
  if has_exc_info:
122
- client = self._get_scope().client
122
+ client = self._get_scope().get_client()
123
123
  options: dict[str, Any] = client.options if client else {}
124
124
  event, hint = event_from_exception(
125
125
  exc_info,