plainx-sentry 0.3.0__tar.gz → 0.3.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.
- {plainx_sentry-0.3.0 → plainx_sentry-0.3.1}/PKG-INFO +1 -1
- {plainx_sentry-0.3.0 → plainx_sentry-0.3.1}/plainx/sentry/middleware.py +6 -8
- {plainx_sentry-0.3.0 → plainx_sentry-0.3.1}/pyproject.toml +1 -1
- plainx_sentry-0.3.1/scripts/release +4 -0
- {plainx_sentry-0.3.0 → plainx_sentry-0.3.1}/uv.lock +26 -26
- {plainx_sentry-0.3.0 → plainx_sentry-0.3.1}/.gitignore +0 -0
- {plainx_sentry-0.3.0 → plainx_sentry-0.3.1}/README.md +0 -0
- {plainx_sentry-0.3.0 → plainx_sentry-0.3.1}/plainx/sentry/__init__.py +0 -0
- {plainx_sentry-0.3.0 → plainx_sentry-0.3.1}/plainx/sentry/config.py +0 -0
- {plainx_sentry-0.3.0 → plainx_sentry-0.3.1}/plainx/sentry/default_settings.py +0 -0
- {plainx_sentry-0.3.0 → plainx_sentry-0.3.1}/plainx/sentry/templates/sentry/js.html +0 -0
- {plainx_sentry-0.3.0 → plainx_sentry-0.3.1}/plainx/sentry/templates.py +0 -0
- {plainx_sentry-0.3.0 → plainx_sentry-0.3.1}/scripts/install +0 -0
- {plainx_sentry-0.3.0 → plainx_sentry-0.3.1}/scripts/test +0 -0
- {plainx_sentry-0.3.0 → plainx_sentry-0.3.1}/tests/settings.py +0 -0
- {plainx_sentry-0.3.0 → plainx_sentry-0.3.1}/tests/templates/index.html +0 -0
- {plainx_sentry-0.3.0 → plainx_sentry-0.3.1}/tests/test_sentry.py +0 -0
- {plainx_sentry-0.3.0 → plainx_sentry-0.3.1}/tests/urls.py +0 -0
|
@@ -66,10 +66,9 @@ class SentryMiddleware:
|
|
|
66
66
|
|
|
67
67
|
return event
|
|
68
68
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
scope.add_event_processor(event_processor)
|
|
69
|
+
# Reset the scope (and breadcrumbs) for each request
|
|
70
|
+
scope = sentry_sdk.get_isolation_scope()
|
|
71
|
+
scope.add_event_processor(event_processor)
|
|
73
72
|
|
|
74
73
|
# Sentry's Django integration patches the WSGIHandler.
|
|
75
74
|
# We could make our own WSGIHandler and patch it or call it directly from gunicorn,
|
|
@@ -119,10 +118,9 @@ class SentryWorkerMiddleware:
|
|
|
119
118
|
extra["plain.worker"] = {"job": job.as_json()}
|
|
120
119
|
return event
|
|
121
120
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
scope.add_event_processor(event_processor)
|
|
121
|
+
# Reset the scope (and breadcrumbs) for each job
|
|
122
|
+
scope = sentry_sdk.get_isolation_scope()
|
|
123
|
+
scope.add_event_processor(event_processor)
|
|
126
124
|
|
|
127
125
|
with sentry_sdk.start_transaction(
|
|
128
126
|
op="plain.worker.job",
|
|
@@ -43,14 +43,14 @@ wheels = [
|
|
|
43
43
|
|
|
44
44
|
[[package]]
|
|
45
45
|
name = "jinja2"
|
|
46
|
-
version = "3.1.
|
|
46
|
+
version = "3.1.6"
|
|
47
47
|
source = { registry = "https://pypi.org/simple" }
|
|
48
48
|
dependencies = [
|
|
49
49
|
{ name = "markupsafe" },
|
|
50
50
|
]
|
|
51
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
51
|
+
sdist = { url = "https://files.pythonhosted.org/packages/df/bf/f7da0350254c0ed7c72f3e33cef02e048281fec7ecec5f032d4aac52226b/jinja2-3.1.6.tar.gz", hash = "sha256:0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d", size = 245115 }
|
|
52
52
|
wheels = [
|
|
53
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
53
|
+
{ url = "https://files.pythonhosted.org/packages/62/a1/3d680cbfd5f4b8f15abc1d571870c5fc3e594bb582bc3b64ea099db13e56/jinja2-3.1.6-py3-none-any.whl", hash = "sha256:85ece4451f492d0c13c5dd7c13a64681a86afae63a5f347908daf103ce6d2f67", size = 134899 },
|
|
54
54
|
]
|
|
55
55
|
|
|
56
56
|
[[package]]
|
|
@@ -112,15 +112,15 @@ wheels = [
|
|
|
112
112
|
|
|
113
113
|
[[package]]
|
|
114
114
|
name = "plain"
|
|
115
|
-
version = "0.
|
|
115
|
+
version = "0.32.1"
|
|
116
116
|
source = { registry = "https://pypi.org/simple" }
|
|
117
117
|
dependencies = [
|
|
118
118
|
{ name = "click" },
|
|
119
119
|
{ name = "jinja2" },
|
|
120
120
|
]
|
|
121
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
121
|
+
sdist = { url = "https://files.pythonhosted.org/packages/03/0d/872d6019435fa621f5f1afe7c8ce797f4babfb969782d66ae23c088985af/plain-0.32.1.tar.gz", hash = "sha256:aa74317bed563028d9a83fa1a1a4a2b3f3c91097dc1f1e859ae878dbd37c7b59", size = 151052 }
|
|
122
122
|
wheels = [
|
|
123
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
123
|
+
{ url = "https://files.pythonhosted.org/packages/56/b3/6fad3334bfc6c09fde1c1408e720dd7fb4188e68fa726d2e16f87a6b78af/plain-0.32.1-py3-none-any.whl", hash = "sha256:7bf942136783a431fdde0b177e11b65994ab7ccca63e4df6ef141cb499e3c38d", size = 194887 },
|
|
124
124
|
]
|
|
125
125
|
|
|
126
126
|
[[package]]
|
|
@@ -153,7 +153,7 @@ wheels = [
|
|
|
153
153
|
|
|
154
154
|
[[package]]
|
|
155
155
|
name = "plainx-sentry"
|
|
156
|
-
version = "0.
|
|
156
|
+
version = "0.3.0"
|
|
157
157
|
source = { editable = "." }
|
|
158
158
|
dependencies = [
|
|
159
159
|
{ name = "sentry-sdk" },
|
|
@@ -211,27 +211,27 @@ wheels = [
|
|
|
211
211
|
|
|
212
212
|
[[package]]
|
|
213
213
|
name = "ruff"
|
|
214
|
-
version = "0.9.
|
|
214
|
+
version = "0.9.10"
|
|
215
215
|
source = { registry = "https://pypi.org/simple" }
|
|
216
|
-
sdist = { url = "https://files.pythonhosted.org/packages/
|
|
216
|
+
sdist = { url = "https://files.pythonhosted.org/packages/20/8e/fafaa6f15c332e73425d9c44ada85360501045d5ab0b81400076aff27cf6/ruff-0.9.10.tar.gz", hash = "sha256:9bacb735d7bada9cfb0f2c227d3658fc443d90a727b47f206fb33f52f3c0eac7", size = 3759776 }
|
|
217
217
|
wheels = [
|
|
218
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
219
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
220
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
221
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
222
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
223
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
224
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
225
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
226
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
227
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
228
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
229
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
230
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
231
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
232
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
233
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
234
|
-
{ url = "https://files.pythonhosted.org/packages/
|
|
218
|
+
{ url = "https://files.pythonhosted.org/packages/73/b2/af7c2cc9e438cbc19fafeec4f20bfcd72165460fe75b2b6e9a0958c8c62b/ruff-0.9.10-py3-none-linux_armv6l.whl", hash = "sha256:eb4d25532cfd9fe461acc83498361ec2e2252795b4f40b17e80692814329e42d", size = 10049494 },
|
|
219
|
+
{ url = "https://files.pythonhosted.org/packages/6d/12/03f6dfa1b95ddd47e6969f0225d60d9d7437c91938a310835feb27927ca0/ruff-0.9.10-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:188a6638dab1aa9bb6228a7302387b2c9954e455fb25d6b4470cb0641d16759d", size = 10853584 },
|
|
220
|
+
{ url = "https://files.pythonhosted.org/packages/02/49/1c79e0906b6ff551fb0894168763f705bf980864739572b2815ecd3c9df0/ruff-0.9.10-py3-none-macosx_11_0_arm64.whl", hash = "sha256:5284dcac6b9dbc2fcb71fdfc26a217b2ca4ede6ccd57476f52a587451ebe450d", size = 10155692 },
|
|
221
|
+
{ url = "https://files.pythonhosted.org/packages/5b/01/85e8082e41585e0e1ceb11e41c054e9e36fed45f4b210991052d8a75089f/ruff-0.9.10-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:47678f39fa2a3da62724851107f438c8229a3470f533894b5568a39b40029c0c", size = 10369760 },
|
|
222
|
+
{ url = "https://files.pythonhosted.org/packages/a1/90/0bc60bd4e5db051f12445046d0c85cc2c617095c0904f1aa81067dc64aea/ruff-0.9.10-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:99713a6e2766b7a17147b309e8c915b32b07a25c9efd12ada79f217c9c778b3e", size = 9912196 },
|
|
223
|
+
{ url = "https://files.pythonhosted.org/packages/66/ea/0b7e8c42b1ec608033c4d5a02939c82097ddcb0b3e393e4238584b7054ab/ruff-0.9.10-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:524ee184d92f7c7304aa568e2db20f50c32d1d0caa235d8ddf10497566ea1a12", size = 11434985 },
|
|
224
|
+
{ url = "https://files.pythonhosted.org/packages/d5/86/3171d1eff893db4f91755175a6e1163c5887be1f1e2f4f6c0c59527c2bfd/ruff-0.9.10-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:df92aeac30af821f9acf819fc01b4afc3dfb829d2782884f8739fb52a8119a16", size = 12155842 },
|
|
225
|
+
{ url = "https://files.pythonhosted.org/packages/89/9e/700ca289f172a38eb0bca752056d0a42637fa17b81649b9331786cb791d7/ruff-0.9.10-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:de42e4edc296f520bb84954eb992a07a0ec5a02fecb834498415908469854a52", size = 11613804 },
|
|
226
|
+
{ url = "https://files.pythonhosted.org/packages/f2/92/648020b3b5db180f41a931a68b1c8575cca3e63cec86fd26807422a0dbad/ruff-0.9.10-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:d257f95b65806104b6b1ffca0ea53f4ef98454036df65b1eda3693534813ecd1", size = 13823776 },
|
|
227
|
+
{ url = "https://files.pythonhosted.org/packages/5e/a6/cc472161cd04d30a09d5c90698696b70c169eeba2c41030344194242db45/ruff-0.9.10-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b60dec7201c0b10d6d11be00e8f2dbb6f40ef1828ee75ed739923799513db24c", size = 11302673 },
|
|
228
|
+
{ url = "https://files.pythonhosted.org/packages/6c/db/d31c361c4025b1b9102b4d032c70a69adb9ee6fde093f6c3bf29f831c85c/ruff-0.9.10-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:d838b60007da7a39c046fcdd317293d10b845001f38bcb55ba766c3875b01e43", size = 10235358 },
|
|
229
|
+
{ url = "https://files.pythonhosted.org/packages/d1/86/d6374e24a14d4d93ebe120f45edd82ad7dcf3ef999ffc92b197d81cdc2a5/ruff-0.9.10-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:ccaf903108b899beb8e09a63ffae5869057ab649c1e9231c05ae354ebc62066c", size = 9886177 },
|
|
230
|
+
{ url = "https://files.pythonhosted.org/packages/00/62/a61691f6eaaac1e945a1f3f59f1eea9a218513139d5b6c2b8f88b43b5b8f/ruff-0.9.10-py3-none-musllinux_1_2_i686.whl", hash = "sha256:f9567d135265d46e59d62dc60c0bfad10e9a6822e231f5b24032dba5a55be6b5", size = 10864747 },
|
|
231
|
+
{ url = "https://files.pythonhosted.org/packages/ee/94/2c7065e1d92a8a8a46d46d9c3cf07b0aa7e0a1e0153d74baa5e6620b4102/ruff-0.9.10-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:5f202f0d93738c28a89f8ed9eaba01b7be339e5d8d642c994347eaa81c6d75b8", size = 11360441 },
|
|
232
|
+
{ url = "https://files.pythonhosted.org/packages/a7/8f/1f545ea6f9fcd7bf4368551fb91d2064d8f0577b3079bb3f0ae5779fb773/ruff-0.9.10-py3-none-win32.whl", hash = "sha256:bfb834e87c916521ce46b1788fbb8484966e5113c02df216680102e9eb960029", size = 10247401 },
|
|
233
|
+
{ url = "https://files.pythonhosted.org/packages/4f/18/fb703603ab108e5c165f52f5b86ee2aa9be43bb781703ec87c66a5f5d604/ruff-0.9.10-py3-none-win_amd64.whl", hash = "sha256:f2160eeef3031bf4b17df74e307d4c5fb689a6f3a26a2de3f7ef4044e3c484f1", size = 11366360 },
|
|
234
|
+
{ url = "https://files.pythonhosted.org/packages/35/85/338e603dc68e7d9994d5d84f24adbf69bae760ba5efd3e20f5ff2cec18da/ruff-0.9.10-py3-none-win_arm64.whl", hash = "sha256:5fd804c0327a5e5ea26615550e706942f348b197d5475ff34c19733aee4b2e69", size = 10436892 },
|
|
235
235
|
]
|
|
236
236
|
|
|
237
237
|
[[package]]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|