fluidattacks_utils_logger 3.0.7__tar.gz → 4.0.0__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.
- {fluidattacks_utils_logger-3.0.7 → fluidattacks_utils_logger-4.0.0}/PKG-INFO +3 -3
- {fluidattacks_utils_logger-3.0.7 → fluidattacks_utils_logger-4.0.0}/build/default.nix +4 -0
- {fluidattacks_utils_logger-3.0.7 → fluidattacks_utils_logger-4.0.0}/flake.lock +33 -29
- {fluidattacks_utils_logger-3.0.7 → fluidattacks_utils_logger-4.0.0}/flake.nix +3 -1
- {fluidattacks_utils_logger-3.0.7 → fluidattacks_utils_logger-4.0.0}/fluidattacks_utils_logger/__init__.py +1 -1
- {fluidattacks_utils_logger-3.0.7 → fluidattacks_utils_logger-4.0.0}/pyproject.toml +3 -3
- {fluidattacks_utils_logger-3.0.7 → fluidattacks_utils_logger-4.0.0}/ruff.toml +1 -1
- {fluidattacks_utils_logger-3.0.7 → fluidattacks_utils_logger-4.0.0}/tests/arch/arch.py +1 -7
- fluidattacks_utils_logger-4.0.0/uv.lock +404 -0
- fluidattacks_utils_logger-3.0.7/uv.lock +0 -681
- {fluidattacks_utils_logger-3.0.7 → fluidattacks_utils_logger-4.0.0}/.envrc +0 -0
- {fluidattacks_utils_logger-3.0.7 → fluidattacks_utils_logger-4.0.0}/build/filter.nix +0 -0
- {fluidattacks_utils_logger-3.0.7 → fluidattacks_utils_logger-4.0.0}/fluidattacks_utils_logger/env.py +0 -0
- {fluidattacks_utils_logger-3.0.7 → fluidattacks_utils_logger-4.0.0}/fluidattacks_utils_logger/handlers.py +0 -0
- {fluidattacks_utils_logger-3.0.7 → fluidattacks_utils_logger-4.0.0}/fluidattacks_utils_logger/levels.py +0 -0
- {fluidattacks_utils_logger-3.0.7 → fluidattacks_utils_logger-4.0.0}/fluidattacks_utils_logger/logger.py +0 -0
- {fluidattacks_utils_logger-3.0.7 → fluidattacks_utils_logger-4.0.0}/fluidattacks_utils_logger/py.typed +0 -0
- {fluidattacks_utils_logger-3.0.7 → fluidattacks_utils_logger-4.0.0}/mypy.ini +0 -0
- {fluidattacks_utils_logger-3.0.7 → fluidattacks_utils_logger-4.0.0}/tests/__init__.py +0 -0
- {fluidattacks_utils_logger-3.0.7 → fluidattacks_utils_logger-4.0.0}/tests/arch/__init__.py +0 -0
- {fluidattacks_utils_logger-3.0.7 → fluidattacks_utils_logger-4.0.0}/tests/arch/test_arch.py +0 -0
- {fluidattacks_utils_logger-3.0.7 → fluidattacks_utils_logger-4.0.0}/tests/py.typed +0 -0
- {fluidattacks_utils_logger-3.0.7 → fluidattacks_utils_logger-4.0.0}/tests/test_logger.py +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: fluidattacks_utils_logger
|
|
3
|
-
Version:
|
|
3
|
+
Version: 4.0.0
|
|
4
4
|
Summary: Common logger handlers
|
|
5
5
|
Author-email: Product Team <development@fluidattacks.com>
|
|
6
|
-
Requires-Python: >=3.
|
|
6
|
+
Requires-Python: >=3.13.14, <3.14
|
|
7
7
|
Classifier: License :: OSI Approved :: MIT License
|
|
8
|
-
Requires-Dist: fluidattacks-core >=12.0.0, <13.0.0
|
|
8
|
+
Requires-Dist: fluidattacks-core-logging >=12.0.0, <13.0.0
|
|
9
9
|
Requires-Dist: fa-purity >=2.5.2, <3.0.0
|
|
10
10
|
Requires-Dist: python-json-logger >=3.3.0, <5.0.0
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
"nixpkgs-lib": "nixpkgs-lib"
|
|
6
6
|
},
|
|
7
7
|
"locked": {
|
|
8
|
-
"lastModified":
|
|
9
|
-
"narHash": "sha256-
|
|
8
|
+
"lastModified": 1768135262,
|
|
9
|
+
"narHash": "sha256-PVvu7OqHBGWN16zSi6tEmPwwHQ4rLPU9Plvs8/1TUBY=",
|
|
10
10
|
"owner": "hercules-ci",
|
|
11
11
|
"repo": "flake-parts",
|
|
12
|
-
"rev": "
|
|
12
|
+
"rev": "80daad04eddbbf5a4d883996a73f3f542fa437ac",
|
|
13
13
|
"type": "github"
|
|
14
14
|
},
|
|
15
15
|
"original": {
|
|
@@ -35,27 +35,27 @@
|
|
|
35
35
|
},
|
|
36
36
|
"nixpkgs": {
|
|
37
37
|
"locked": {
|
|
38
|
-
"lastModified":
|
|
39
|
-
"narHash": "sha256-
|
|
38
|
+
"lastModified": 1785133411,
|
|
39
|
+
"narHash": "sha256-Yjv0WEg39KRYS0rBdTbu6Fc/or/ihAKk13W9sQ6VWd0=",
|
|
40
40
|
"owner": "nixos",
|
|
41
41
|
"repo": "nixpkgs",
|
|
42
|
-
"rev": "
|
|
42
|
+
"rev": "2f5a153c270b70cb0f8c11f46d96d6d3bc39f4e3",
|
|
43
43
|
"type": "github"
|
|
44
44
|
},
|
|
45
45
|
"original": {
|
|
46
46
|
"owner": "nixos",
|
|
47
|
-
"ref": "nixos-unstable",
|
|
48
47
|
"repo": "nixpkgs",
|
|
48
|
+
"rev": "2f5a153c270b70cb0f8c11f46d96d6d3bc39f4e3",
|
|
49
49
|
"type": "github"
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
"nixpkgs-lib": {
|
|
53
53
|
"locked": {
|
|
54
|
-
"lastModified":
|
|
55
|
-
"narHash": "sha256-
|
|
54
|
+
"lastModified": 1765674936,
|
|
55
|
+
"narHash": "sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo=",
|
|
56
56
|
"owner": "nix-community",
|
|
57
57
|
"repo": "nixpkgs.lib",
|
|
58
|
-
"rev": "
|
|
58
|
+
"rev": "2075416fcb47225d9b68ac469a5c4801a9c4dd85",
|
|
59
59
|
"type": "github"
|
|
60
60
|
},
|
|
61
61
|
"original": {
|
|
@@ -82,11 +82,11 @@
|
|
|
82
82
|
},
|
|
83
83
|
"nixpkgs_3": {
|
|
84
84
|
"locked": {
|
|
85
|
-
"lastModified":
|
|
86
|
-
"narHash": "sha256-
|
|
85
|
+
"lastModified": 1758690382,
|
|
86
|
+
"narHash": "sha256-NY3kSorgqE5LMm1LqNwGne3ZLMF2/ILgLpFr1fS4X3o=",
|
|
87
87
|
"owner": "nixos",
|
|
88
88
|
"repo": "nixpkgs",
|
|
89
|
-
"rev": "
|
|
89
|
+
"rev": "e643668fd71b949c53f8626614b21ff71a07379d",
|
|
90
90
|
"type": "github"
|
|
91
91
|
},
|
|
92
92
|
"original": {
|
|
@@ -96,24 +96,25 @@
|
|
|
96
96
|
"type": "github"
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
|
-
"
|
|
99
|
+
"nixpkgs_4": {
|
|
100
100
|
"locked": {
|
|
101
|
-
"lastModified":
|
|
102
|
-
"narHash": "sha256-
|
|
101
|
+
"lastModified": 1761373498,
|
|
102
|
+
"narHash": "sha256-Q/uhWNvd7V7k1H1ZPMy/vkx3F8C13ZcdrKjO7Jv7v0c=",
|
|
103
103
|
"owner": "nixos",
|
|
104
104
|
"repo": "nixpkgs",
|
|
105
|
-
"rev": "
|
|
105
|
+
"rev": "6a08e6bb4e46ff7fcbb53d409b253f6bad8a28ce",
|
|
106
106
|
"type": "github"
|
|
107
107
|
},
|
|
108
108
|
"original": {
|
|
109
109
|
"owner": "nixos",
|
|
110
|
+
"ref": "nixos-unstable",
|
|
110
111
|
"repo": "nixpkgs",
|
|
111
112
|
"type": "github"
|
|
112
113
|
}
|
|
113
114
|
},
|
|
114
115
|
"pyproject-build-systems": {
|
|
115
116
|
"inputs": {
|
|
116
|
-
"nixpkgs": "
|
|
117
|
+
"nixpkgs": "nixpkgs_2",
|
|
117
118
|
"pyproject-nix": "pyproject-nix",
|
|
118
119
|
"uv2nix": "uv2nix"
|
|
119
120
|
},
|
|
@@ -155,7 +156,7 @@
|
|
|
155
156
|
},
|
|
156
157
|
"pyproject-nix_2": {
|
|
157
158
|
"inputs": {
|
|
158
|
-
"nixpkgs": "
|
|
159
|
+
"nixpkgs": "nixpkgs_3"
|
|
159
160
|
},
|
|
160
161
|
"locked": {
|
|
161
162
|
"lastModified": 1762427963,
|
|
@@ -196,7 +197,9 @@
|
|
|
196
197
|
"python_builder": {
|
|
197
198
|
"inputs": {
|
|
198
199
|
"nix_filter": "nix_filter",
|
|
199
|
-
"nixpkgs_flake":
|
|
200
|
+
"nixpkgs_flake": [
|
|
201
|
+
"nixpkgs"
|
|
202
|
+
],
|
|
200
203
|
"pyproject-build-systems": "pyproject-build-systems",
|
|
201
204
|
"pyproject-nix": "pyproject-nix_2",
|
|
202
205
|
"shell-helpers": "shell-helpers",
|
|
@@ -204,17 +207,17 @@
|
|
|
204
207
|
},
|
|
205
208
|
"locked": {
|
|
206
209
|
"dir": "common/utils/python-builder",
|
|
207
|
-
"lastModified":
|
|
208
|
-
"narHash": "sha256-
|
|
210
|
+
"lastModified": 1787753967,
|
|
211
|
+
"narHash": "sha256-1kWAiANGMA4B9flxHFj73EwvOpF8r0nXGg1RVXNKPK8=",
|
|
209
212
|
"ref": "refs/heads/trunk",
|
|
210
|
-
"rev": "
|
|
213
|
+
"rev": "2490a24f91f075f7580cd0b9df5bc01dbc467a50",
|
|
211
214
|
"shallow": true,
|
|
212
215
|
"type": "git",
|
|
213
216
|
"url": "ssh://git@gitlab.com/fluidattacks/universe"
|
|
214
217
|
},
|
|
215
218
|
"original": {
|
|
216
219
|
"dir": "common/utils/python-builder",
|
|
217
|
-
"rev": "
|
|
220
|
+
"rev": "2490a24f91f075f7580cd0b9df5bc01dbc467a50",
|
|
218
221
|
"shallow": true,
|
|
219
222
|
"type": "git",
|
|
220
223
|
"url": "ssh://git@gitlab.com/fluidattacks/universe"
|
|
@@ -222,6 +225,7 @@
|
|
|
222
225
|
},
|
|
223
226
|
"root": {
|
|
224
227
|
"inputs": {
|
|
228
|
+
"nixpkgs": "nixpkgs",
|
|
225
229
|
"python_builder": "python_builder"
|
|
226
230
|
}
|
|
227
231
|
},
|
|
@@ -235,17 +239,17 @@
|
|
|
235
239
|
},
|
|
236
240
|
"locked": {
|
|
237
241
|
"dir": "common/utils/shell-helpers",
|
|
238
|
-
"lastModified":
|
|
239
|
-
"narHash": "sha256-
|
|
242
|
+
"lastModified": 1787145059,
|
|
243
|
+
"narHash": "sha256-i5i+qLR9JhcNasrQvzG4S/0AotpZAqTHXa4/68MmvwA=",
|
|
240
244
|
"ref": "refs/heads/trunk",
|
|
241
|
-
"rev": "
|
|
245
|
+
"rev": "e0d58302690af6f38b7544265e59c625b63df76f",
|
|
242
246
|
"shallow": true,
|
|
243
247
|
"type": "git",
|
|
244
248
|
"url": "ssh://git@gitlab.com/fluidattacks/universe"
|
|
245
249
|
},
|
|
246
250
|
"original": {
|
|
247
251
|
"dir": "common/utils/shell-helpers",
|
|
248
|
-
"rev": "
|
|
252
|
+
"rev": "e0d58302690af6f38b7544265e59c625b63df76f",
|
|
249
253
|
"shallow": true,
|
|
250
254
|
"type": "git",
|
|
251
255
|
"url": "ssh://git@gitlab.com/fluidattacks/universe"
|
|
@@ -280,7 +284,7 @@
|
|
|
280
284
|
},
|
|
281
285
|
"uv2nix_2": {
|
|
282
286
|
"inputs": {
|
|
283
|
-
"nixpkgs": "
|
|
287
|
+
"nixpkgs": "nixpkgs_4",
|
|
284
288
|
"pyproject-nix": "pyproject-nix_3"
|
|
285
289
|
},
|
|
286
290
|
"locked": {
|
|
@@ -2,8 +2,10 @@
|
|
|
2
2
|
description = "Log utils for observes packages";
|
|
3
3
|
|
|
4
4
|
inputs = {
|
|
5
|
+
nixpkgs.url = "github:nixos/nixpkgs/2f5a153c270b70cb0f8c11f46d96d6d3bc39f4e3";
|
|
5
6
|
python_builder = {
|
|
6
|
-
url = "git+ssh://git@gitlab.com/fluidattacks/universe?shallow=1&rev=
|
|
7
|
+
url = "git+ssh://git@gitlab.com/fluidattacks/universe?shallow=1&rev=2490a24f91f075f7580cd0b9df5bc01dbc467a50&dir=common/utils/python-builder";
|
|
8
|
+
inputs.nixpkgs_flake.follows = "nixpkgs";
|
|
7
9
|
};
|
|
8
10
|
};
|
|
9
11
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
name = "fluidattacks_utils_logger"
|
|
3
3
|
authors = [{ name = "Product Team", email = "development@fluidattacks.com" }]
|
|
4
4
|
classifiers = ["License :: OSI Approved :: MIT License"]
|
|
5
|
-
requires-python = ">=3.
|
|
5
|
+
requires-python = ">=3.13.14, <3.14"
|
|
6
6
|
dependencies = [
|
|
7
|
-
"fluidattacks-core >=12.0.0, <13.0.0",
|
|
7
|
+
"fluidattacks-core-logging >=12.0.0, <13.0.0",
|
|
8
8
|
"fa-purity >=2.5.2, <3.0.0",
|
|
9
9
|
"python-json-logger >=3.3.0, <5.0.0",
|
|
10
10
|
]
|
|
@@ -27,4 +27,4 @@ dev = [
|
|
|
27
27
|
|
|
28
28
|
[tool.uv]
|
|
29
29
|
exclude-newer = "7 days"
|
|
30
|
-
exclude-newer-package = { fluidattacks-core = "2099-01-02T00:00:00Z", fluid-blends = "2099-01-02T00:00:00Z" }
|
|
30
|
+
exclude-newer-package = { fluidattacks-core-logging = "2099-01-02T00:00:00Z", fluid-blends = "2099-01-02T00:00:00Z" }
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
from typing import (
|
|
2
|
-
TypeVar,
|
|
3
|
-
)
|
|
4
|
-
|
|
5
1
|
from arch_lint.dag import (
|
|
6
2
|
DagMap,
|
|
7
3
|
)
|
|
@@ -9,10 +5,8 @@ from arch_lint.graph import (
|
|
|
9
5
|
FullPathModule,
|
|
10
6
|
)
|
|
11
7
|
|
|
12
|
-
_T = TypeVar("_T")
|
|
13
|
-
|
|
14
8
|
|
|
15
|
-
def raise_or_return(item:
|
|
9
|
+
def raise_or_return[T](item: T | Exception) -> T:
|
|
16
10
|
if isinstance(item, Exception):
|
|
17
11
|
raise item
|
|
18
12
|
return item
|