pyvider-cty 2025-03-10
Continued test reorganization into subdirectories
80 files · 8,257+ · 1,876-

Test Migration and Expansion

1 file changed
  • base.py Marked several async refinement tests with `@pytest.mark.skip`
  • Moved remaining tests from tests/unit/ into proper subdirectories (collections, conversions, encoding, functions, object, path, values) qualify internal
    1 file
    • base.py
  • Added test_conversion_registry.py and test_conversion_registry_2.py for conversion registration testing qualify internal
    2 files
    • test_conversion_registry.py
    • test_conversion_registry_2.py
  • Added test_convert_2.py (514 lines) for extended conversion scenarios instantiate internal
    1 file
    • test_convert_2.py
  • Added test_encoding_msgpack_more.py (567 lines) for msgpack edge cases instantiate internal
    1 file
    • test_encoding_msgpack_more.py
  • Added test_list_advanced.py (210 lines) and test_list_with_nested_types.py for list type tests qualify internal
    2 files
    • test_list_advanced.py
    • test_list_with_nested_types.py
  • Added test_values_operations_more.py (584 lines) and test_values_operations_three.py (924 lines) instantiate internal
    2 files
    • test_values_operations_more.py
    • test_values_operations_three.py
  • Added test_values_refinement_2.py and test_values_refinement_3.py instantiate internal
    2 files
    • test_values_refinement_2.py
    • test_values_refinement_3.py
  • Added test_path_path_advanced.py for path navigation tests qualify internal
    1 file
    • test_path_path_advanced.py
  • Marked several async refinement tests with @pytest.mark.skip qualify internal
    1 file
    • base.py

Import Standardization

2 files changed
  • base.py Changed all test imports to use public API (`from pyvider.cty import CtyValue`) instead of intern...
  • __init__.py Fixed typo in values `__init__.py` (`valuse` -> `values`)
  • Changed all test imports to use public API (from pyvider.cty import CtyValue) instead of internal paths qualify behavioral
    1 file
    • base.py
  • Fixed CtyValue export chain: pyvider.cty.__init__ now imports from pyvider.cty.values remediate internal
    1 file
    • base.py
  • Fixed typo in values __init__.py (valuse -> values) remediate errata
    1 file
    • __init__.py
  • Fixed typing import error in msgpack tests (from typing import, Any -> from typing import Any) qualify internal
    2 files
    • base.py
    • __init__.py

Source Code Fixes

3 files changed
  • base.py Fixed conversion converter type annotation (`CtyCtyValue` -> `CtyValue`)
  • __init__.py Updated `function/stdlib.py` with modernized typing (removed `dict`/`list` from typing imports)
  • object.py Object structural type: 162 lines of validation improvements
  • Fixed conversion converter type annotation (CtyCtyValue -> CtyValue) specify internal
    1 file
    • base.py
  • Updated values/operations.py with 176 lines of changes to operation logic decouple internal
    1 file
    • operations.py
  • Updated function/stdlib.py with modernized typing (removed dict/list from typing imports) specify internal
    1 file
    • __init__.py
  • Updated list collection type to use absolute imports decouple internal
    3 files
    • base.py
    • __init__.py
    • object.py
  • Object structural type: 162 lines of validation improvements decouple internal
    1 file
    • object.py
1 file changed
  • pyproject.toml Updated `pyproject.toml` license-files configuration
  • Added LICENSE.md with Creative Commons BY-ND 4.0 instantiate internal
    1 file
    • LICENSE.md
  • Updated pyproject.toml license-files configuration baseline internal
    1 file
    • pyproject.toml
  • Brief REUSE compliance setup (dep5), then removed decouple internal
    1 file
    • pyproject.toml

Documentation

2 files changed
  • 2025-03-10-1428-claude-summary-01.md See points for details
  • 20250310-1824-pyvider-cty-documentation.md See points for details
  • Added 2025-03-10-1428-claude-summary-01.md development summary instantiate internal
    1 file
    • 2025-03-10-1428-claude-summary-01.md
  • Added 20250310-1824-pyvider-cty-documentation.md and companion doc specify internal
    1 file
    • 20250310-1824-pyvider-cty-documentation.md
  • Updated various existing documentation files decouple internal
    2 files
    • 2025-03-10-1428-claude-summary-01.md
    • 20250310-1824-pyvider-cty-documentation.md