pyvider-cty 2025-05-30
Major improvements to Go-cty compatibility testing, type simplification
53 files · 2,267+ · 1,431-

Go-cty Compatibility Infrastructure

2 files changed
  • go.mod Updated `go.mod` and `go.sum` with new dependencies
  • go.sum Updated `go.mod` and `go.sum` with new dependencies
  • Expanded go_cty_generator.go (740 lines of changes) with more comprehensive type coverage qualify internal
    1 file
    • go_cty_generator.go
  • Added output comparison fixtures for list_number, null_string, and string test cases (type and value JSON files for both Go and Python) qualify behavioral
    2 files
    • go.mod
    • go.sum
  • Added tests/compatibility/compare_outputs.py (101 lines) for automated comparison qualify internal
    1 file
    • compare_outputs.py
  • Added tests/compatibility/README.md (84 lines) documenting the compatibility testing approach qualify errata
    1 file
    • README.md
  • Updated go.mod and go.sum with new dependencies baseline internal
    2 files
    • go.mod
    • go.sum

Type and Value Improvements

8 files changed
  • map.py `types/collections/map.py`: Significantly simplified (419 lines removed)
  • set.py `types/collections/set.py`: 15 lines of adjustments
  • bool.py `types/primitives/bool.py`: Added 5 lines
  • number.py `types/primitives/number.py`: 2 lines fixed
  • string.py `types/primitives/string.py`: 35 lines of changes
  • dynamic.py `types/structural/dynamic.py`: Added 11 lines
  • object.py `types/structural/object.py`: Added 15 lines
  • base.py `values/base.py`: 118 lines of enhancements

Conversion Improvements

1 file changed
  • base.py `path/base.py`: 51 lines of adjustments

Documentation

1 file changed
  • feature_matrix_cty.md See points for details
  • Added docs/feature_matrix_cty.md (49 lines) documenting feature coverage qualify behavioral
    1 file
    • feature_matrix_cty.md

Test Fixes (Jules automation)

1 file changed
  • feature_matrix_cty.md Changed
  • Fixed several test failures and corrected test logic qualify internal
    5 files
    • test_object_attributes.py
    • test_object_complex.py
    • test_object_coverage.py
    • test_cty_values_base.py
    • test_cty_values_containers.py
  • Updated env.sh with expanded development environment setup (38 lines) baseline internal
    1 file
    • env.sh