Skip to content

Commit 232c583

Browse files
committed
Record immutable SPSS engine identity
1 parent f084285 commit 232c583

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎THIRD_PARTY_NOTICES.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ SPSS engine is a separate third-party distribution:
55

66
| Component | Version | Applicable terms |
77
| --- | --- | --- |
8-
| openstatspec-pyspssio (import module `pyspssio`) | 0.5.1.post2, source commit e069adf | MIT for the Python wrapper, except for its IBM I/O Module files |
8+
| openstatspec-pyspssio (import module `pyspssio`) | 0.5.1.post2, source commit e069adf33c70bcd9e8e6ee495106479463a84fa2 | MIT for the Python wrapper, except for its IBM I/O Module files |
99
| IBM I/O Modules for IBM SPSS Statistics Data Files | bundled by openstatspec-pyspssio | IBM International License Agreement for Non-Warranted Programs and the accompanying License Information / REDIST files |
1010

1111
pyspssio ships the IBM licence, redistribution list, and third-party notices

‎docs/pyspssio-spike.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
**Status:** selected as the required, sole Python SPSS engine.
44

55
OpenStatSpec Python requires `openstatspec-pyspssio==0.5.1.post2`, built from
6-
TonisOrmisson/pyspssio commit `e069adf`, for both SAV and ZSAV import and
6+
TonisOrmisson/pyspssio commit `e069adf33c70bcd9e8e6ee495106479463a84fa2`, for both SAV and ZSAV import and
77
export. There is no alternate SPSS engine.
88

99
## Probe result

‎src/openstatspec/spss/sav.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def engine_identity() -> dict[str, str]:
5454
"package": "openstatspec-pyspssio",
5555
"module": "pyspssio",
5656
"repository": "TonisOrmisson/pyspssio",
57-
"pinned_commit": "e069adf",
57+
"pinned_commit": "e069adf33c70bcd9e8e6ee495106479463a84fa2",
5858
"installed_version": str(pyspssio.__version__),
5959
}
6060

‎tests/test_cli.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def test_cli_import_inspect_validate_and_export_emit_json(tmp_path, capsys) -> N
1818
inspected = json.loads(capsys.readouterr().out)
1919
assert inspected["source_format"] == "SAV"
2020
assert inspected["engine"]["package"] == "openstatspec-pyspssio"
21-
assert inspected["engine"]["pinned_commit"] == "e069adf"
21+
assert inspected["engine"]["pinned_commit"] == "e069adf33c70bcd9e8e6ee495106479463a84fa2"
2222
assert inspected["source_sha256"]
2323
assert inspected["loss_report"] == []
2424
assert imported["case_count"] == 1
@@ -44,7 +44,7 @@ def test_capability_matrix_is_public_and_cli_matches_engine_boundary(capsys) ->
4444
assert matrix["directions"] == ["import", "export", "semantic_round_trip"]
4545
assert matrix["active_connection"] is None
4646
assert matrix["engine"]["package"] == "openstatspec-pyspssio"
47-
assert matrix["engine"]["pinned_commit"] == "e069adf"
47+
assert matrix["engine"]["pinned_commit"] == "e069adf33c70bcd9e8e6ee495106479463a84fa2"
4848

4949
assert matrix["spss"] == {
5050
"values": "supported",

‎tests/test_loss_reports.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def test_persisted_import_fidelity_events_require_consent_after_reopen(tmp_path)
2929
assert {row[0] for row in connection.execute("select code from fidelity_event_catalog")} == set(_REQUIRED_ENGINE_LOSS)
3030
import_details = json.loads(connection.execute("select details from operation_catalog order by created_at limit 1").fetchone()[0])
3131
assert import_details["engine"]["package"] == "openstatspec-pyspssio"
32-
assert import_details["engine"]["pinned_commit"] == "e069adf"
32+
assert import_details["engine"]["pinned_commit"] == "e069adf33c70bcd9e8e6ee495106479463a84fa2"
3333

3434
openstatspec.export_sav(database_url=database, dataset_id="persisted", destination=blocked)
3535
assert blocked.exists()

0 commit comments

Comments
 (0)