c2cwsgiutils 6.1.7.dev4__py3-none-any.whl → 6.2.0.dev54__py3-none-any.whl

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.
Files changed (48) hide show
  1. c2cwsgiutils/acceptance/__init__.py +1 -0
  2. c2cwsgiutils/acceptance/connection.py +3 -2
  3. c2cwsgiutils/acceptance/image.py +5 -3
  4. c2cwsgiutils/acceptance/package-lock.json +110 -248
  5. c2cwsgiutils/acceptance/package.json +2 -2
  6. c2cwsgiutils/acceptance/print.py +1 -0
  7. c2cwsgiutils/acceptance/utils.py +2 -1
  8. c2cwsgiutils/auth.py +9 -8
  9. c2cwsgiutils/broadcast/__init__.py +1 -1
  10. c2cwsgiutils/broadcast/local.py +4 -0
  11. c2cwsgiutils/broadcast/redis.py +8 -2
  12. c2cwsgiutils/client_info.py +2 -0
  13. c2cwsgiutils/coverage_setup.py +2 -2
  14. c2cwsgiutils/db.py +11 -2
  15. c2cwsgiutils/db_maintenance_view.py +1 -1
  16. c2cwsgiutils/debug/__init__.py +4 -2
  17. c2cwsgiutils/debug/_views.py +22 -4
  18. c2cwsgiutils/errors.py +7 -2
  19. c2cwsgiutils/health_check.py +39 -29
  20. c2cwsgiutils/index.py +1 -1
  21. c2cwsgiutils/loader.py +1 -1
  22. c2cwsgiutils/logging_view.py +1 -1
  23. c2cwsgiutils/models_graph.py +1 -1
  24. c2cwsgiutils/pretty_json.py +1 -1
  25. c2cwsgiutils/profiler.py +1 -0
  26. c2cwsgiutils/prometheus.py +58 -0
  27. c2cwsgiutils/pyramid.py +1 -0
  28. c2cwsgiutils/pyramid_logging.py +4 -0
  29. c2cwsgiutils/redis_stats.py +1 -1
  30. c2cwsgiutils/redis_utils.py +2 -0
  31. c2cwsgiutils/request_tracking/__init__.py +1 -1
  32. c2cwsgiutils/scripts/genversion.py +4 -2
  33. c2cwsgiutils/scripts/stats_db.py +1 -0
  34. c2cwsgiutils/scripts/test_print.py +4 -1
  35. c2cwsgiutils/sentry.py +1 -1
  36. c2cwsgiutils/setup_process.py +5 -1
  37. c2cwsgiutils/sql_profiler/__init__.py +1 -1
  38. c2cwsgiutils/sql_profiler/_impl.py +1 -1
  39. c2cwsgiutils/sqlalchemylogger/handlers.py +18 -12
  40. c2cwsgiutils/stats_pyramid/__init__.py +2 -1
  41. c2cwsgiutils/stats_pyramid/_pyramid_spy.py +1 -0
  42. c2cwsgiutils/version.py +1 -1
  43. {c2cwsgiutils-6.1.7.dev4.dist-info → c2cwsgiutils-6.2.0.dev54.dist-info}/METADATA +74 -12
  44. c2cwsgiutils-6.2.0.dev54.dist-info/RECORD +67 -0
  45. c2cwsgiutils-6.1.7.dev4.dist-info/RECORD +0 -67
  46. {c2cwsgiutils-6.1.7.dev4.dist-info → c2cwsgiutils-6.2.0.dev54.dist-info}/LICENSE +0 -0
  47. {c2cwsgiutils-6.1.7.dev4.dist-info → c2cwsgiutils-6.2.0.dev54.dist-info}/WHEEL +0 -0
  48. {c2cwsgiutils-6.1.7.dev4.dist-info → c2cwsgiutils-6.2.0.dev54.dist-info}/entry_points.txt +0 -0
