runem 0.0.12__tar.gz → 0.0.13__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.
@@ -4,6 +4,14 @@ Changelog
4
4
 
5
5
  (unreleased)
6
6
  ------------
7
+ - Merge branch 'feat/better_module_find_error_msg' [Frank Harrison]
8
+ - Feat(better-module-msg): improves the information given when loading a
9
+ job address. [Frank Harrison]
10
+
11
+
12
+ 0.0.12 (2023-11-29)
13
+ -------------------
14
+ - Release: version 0.0.12 🚀 [Frank Harrison]
7
15
  - Merge branch 'chore/format_yml' [Frank Harrison]
8
16
  - Chore(format-yml): reformats the .runem.yml file. [Frank Harrison]
9
17
  - Chore(format-yml): adds yml files to the prettier command. [Frank
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: runem
3
- Version: 0.0.12
3
+ Version: 0.0.13
4
4
  Summary: Awesome runem created by lursight
5
5
  Home-page: https://github.com/lursight/runem/
6
6
  Author: lursight
@@ -0,0 +1 @@
1
+ 0.0.13
@@ -706,9 +706,19 @@ def get_test_function(job_config: JobConfig, cfg_filepath: pathlib.Path) -> JobF
706
706
  Also re-address the job-config.
707
707
  """
708
708
  function_to_load: str = job_config["addr"]["function"]
709
- module_file_path: pathlib.Path = _find_job_module(
710
- cfg_filepath, job_config["addr"]["file"]
711
- )
709
+ try:
710
+ module_file_path: pathlib.Path = _find_job_module(
711
+ cfg_filepath, job_config["addr"]["file"]
712
+ )
713
+ except FunctionNotFound as err:
714
+ raise FunctionNotFound(
715
+ (
716
+ f"Whilst loading job '{job_config['label']}' runem failed to find "
717
+ f"job.addr.file '{job_config['addr']['file']}' looking for "
718
+ f"job.addr.function '{function_to_load}'"
719
+ )
720
+ ) from err
721
+
712
722
  module_name = module_file_path.stem.replace(" ", "_").replace("-", "_")
713
723
 
714
724
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: runem
3
- Version: 0.0.12
3
+ Version: 0.0.13
4
4
  Summary: Awesome runem created by lursight
5
5
  Home-page: https://github.com/lursight/runem/
6
6
  Author: lursight
@@ -1 +0,0 @@
1
- 0.0.12
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
File without changes
File without changes
File without changes