oe-python-template-example 0.4.11__py3-none-any.whl → 0.4.12__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.
@@ -1,5 +1,6 @@
1
1
  """Logging configuration and utilities."""
2
2
 
3
+ import contextlib
3
4
  import logging as python_logging
4
5
  import os
5
6
  import typing as t
@@ -63,11 +64,13 @@ def _validate_file_name(file_name: str | None) -> str | None:
63
64
  else:
64
65
  try:
65
66
  file_path.touch(exist_ok=True)
66
- file_path.unlink()
67
67
  except OSError as e:
68
68
  message = f"File {file_path.absolute()} cannot be created: {e}"
69
69
  raise ValueError(message) from e
70
70
 
71
+ with contextlib.suppress(OSError): # Parallel execution e.g. in tests can create race
72
+ file_path.unlink()
73
+
71
74
  return file_name
72
75
 
73
76
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oe-python-template-example
3
- Version: 0.4.11
3
+ Version: 0.4.12
4
4
  Summary: 🧠 Example project scaffolded and kept up to date with OE Python Template (oe-python-template).
5
5
  Project-URL: Homepage, https://oe-python-template-example.readthedocs.io/en/latest/
6
6
  Project-URL: Documentation, https://oe-python-template-example.readthedocs.io/en/latest/
@@ -49,7 +49,7 @@ Classifier: Programming Language :: Python :: 3.13
49
49
  Classifier: Typing :: Typed
50
50
  Requires-Python: <4.0,>=3.11
51
51
  Requires-Dist: fastapi[all,standard]>=0.115.12
52
- Requires-Dist: logfire[system-metrics]>=3.13.1
52
+ Requires-Dist: logfire[system-metrics]>=3.14.1
53
53
  Requires-Dist: nicegui[native]>=2.15.0
54
54
  Requires-Dist: opentelemetry-instrumentation-fastapi>=0.53b0
55
55
  Requires-Dist: opentelemetry-instrumentation-httpx>=0.53b0
@@ -61,13 +61,13 @@ Requires-Dist: opentelemetry-instrumentation-urllib3>=0.53b0
61
61
  Requires-Dist: opentelemetry-instrumentation-urllib>=0.53b0
62
62
  Requires-Dist: psutil>=7.0.0
63
63
  Requires-Dist: pydantic-settings>=2.9.1
64
- Requires-Dist: sentry-sdk>=2.26.1
64
+ Requires-Dist: sentry-sdk>=2.27.0
65
65
  Requires-Dist: typer>=0.15.1
66
66
  Requires-Dist: uptime>=3.0.1
67
67
  Provides-Extra: examples
68
68
  Requires-Dist: jinja2>=3.1.6; extra == 'examples'
69
69
  Requires-Dist: jupyter>=1.1.1; extra == 'examples'
70
- Requires-Dist: marimo>=0.13.0; extra == 'examples'
70
+ Requires-Dist: marimo>=0.13.1; extra == 'examples'
71
71
  Requires-Dist: matplotlib>=3.10.1; extra == 'examples'
72
72
  Requires-Dist: streamlit>=1.44.1; extra == 'examples'
73
73
  Description-Content-Type: text/markdown
@@ -24,7 +24,7 @@ oe_python_template_example/utils/_constants.py,sha256=fPS1leVqg7NRo_FFE3Xs3QI7un
24
24
  oe_python_template_example/utils/_di.py,sha256=J1-f6xtbnR88VfRAsRMl5m6eqt-Lf3c7ABSJOxNzlvU,2399
25
25
  oe_python_template_example/utils/_gui.py,sha256=mm7-PFPZsVAYISENM91ezlefs_Ax5dEOPzT7-u5xQe0,7749
26
26
  oe_python_template_example/utils/_health.py,sha256=35QOWe2r5InrEpGtuVMym9dI5aRHS0HWf4BHBRAUIj0,4102
27
- oe_python_template_example/utils/_log.py,sha256=9aalm3FzkIgx38Em4a49m5SrXvg0DiTzodTPTICUNuc,5042
27
+ oe_python_template_example/utils/_log.py,sha256=t6CAlSvnwZhls0cPWupodXWGGjNlMHF8T9W69ngIV-E,5156
28
28
  oe_python_template_example/utils/_logfire.py,sha256=wZYNVowQx7kh3XJoJ59FjUKdrta7tp6cXOJRUT6lDU8,2128
29
29
  oe_python_template_example/utils/_notebook.py,sha256=IZOQTRKVV5htwXZIpZIZbAAOo86NK1L8vYkg1o7HW1Q,2114
30
30
  oe_python_template_example/utils/_process.py,sha256=40R0NZMqJUn0iUPERzohSUpJgU1HcJApIg1HipIxFCw,941
@@ -33,8 +33,8 @@ oe_python_template_example/utils/_service.py,sha256=atHAejvBucKXjzhsMSdOBBFa7rRD
33
33
  oe_python_template_example/utils/_settings.py,sha256=owFoaHEzJnVD3EVyOWF4rfIY7g6eLnU6rN0m4VHhCbA,2464
34
34
  oe_python_template_example/utils/boot.py,sha256=Qgq1sjT8d3fcfibnMyx5CVUJ_KKXgFI3ozZUIJbhh4I,2921
35
35
  oe_python_template_example/utils/.vendored/bottle.py,sha256=kZAZmh3nRzCUf-9IKGpv0yqlMciZMA_DNaaMDdcQmt0,175437
36
- oe_python_template_example-0.4.11.dist-info/METADATA,sha256=fsUUG3H2Of5BLy39kok-9tZARJf0ibYMjx6RGIDDh_k,26187
37
- oe_python_template_example-0.4.11.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
38
- oe_python_template_example-0.4.11.dist-info/entry_points.txt,sha256=S2eCPB45b1Wgj_GsDRFAN-e4h7dBA5UPxT8od98erDE,82
39
- oe_python_template_example-0.4.11.dist-info/licenses/LICENSE,sha256=5H409K6xzz9U5eUaoAHQExNkoWJRlU0LEj6wL2QJ34s,1113
40
- oe_python_template_example-0.4.11.dist-info/RECORD,,
36
+ oe_python_template_example-0.4.12.dist-info/METADATA,sha256=Aj9ypIj_ryaXpkT3uzjEQyH_sGXZTCYgn8Z5w69oR4E,26187
37
+ oe_python_template_example-0.4.12.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
38
+ oe_python_template_example-0.4.12.dist-info/entry_points.txt,sha256=S2eCPB45b1Wgj_GsDRFAN-e4h7dBA5UPxT8od98erDE,82
39
+ oe_python_template_example-0.4.12.dist-info/licenses/LICENSE,sha256=5H409K6xzz9U5eUaoAHQExNkoWJRlU0LEj6wL2QJ34s,1113
40
+ oe_python_template_example-0.4.12.dist-info/RECORD,,