@@ -5,17 +5,18 @@
5
5
  "packages": {
6
6
  "": {
7
7
  "dependencies": {
8
- "commander": "12.1.0",
9
- "puppeteer": "23.5.3"
8
+ "commander": "13.0.0",
9
+ "puppeteer": "23.11.1"
10
10
  }
11
11
  },
12
12
  "node_modules/@babel/code-frame": {
13
- "version": "7.25.7",
14
- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.25.7.tgz",
15
- "integrity": "sha512-0xZJFNE5XMpENsgfHYTw8FbX4kv53mFLn2i3XPoq69LyhYSCBJtitaHx9QnsVTrsogI4Z3+HtEfZ2/GFPOtf5g==",
13
+ "version": "7.26.2",
14
+ "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz",
15
+ "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==",
16
16
  "license": "MIT",
17
17
  "dependencies": {
18
- "@babel/highlight": "^7.25.7",
18
+ "@babel/helper-validator-identifier": "^7.25.9",
19
+ "js-tokens": "^4.0.0",
19
20
  "picocolors": "^1.0.0"
20
21
  },
21
22
  "engines": {
@@ -23,39 +24,24 @@
23
24
  }
24
25
  },
25
26
  "node_modules/@babel/helper-validator-identifier": {
26
- "version": "7.25.7",
27
- "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.7.tgz",
28
- "integrity": "sha512-AM6TzwYqGChO45oiuPqwL2t20/HdMC1rTPAesnBCgPCSF1x3oN9MVUwQV2iyz4xqWrctwK5RNC8LV22kaQCNYg==",
27
+ "version": "7.25.9",
28
+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz",
29
+ "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==",
29
30
  "license": "MIT",
30
31
  "engines": {
31
32
  "node": ">=6.9.0"
32
33
  }
33
34
  },
34
- "node_modules/@babel/highlight": {
35
- "version": "7.25.7",
36
- "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.25.7.tgz",
37
- "integrity": "sha512-iYyACpW3iW8Fw+ZybQK+drQre+ns/tKpXbNESfrhNnPLIklLbXr7MYJ6gPEd0iETGLOK+SxMjVvKb/ffmk+FEw==",
38
- "license": "MIT",
39
- "dependencies": {
40
- "@babel/helper-validator-identifier": "^7.25.7",
41
- "chalk": "^2.4.2",
42
- "js-tokens": "^4.0.0",
43
- "picocolors": "^1.0.0"
44
- },
45
- "engines": {
46
- "node": ">=6.9.0"
47
- }
48
- },
49
35
  "node_modules/@puppeteer/browsers": {
50
- "version": "2.4.0",
51
- "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.4.0.tgz",
52
- "integrity": "sha512-x8J1csfIygOwf6D6qUAZ0ASk3z63zPb7wkNeHRerCMh82qWKUrOgkuP005AJC8lDL6/evtXETGEJVcwykKT4/g==",
36
+ "version": "2.6.1",
37
+ "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-2.6.1.tgz",
38
+ "integrity": "sha512-aBSREisdsGH890S2rQqK82qmQYU3uFpSH8wcZWHgHzl3LfzsxAKbLNiAG9mO8v1Y0UICBeClICxPJvyr0rcuxg==",
53
39
  "license": "Apache-2.0",
54
40
  "dependencies": {
55
- "debug": "^4.3.6",
41
+ "debug": "^4.4.0",
56
42
  "extract-zip": "^2.0.1",
57
43
  "progress": "^2.0.3",
58
- "proxy-agent": "^6.4.0",
44
+ "proxy-agent": "^6.5.0",
59
45
  "semver": "^7.6.3",
60
46
  "tar-fs": "^3.0.6",
61
47
  "unbzip2-stream": "^1.4.3",
@@ -75,13 +61,13 @@
75
61
  "license": "MIT"
76
62
  },
77
63
  "node_modules/@types/node": {
78
- "version": "22.7.5",
79
- "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz",
80
- "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==",
64
+ "version": "22.10.3",
65
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.3.tgz",
66
+ "integrity": "sha512-DifAyw4BkrufCILvD3ucnuN8eydUfc/C1GlyrnI+LK6543w5/L3VeVgf05o3B4fqSXP1dKYLOZsKfutpxPzZrw==",
81
67
  "license": "MIT",
82
68
  "optional": true,
83
69
  "dependencies": {
84
- "undici-types": "~6.19.2"
70
+ "undici-types": "~6.20.0"
85
71
  }
86
72
  },
87
73
  "node_modules/@types/yauzl": {
@@ -95,13 +81,10 @@
95
81
  }
96
82
  },
97
83
  "node_modules/agent-base": {
98
- "version": "7.1.1",
99
- "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.1.tgz",
100
- "integrity": "sha512-H0TSyFNDMomMNJQBn8wFV5YC/2eJ+VXECwOadZJT554xP6cODZHPX3H9QMQECxvrgiSOP1pHjy1sMWQVYJOUOA==",
84
+ "version": "7.1.3",
85
+ "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-7.1.3.tgz",
86
+ "integrity": "sha512-jRR5wdylq8CkOe6hei19GGZnxM6rBGwFl3Bg0YItGDimvjGtAvdZk4Pu6Cl4u4Igsws4a1fd1Vq3ezrhn4KmFw==",
101
87
  "license": "MIT",
102
- "dependencies": {
103
- "debug": "^4.3.4"
104
- },
105
88
  "engines": {
106
89
  "node": ">= 14"
107
90
  }
@@ -116,15 +99,18 @@
116
99
  }
117
100
  },
