Skip to content

Commit a8f7a13

Browse files
authored
Fix pydabs acceptance test regex to match v1.x bundle versions (#5294)
The `acceptance/bundle/templates/pydabs/test.toml` replacement regex only matched `databricks-bundles==0.x.y`, so after the v1.0.0 release the wheel version `1.0.0` slipped through unredacted and the recorded output (`databricks-bundles==x.y.z`) no longer matched. Broaden the regex to `\d+\.\d+\.\d+` (and escape the dots) so any future version is normalized.
1 parent 3f1e9c3 commit a8f7a13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

acceptance/bundle/templates/pydabs/test.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ Local = true
55
Cloud = false
66

77
[[Repls]]
8-
Old = '"databricks-bundles==0.\d+.\d+"'
8+
Old = '"databricks-bundles==\d+\.\d+\.\d+"'
99
New = '"databricks-bundles==x.y.z"'

0 commit comments

Comments
 (0)