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.modUpdated `go.mod` and `go.sum` with new dependenciesgo.sumUpdated `go.mod` and `go.sum` with new dependencies
- Expanded
go_cty_generator.go(740 lines of changes) with more comprehensive type coverage qualify internal1 file
go_cty_generator.go
- Added output comparison fixtures for
list_number,null_string, andstringtest cases (type and value JSON files for both Go and Python) qualify behavioral2 files
go.modgo.sum
- Added
tests/compatibility/compare_outputs.py(101 lines) for automated comparison qualify internal1 file
compare_outputs.py
- Added
tests/compatibility/README.md(84 lines) documenting the compatibility testing approach qualify errata1 file
README.md
- Updated
go.modandgo.sumwith new dependencies baseline internal2 files
go.modgo.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 adjustmentsbool.py`types/primitives/bool.py`: Added 5 linesnumber.py`types/primitives/number.py`: 2 lines fixedstring.py`types/primitives/string.py`: 35 lines of changesdynamic.py`types/structural/dynamic.py`: Added 11 linesobject.py`types/structural/object.py`: Added 15 linesbase.py`values/base.py`: 118 lines of enhancements
types/collections/map.py: Significantly simplified (419 lines removed) decouple internal1 file
map.py
types/collections/set.py: 15 lines of adjustments decouple internal1 file
set.py
types/primitives/bool.py: Added 5 lines instantiate internal1 file
bool.py
types/primitives/number.py: 2 lines fixed remediate internal1 file
number.py
types/primitives/string.py: 35 lines of changes decouple internal1 file
string.py
types/structural/dynamic.py: Added 11 lines instantiate internal1 file
dynamic.py
types/structural/object.py: Added 15 lines instantiate internal1 file
object.py
values/base.py: 118 lines of enhancements decouple internal1 file
base.py
Conversion Improvements
1 file changed
base.py`path/base.py`: 51 lines of adjustments
Documentation
1 file changed
feature_matrix_cty.mdSee points for details
- Added
docs/feature_matrix_cty.md(49 lines) documenting feature coverage qualify behavioral1 file
feature_matrix_cty.md
Test Fixes (Jules automation)
1 file changed
feature_matrix_cty.mdChanged