118
101
  "node_modules/ansi-styles": {
119
- "version": "3.2.1",
120
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",
121
- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
102
+ "version": "4.3.0",
103
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
104
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
122
105
  "license": "MIT",
123
106
  "dependencies": {
124
- "color-convert": "^1.9.0"
107
+ "color-convert": "^2.0.1"
125
108
  },
126
109
  "engines": {
127
- "node": ">=4"
110
+ "node": ">=8"
111
+ },
112
+ "funding": {
113
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
128
114
  }
129
115
  },
130
116
  "node_modules/argparse": {
@@ -188,14 +174,13 @@
188
174
  }
189
175
  },
190
176
  "node_modules/bare-stream": {
191
- "version": "2.3.0",
192
- "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.3.0.tgz",
193
- "integrity": "sha512-pVRWciewGUeCyKEuRxwv06M079r+fRjAQjBEK2P6OYGrO43O+Z0LrPZZEjlc4mB6C2RpZ9AxJ1s7NLEtOHO6eA==",
177
+ "version": "2.6.1",
178
+ "resolved": "https://registry.npmjs.org/bare-stream/-/bare-stream-2.6.1.tgz",
179
+ "integrity": "sha512-eVZbtKM+4uehzrsj49KtCy3Pbg7kO1pJ3SKZ1SFrIH/0pnj9scuGGgUlNDf/7qS8WKtGdiJY5Kyhs/ivYPTB/g==",
194
180
  "license": "Apache-2.0",
195
181
  "optional": true,
196
182
  "dependencies": {
197
- "b4a": "^1.6.6",
198
- "streamx": "^2.20.0"
183
+ "streamx": "^2.21.0"
199
184
  }
200
185
  },
201
186
  "node_modules/base64-js": {
@@ -269,28 +254,13 @@
269
254
  "node": ">=6"
270
255
  }
271
256
  },
272
- "node_modules/chalk": {
273
- "version": "2.4.2",
274
- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",
275
- "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
276
- "license": "MIT",
277
- "dependencies": {
278
- "ansi-styles": "^3.2.1",
279
- "escape-string-regexp": "^1.0.5",
280
- "supports-color": "^5.3.0"
281
- },
282
- "engines": {
283
- "node": ">=4"
284
- }
285
- },
286
257
  "node_modules/chromium-bidi": {
287
- "version": "0.8.0",
288
- "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.8.0.tgz",
289
- "integrity": "sha512-uJydbGdTw0DEUjhoogGveneJVWX/9YuqkWePzMmkBYwtdAqo5d3J/ovNKFr+/2hWXYmYCr6it8mSSTIj6SS6Ug==",
258
+ "version": "0.11.0",
259
+ "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.11.0.tgz",
260
+ "integrity": "sha512-6CJWHkNRoyZyjV9Rwv2lYONZf1Xm0IuDyNq97nwSsxxP3wf5Bwy15K5rOvVKMtJ127jJBmxFUanSAOjgFRxgrA==",
290
261
  "license": "Apache-2.0",
291
262
  "dependencies": {
292
263
  "mitt": "3.0.1",
293
- "urlpattern-polyfill": "10.0.0",
294
264
  "zod": "3.23.8"
295
265
  },
296
266
  "peerDependencies": {
@@ -312,24 +282,27 @@
312
282
  }
313
283
  },
