ethspecify 0.2.4__tar.gz → 0.2.5__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.

Potentially problematic release.


This version of ethspecify might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ethspecify
3
- Version: 0.2.4
3
+ Version: 0.2.5
4
4
  Summary: A utility for processing Ethereum specification tags.
5
5
  Home-page: https://github.com/jtraglia/ethspecify
6
6
  Author: Justin Traglia
@@ -822,7 +822,7 @@ def extract_spec_tags_from_yaml(yaml_file, tag_type=None):
822
822
  return tag_types_found, pairs
823
823
 
824
824
 
825
- def check_coverage(yaml_file, tag_type, exceptions, preset="mainnet"):
825
+ def check_coverage(yaml_file, tag_type, exceptions, preset="mainnet", version="nightly"):
826
826
  """
827
827
  Check that all spec items from ethspecify have corresponding tags in the YAML file.
828
828
  Returns (found_count, total_count, missing_items)
@@ -839,7 +839,7 @@ def check_coverage(yaml_file, tag_type, exceptions, preset="mainnet"):
839
839
  }
840
840
 
841
841
  # Get expected items from ethspecify
842
- history = get_spec_item_history(preset)
842
+ history = get_spec_item_history(preset, version)
843
843
  expected_pairs = set()
844
844
 
845
845
  history_key = history_key_map.get(tag_type, tag_type)
@@ -876,6 +876,9 @@ def run_checks(project_dir, config):
876
876
  results = {}
877
877
  overall_success = True
878
878
 
879
+ # Get version from config
880
+ version = config.get('version', 'nightly')
881
+
879
882
  # Get specrefs config
880
883
  specrefs_config = config.get('specrefs', {})
881
884
 
@@ -963,7 +966,7 @@ def run_checks(project_dir, config):
963
966
  break
964
967
 
965
968
  # Check coverage for this specific tag type
966
- found_count, expected_count, missing_items = check_coverage(yaml_path, tag_type, section_exceptions, preset)
969
+ found_count, expected_count, missing_items = check_coverage(yaml_path, tag_type, section_exceptions, preset, version)
967
970
  total_found += found_count
968
971
  total_expected += expected_count
969
972
  all_missing_items.extend(missing_items)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ethspecify
3
- Version: 0.2.4
3
+ Version: 0.2.5
4
4
  Summary: A utility for processing Ethereum specification tags.
5
5
  Home-page: https://github.com/jtraglia/ethspecify
6
6
  Author: Justin Traglia
@@ -8,7 +8,7 @@ long_description = (this_directory / "README.md").read_text(encoding="utf-8")
8
8
 
9
9
  setup(
10
10
  name="ethspecify",
11
- version="0.2.4",
11
+ version="0.2.5",
12
12
  description="A utility for processing Ethereum specification tags.",
13
13
  long_description=long_description,
14
14
  long_description_content_type="text/markdown",
File without changes
File without changes
File without changes
File without changes