wexample-wex-addon-dev-python 10.0.0__py3-none-any.whl → 10.1.1__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.
@@ -306,9 +306,18 @@ class PythonWorkdir(
306
306
  format = format or PYTHON_PYTEST_COV_FORMAT_JSON
307
307
  self.shell_run_for_app(cmd=self.test_get_command(format=format))
308
308
 
309
- json_file = JsonFile.create_from_path(
310
- path=self.get_path() / PYTHON_FILE_PYTEST_COVERAGE_JSON
311
- )
309
+ # pytest-cov writes no report at all when nothing was measured
310
+ # (e.g. tests that never import the covered module) a legitimate
311
+ # outcome it signals with a warning, not a failure.
312
+ json_path = self.get_path() / PYTHON_FILE_PYTEST_COVERAGE_JSON
313
+ if not json_path.exists():
314
+ self.warning(
315
+ "Tests passed but coverage collected no data "
316
+ "(covered module never imported); no report stored."
317
+ )
318
+ return
319
+
320
+ json_file = JsonFile.create_from_path(path=json_path)
312
321
  totals = json_file.read_config().search("totals", default={}).get_dict()
313
322
 
314
323
  from wexample_helpers_git.helpers.git import git_get_current_commit_hash
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: wexample-wex-addon-dev-python
3
- Version: 10.0.0
3
+ Version: 10.1.1
4
4
  Summary: Python dev addon for wex
5
5
  Author-Email: weeger <contact@wexample.com>
6
6
  License: MIT
@@ -15,10 +15,10 @@ Requires-Dist: griffe>=2.0.2
15
15
  Requires-Dist: networkx
16
16
  Requires-Dist: pylint
17
17
  Requires-Dist: pyright
18
- Requires-Dist: wexample-api>=6.3.0
19
- Requires-Dist: wexample-filestate-python>=6.8.0
20
- Requires-Dist: wexample-wex-addon-ai>=9.0.0
21
- Requires-Dist: wexample-wex-addon-app>=25.1.0
18
+ Requires-Dist: wexample-api>=6.4.0
19
+ Requires-Dist: wexample-filestate-python>=7.0.0
20
+ Requires-Dist: wexample-wex-addon-ai>=10.0.0
21
+ Requires-Dist: wexample-wex-addon-app>=25.2.0
22
22
  Provides-Extra: dev
23
23
  Requires-Dist: pytest; extra == "dev"
24
24
  Requires-Dist: pytest-cov; extra == "dev"
@@ -26,7 +26,7 @@ Description-Content-Type: text/markdown
26
26
 
27
27
  # wex_addon_dev_python
28
28
 
29
- Version: 10.0.0
29
+ Version: 10.1.1
30
30
 
31
31
  Python dev addon for wex
32
32
 
@@ -112,10 +112,10 @@ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the comp
112
112
  - networkx:
113
113
  - pylint:
114
114
  - pyright:
115
- - wexample-api: >=6.3.0
116
- - wexample-filestate-python: >=6.8.0
117
- - wexample-wex-addon-ai: >=9.0.0
118
- - wexample-wex-addon-app: >=25.1.0
115
+ - wexample-api: >=6.4.0
116
+ - wexample-filestate-python: >=7.0.0
117
+ - wexample-wex-addon-ai: >=10.0.0
118
+ - wexample-wex-addon-app: >=25.2.0
119
119
 
120
120
  ## Versioning & Compatibility Policy
121
121
 
@@ -1,6 +1,6 @@
1
- wexample_wex_addon_dev_python-10.0.0.dist-info/METADATA,sha256=RfAh79kMik7DdealOQZlOD5MKdQFDKHsNPcrdgnXHjI,17388
2
- wexample_wex_addon_dev_python-10.0.0.dist-info/WHEEL,sha256=VP-D4TPS230sME9Z3vb3INXvo1yt0924YRm5AOsk_dE,90
3
- wexample_wex_addon_dev_python-10.0.0.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
1
+ wexample_wex_addon_dev_python-10.1.1.dist-info/METADATA,sha256=sS78YiKLKBRnW294eYl6huMsW-0ro5zHbdM6O2yG2-g,17390
2
+ wexample_wex_addon_dev_python-10.1.1.dist-info/WHEEL,sha256=VP-D4TPS230sME9Z3vb3INXvo1yt0924YRm5AOsk_dE,90
3
+ wexample_wex_addon_dev_python-10.1.1.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
4
  wexample_wex_addon_dev_python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  wexample_wex_addon_dev_python/__pycache__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  wexample_wex_addon_dev_python/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -67,5 +67,5 @@ wexample_wex_addon_dev_python/workdir/mixin/__init__.py,sha256=47DEQpj8HBSa-_TIm
67
67
  wexample_wex_addon_dev_python/workdir/mixin/with_profiling_python_workdir_mixin.py,sha256=yPj84DyNJ_cFSawcOUDMBzKBlEohy2NQdt3FM5Nmw4o,3115
68
68
  wexample_wex_addon_dev_python/workdir/python_package_workdir.py,sha256=3m3ySOt25eBgqIkuE4AwaA_9W0mfRco13AgN-phPuSM,18656
69
69
  wexample_wex_addon_dev_python/workdir/python_packages_suite_workdir.py,sha256=_meFBFBxUyxjgeGJHx06o7cynEoUHifVn5eJbwqK3mw,2947
70
- wexample_wex_addon_dev_python/workdir/python_workdir.py,sha256=Q4x_mqSC3h03j03Mzv8vKp4HK0ckpGTxZ7Icca5yzJo,22245
71
- wexample_wex_addon_dev_python-10.0.0.dist-info/RECORD,,
70
+ wexample_wex_addon_dev_python/workdir/python_workdir.py,sha256=agKYPpbwN63spQME0uEucM_P3my8Rj5aPIDlXLEj13k,22688
71
+ wexample_wex_addon_dev_python-10.1.1.dist-info/RECORD,,