314
284
  "node_modules/color-convert": {
315
- "version": "1.9.3",
316
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz",
317
- "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
285
+ "version": "2.0.1",
286
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
287
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
318
288
  "license": "MIT",
319
289
  "dependencies": {
320
- "color-name": "1.1.3"
290
+ "color-name": "~1.1.4"
291
+ },
292
+ "engines": {
293
+ "node": ">=7.0.0"
321
294
  }
322
295
  },
323
296
  "node_modules/color-name": {
324
- "version": "1.1.3",
325
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz",
326
- "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==",
297
+ "version": "1.1.4",
298
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
299
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
327
300
  "license": "MIT"
328
301
  },
329
302
  "node_modules/commander": {
330
- "version": "12.1.0",
331
- "resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz",
332
- "integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==",
303
+ "version": "13.0.0",
304
+ "resolved": "https://registry.npmjs.org/commander/-/commander-13.0.0.tgz",
305
+ "integrity": "sha512-oPYleIY8wmTVzkvQq10AEok6YcTC4sRUBl8F9gVuwchGVUCTbl/vhLTaQqutuuySYOsu8YTgV+OxKc/8Yvx+mQ==",
333
306
  "license": "MIT",
334
307
  "engines": {
335
308
  "node": ">=18"
@@ -371,9 +344,9 @@
371
344
  }
372
345
  },
373
346
  "node_modules/debug": {
374
- "version": "4.3.7",
375
- "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz",
376
- "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==",
347
+ "version": "4.4.0",
348
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz",
349
+ "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==",
377
350
  "license": "MIT",
378
351
  "dependencies": {
379
352
  "ms": "^2.1.3"
@@ -402,9 +375,9 @@
402
375
  }
403
376
  },
404
377
  "node_modules/devtools-protocol": {
405
- "version": "0.0.1342118",
406
- "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1342118.tgz",
407
- "integrity": "sha512-75fMas7PkYNDTmDyb6PRJCH7ILmHLp+BhrZGeMsa4bCh40DTxgCz2NRy5UDzII4C5KuD0oBMZ9vXKhEl6UD/3w==",
378
+ "version": "0.0.1367902",
379
+ "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1367902.tgz",
380
+ "integrity": "sha512-XxtPuC3PGakY6PD7dG66/o8KwJ/LkH2/EKe19Dcw58w53dv4/vSQEkn/SzuyhHE2q4zPgCkxQBxus3VV4ql+Pg==",
408
381
  "license": "BSD-3-Clause"
409
382
  },
410
383
  "node_modules/emoji-regex": {
@@ -449,15 +422,6 @@
449
422
  "node": ">=6"
450
423
  }
451
424
  },
452
- "node_modules/escape-string-regexp": {
453
- "version": "1.0.5",
454
- "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
455
- "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==",
456
- "license": "MIT",
457
- "engines": {
458
- "node": ">=0.8.0"
459
- }
460
- },
461
425
  "node_modules/escodegen": {
462
426
  "version": "2.1.0",
463
427
  "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz",
@@ -545,20 +509,6 @@
545
509
  "pend": "~1.2.0"
546
510
  }
547
511
  },
548
- "node_modules/fs-extra": {
549
- "version": "11.2.0",
550
- "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz",
551
- "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==",
552
- "license": "MIT",
553
- "dependencies": {
554
- "graceful-fs": "^4.2.0",
555
- "jsonfile": "^6.0.1",
556
- "universalify": "^2.0.0"
557
- },
558
- "engines": {
559
- "node": ">=14.14"
560
- }
561
- },
562
512
  "node_modules/get-caller-file": {
563
513
  "version": "2.0.5",
564
514
  "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
@@ -584,35 +534,19 @@
584
534
  }
585
535
  },
586
536
  "node_modules/get-uri": {
587
- "version": "6.0.3",
588
- "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.3.tgz",
589
- "integrity": "sha512-BzUrJBS9EcUb4cFol8r4W3v1cPsSyajLSthNkz5BxbpDcHN5tIrM10E2eNvfnvBn3DaT3DUgx0OpsBKkaOpanw==",
537
+ "version": "6.0.4",
538
+ "resolved": "https://registry.npmjs.org/get-uri/-/get-uri-6.0.4.tgz",
539
+ "integrity": "sha512-E1b1lFFLvLgak2whF2xDBcOy6NLVGZBqqjJjsIhvopKfWWEi64pLVTWWehV8KlLerZkfNTA95sTe2OdJKm1OzQ==",
590
540
  "license": "MIT",
591
541
  "dependencies": {
592
542
  "basic-ftp": "^5.0.2",
593
543
  "data-uri-to-buffer": "^6.0.2",
594
- "debug": "^4.3.4",
595
- "fs-extra": "^11.2.0"
544
+ "debug": "^4.3.4"
596
545
  },
597
546
  "engines": {
598
547
  "node": ">= 14"
599
548
  }
600
549
  },
601
- "node_modules/graceful-fs": {
602
- "version": "4.2.11",
603
- "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
604
- "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
605
- "license": "ISC"
606
- },
607
- "node_modules/has-flag": {
608
- "version": "3.0.0",
609
- "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz",
610
- "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==",
611
- "license": "MIT",
612
- "engines": {
613
- "node": ">=4"
614
- }
615
- },
616
550
  "node_modules/http-proxy-agent": {
617
551
  "version": "7.0.2",
618
552
  "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.2.tgz",
@@ -627,12 +561,12 @@
627
561
  }
628
562
  },
629
563
  "node_modules/https-proxy-agent": {
630
- "version": "7.0.5",
631
- "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.5.tgz",
632
- "integrity": "sha512-1e4Wqeblerz+tMKPIq2EMGiiWW1dIjZOksyHWSUm1rmuvw/how9hBHZ38lAGj5ID4Ik6EdkOw7NmWPy6LAwalw==",
564
+ "version": "7.0.6",
565
+ "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-7.0.6.tgz",
566
+ "integrity": "sha512-vK9P5/iUfdl95AI+JVyUuIcVtd4ofvtrOr3HNtM2yxC9bnMbEdp3x01OhQNnjb8IJYi38VlTE3mBXwcfvywuSw==",
633
567
  "license": "MIT",
634
568
  "dependencies": {
635
- "agent-base": "^7.0.2",
569
+ "agent-base": "^7.1.2",
636
570
  "debug": "4"
637
571
  },
638
572
  "engines": {
@@ -733,18 +667,6 @@
733
667
  "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
734
668
  "license": "MIT"
735
669
  },
736
- "node_modules/jsonfile": {
737
- "version": "6.1.0",
738
- "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
739
- "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
740
- "license": "MIT",
741
- "dependencies": {
742
- "universalify": "^2.0.0"
743
- },
744
- "optionalDependencies": {
745
- "graceful-fs": "^4.1.6"
746
- }
747
- },
748
670
  "node_modules/lines-and-columns": {
749
671
  "version": "1.2.4",
750
672
  "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz",
@@ -791,19 +713,19 @@
791
713
  }
792
714
  },
793
715
  "node_modules/pac-proxy-agent": {
794
- "version": "7.0.2",
795
- "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.0.2.tgz",
796
- "integrity": "sha512-BFi3vZnO9X5Qt6NRz7ZOaPja3ic0PhlsmCRYLOpN11+mWBCR6XJDqW5RF3j8jm4WGGQZtBA+bTfxYzeKW73eHg==",
716
+ "version": "7.1.0",
717
+ "resolved": "https://registry.npmjs.org/pac-proxy-agent/-/pac-proxy-agent-7.1.0.tgz",
718
+ "integrity": "sha512-Z5FnLVVZSnX7WjBg0mhDtydeRZ1xMcATZThjySQUHqr+0ksP8kqaw23fNKkaaN/Z8gwLUs/W7xdl0I75eP2Xyw==",
797
719
  "license": "MIT",
798
720
  "dependencies": {
799
721
  "@tootallnate/quickjs-emscripten": "^0.23.0",
800
- "agent-base": "^7.0.2",
722
+ "agent-base": "^7.1.2",
801
723
  "debug": "^4.3.4",
802
724
  "get-uri": "^6.0.1",
803
725
  "http-proxy-agent": "^7.0.0",
804
- "https-proxy-agent": "^7.0.5",
726
+ "https-proxy-agent": "^7.0.6",
805
727
  "pac-resolver": "^7.0.1",
806
- "socks-proxy-agent": "^8.0.4"
728
+ "socks-proxy-agent": "^8.0.5"
807
729
  },
808
730
  "engines": {
809
731
  "node": ">= 14"
@@ -859,9 +781,9 @@
859
781
  "license": "MIT"
860
782
  },
861
783
  "node_modules/picocolors": {
862
- "version": "1.1.0",
863
- "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz",
864
- "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==",
784
+ "version": "1.1.1",
785
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
786
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",
865
787
  "license": "ISC"
866
788
  },
867
789
  "node_modules/progress": {
@@ -874,19 +796,19 @@
874
796
  }
875
797
  },
876
798
  "node_modules/proxy-agent": {
877
- "version": "6.4.0",
878
- "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.4.0.tgz",
879
- "integrity": "sha512-u0piLU+nCOHMgGjRbimiXmA9kM/L9EHh3zL81xCdp7m+Y2pHIsnmbdDoEDoAz5geaonNR6q6+yOPQs6n4T6sBQ==",
799
+ "version": "6.5.0",
800
+ "resolved": "https://registry.npmjs.org/proxy-agent/-/proxy-agent-6.5.0.tgz",
801
+ "integrity": "sha512-TmatMXdr2KlRiA2CyDu8GqR8EjahTG3aY3nXjdzFyoZbmB8hrBsTyMezhULIXKnC0jpfjlmiZ3+EaCzoInSu/A==",
880
802
  "license": "MIT",
881
803
  "dependencies": {
882
- "agent-base": "^7.0.2",
804
+ "agent-base": "^7.1.2",
883
805
  "debug": "^4.3.4",
884
806
  "http-proxy-agent": "^7.0.1",
885
- "https-proxy-agent": "^7.0.3",
807
+ "https-proxy-agent": "^7.0.6",
886
808
  "lru-cache": "^7.14.1",
887
- "pac-proxy-agent": "^7.0.1",
809
+ "pac-proxy-agent": "^7.1.0",
888
810
  "proxy-from-env": "^1.1.0",
889
- "socks-proxy-agent": "^8.0.2"
811
+ "socks-proxy-agent": "^8.0.5"
890
812
  },
891
813
  "engines": {
892
814
  "node": ">= 14"
@@ -909,17 +831,17 @@
909
831
  }
910
832
  },
911
833
  "node_modules/puppeteer": {
912
- "version": "23.5.3",
913
- "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-23.5.3.tgz",
914
- "integrity": "sha512-FghmfBsr/UUpe48OiCg1gV3W4vVfQJKjQehbF07SjnQvEpWcvPTah1nykfGWdOQQ1ydJPIXcajzWN7fliCU3zw==",
834
+ "version": "23.11.1",
835
+ "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-23.11.1.tgz",
836
+ "integrity": "sha512-53uIX3KR5en8l7Vd8n5DUv90Ae9QDQsyIthaUFVzwV6yU750RjqRznEtNMBT20VthqAdemnJN+hxVdmMHKt7Zw==",
915
837
  "hasInstallScript": true,
916
838
  "license": "Apache-2.0",
917
839
  "dependencies": {
918
- "@puppeteer/browsers": "2.4.0",
919
- "chromium-bidi": "0.8.0",
840
+ "@puppeteer/browsers": "2.6.1",
841
+ "chromium-bidi": "0.11.0",
920
842
  "cosmiconfig": "^9.0.0",
921
- "devtools-protocol": "0.0.1342118",
922
- "puppeteer-core": "23.5.3",
843
+ "devtools-protocol": "0.0.1367902",
844
+ "puppeteer-core": "23.11.1",
923
845
  "typed-query-selector": "^2.12.0"
924
846
  },
925
847
  "bin": {
@@ -930,15 +852,15 @@
930
852
  }
931
853
  },
932
854
  "node_modules/puppeteer-core": {
933
- "version": "23.5.3",
934
- "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-23.5.3.tgz",
935
- "integrity": "sha512-V58MZD/B3CwkYsqSEQlHKbavMJptF04fzhMdUpiCRCmUVhwZNwSGEPhaiZ1f8I3ABQUirg3VNhXVB6Z1ubHXtQ==",
855
+ "version": "23.11.1",
856
+ "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-23.11.1.tgz",
857
+ "integrity": "sha512-3HZ2/7hdDKZvZQ7dhhITOUg4/wOrDRjyK2ZBllRB0ZCOi9u0cwq1ACHDjBB+nX+7+kltHjQvBRdeY7+W0T+7Gg==",
936
858
  "license": "Apache-2.0",
937
859
  "dependencies": {
938
- "@puppeteer/browsers": "2.4.0",
939
- "chromium-bidi": "0.8.0",
940
- "debug": "^4.3.7",
941
- "devtools-protocol": "0.0.1342118",
860
+ "@puppeteer/browsers": "2.6.1",
861
+ "chromium-bidi": "0.11.0",
862
+ "debug": "^4.4.0",
863
+ "devtools-protocol": "0.0.1367902",
942
864
  "typed-query-selector": "^2.12.0",
943
865
  "ws": "^8.18.0"
944
866
  },
@@ -1007,12 +929,12 @@
1007
929
  }
1008
930
  },
1009
931
  "node_modules/socks-proxy-agent": {
1010
- "version": "8.0.4",
1011
- "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.4.tgz",
1012
- "integrity": "sha512-GNAq/eg8Udq2x0eNiFkr9gRg5bA7PXEWagQdeRX4cPSG+X/8V38v637gim9bjFptMk1QWsCTr0ttrJEiXbNnRw==",
932
+ "version": "8.0.5",
933
+ "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-8.0.5.tgz",
934
+ "integrity": "sha512-HehCEsotFqbPW9sJ8WVYB6UbmIMv7kUUORIF2Nncq4VQvBfNBLibW9YZR5dlYCSUhwcD628pRllm7n+E+YTzJw==",
1013
935
  "license": "MIT",
1014
936
  "dependencies": {
1015
- "agent-base": "^7.1.1",
937
+ "agent-base": "^7.1.2",
1016
938
  "debug": "^4.3.4",
1017
939
  "socks": "^2.8.3"
1018
940
  },
@@ -1037,9 +959,9 @@
1037
959
  "license": "BSD-3-Clause"
1038
960
  },
1039
961
  "node_modules/streamx": {
1040
- "version": "2.20.1",
1041
- "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.20.1.tgz",
1042
- "integrity": "sha512-uTa0mU6WUC65iUvzKH4X9hEdvSW7rbPxPtwfWiLMSj3qTdQbAiUboZTxauKfpFuGIGa1C2BYijZ7wgdUXICJhA==",
962
+ "version": "2.21.1",
963
+ "resolved": "https://registry.npmjs.org/streamx/-/streamx-2.21.1.tgz",
964
+ "integrity": "sha512-PhP9wUnFLa+91CPy3N6tiQsK+gnYyUNuk15S3YG/zjYE7RuPeCjJngqnzpC31ow0lzBHQ+QGO4cNJnd0djYUsw==",
1043
965
  "license": "MIT",
1044
966
  "dependencies": {
1045
967
  "fast-fifo": "^1.3.2",
@@ -1076,18 +998,6 @@
1076
998
  "node": ">=8"
1077
999
  }
1078
1000
  },
1079
- "node_modules/supports-color": {
1080
- "version": "5.5.0",
1081
- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",
1082
- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
1083
- "license": "MIT",
1084
- "dependencies": {
1085
- "has-flag": "^3.0.0"
1086
- },
1087
- "engines": {
1088
- "node": ">=4"
1089
- }
1090
- },
1091
1001
  "node_modules/tar-fs": {
1092
1002
  "version": "3.0.6",
1093
1003
  "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-3.0.6.tgz",
@@ -1114,9 +1024,9 @@
1114
1024
  }
1115
1025
  },
1116
1026
  "node_modules/text-decoder": {
1117
- "version": "1.2.0",
1118
- "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.0.tgz",
1119
- "integrity": "sha512-n1yg1mOj9DNpk3NeZOx7T6jchTbyJS3i3cucbNN6FcdPriMZx7NsgrGpWWdWZZGxD7ES1XB+3uoqHMgOKaN+fg==",
1027
+ "version": "1.2.3",
1028
+ "resolved": "https://registry.npmjs.org/text-decoder/-/text-decoder-1.2.3.tgz",
1029
+ "integrity": "sha512-3/o9z3X0X0fTupwsYvR03pJ/DjWuqqrfwBgTQzdWDiQSm9KitAyz/9WqsT2JQW7KV2m+bC2ol/zqpW37NHxLaA==",
1120
1030
  "license": "Apache-2.0",
1121
1031
  "dependencies": {
1122
1032
  "b4a": "^1.6.4"
@@ -1129,9 +1039,9 @@
1129
1039
  "license": "MIT"
1130
1040
  },
1131
1041
  "node_modules/tslib": {
1132
- "version": "2.7.0",
1133
- "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz",
1134
- "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==",
1042
+ "version": "2.8.1",
1043
+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",
1044
+ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
1135
1045
  "license": "0BSD"
1136
1046
  },
1137
1047
  "node_modules/typed-query-selector": {
@@ -1151,27 +1061,12 @@
1151
1061
  }
1152
1062
  },
1153
1063
  "node_modules/undici-types": {
1154
- "version": "6.19.8",
1155
- "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
1156
- "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
1064
+ "version": "6.20.0",
1065
+ "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz",
1066
+ "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==",
1157
1067
  "license": "MIT",
1158
1068
  "optional": true
1159
1069
  },
1160
- "node_modules/universalify": {
1161
- "version": "2.0.1",
1162
- "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
1163
- "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
1164
- "license": "MIT",
1165
- "engines": {
1166
- "node": ">= 10.0.0"
1167
- }
1168
- },
1169
- "node_modules/urlpattern-polyfill": {
1170
- "version": "10.0.0",
1171
- "resolved": "https://registry.npmjs.org/urlpattern-polyfill/-/urlpattern-polyfill-10.0.0.tgz",
1172
- "integrity": "sha512-H/A06tKD7sS1O1X2SshBVeA5FLycRpjqiBeqGKmBwBDBy28EnRjORxTNe269KSSr5un5qyWi1iL61wLxpd+ZOg==",
1173
- "license": "MIT"
1174
- },
1175
1070
  "node_modules/wrap-ansi": {
1176
1071
  "version": "7.0.0",
1177
1072
  "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
@@ -1189,39 +1084,6 @@
1189
1084
  "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
1190
1085
  }
1191
1086
  },
1192
- "node_modules/wrap-ansi/node_modules/ansi-styles": {
1193
- "version": "4.3.0",
1194
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
1195
- "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
1196
- "license": "MIT",
1197
- "dependencies": {
1198
- "color-convert": "^2.0.1"
1199
- },
1200
- "engines": {
1201
- "node": ">=8"
1202
- },
1203
- "funding": {
1204
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
1205
- }
1206
- },
1207
- "node_modules/wrap-ansi/node_modules/color-convert": {
1208
- "version": "2.0.1",
1209
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
1210
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
1211
- "license": "MIT",
1212
- "dependencies": {
1213
- "color-name": "~1.1.4"
1214
- },
1215
- "engines": {
1216
- "node": ">=7.0.0"
1217
- }
1218
- },
1219
- "node_modules/wrap-ansi/node_modules/color-name": {
1220
- "version": "1.1.4",
1221
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
1222
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
1223
- "license": "MIT"
1224
- },
1225
1087
  "node_modules/wrappy": {
1226
1088
  "version": "1.0.2",
1227
1089
  "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "dependencies": {
3
- "commander": "12.1.0",
4
- "puppeteer": "23.5.3"
3
+ "commander": "13.0.0",
4
+ "puppeteer": "23.11.1"
5
5
  },
6
6
  "type": "module"
7
7
  }
@@ -21,6 +21,7 @@ class PrintConnection(connection.Connection):
21
21
  base_url: The base URL to the print server (including the /print)
22
22
  app: The name of the application to use
23
23
  origin: The origin and referrer to include in the requests
24
+
24
25
  """
25
26
  super().__init__(base_url=base_url, origin=origin)
26
27
  self.session.headers["Referrer"] = origin
@@ -32,6 +32,7 @@ def retry_timeout(what: Callable[[], Any], timeout: float = _DEFAULT_TIMEOUT, in
32
32
  what: the function to try
33
33
  timeout: the timeout to get a success
34
34
  interval: the interval between try
35
+
35
36
  """
36
37
  timeout = time.perf_counter() + timeout
37
38
  while True:
@@ -46,7 +47,7 @@ def retry_timeout(what: Callable[[], Any], timeout: float = _DEFAULT_TIMEOUT, in
46
47
  error = str(e)
47
48
  _LOG.info(" Failed: %s", e)
48
49
  if time.perf_counter() > timeout:
49
- assert False, "Timeout: " + error
50
+ raise AssertionError("Timeout: " + error)
50
51
  time.sleep(interval)
51
52
 
52
53