Skip to content

Force Python scripts in acceptance tests to use UTF-8#3260

Merged
pietern merged 1 commit intomainfrom
acceptance-windows-utf8
Jul 16, 2025
Merged

Force Python scripts in acceptance tests to use UTF-8#3260
pietern merged 1 commit intomainfrom
acceptance-windows-utf8

Conversation

@pietern
Copy link
Contributor

@pietern pietern commented Jul 16, 2025

Changes

A test failure in #3254 shows the Python scripts called from our acceptance tests were using cp1252 encoding on Windows, which is incompatible with tests using UTF-8. This change makes these tests always use UTF-8.

Tests

Adds an emoji to the diff selftest.

@pietern pietern temporarily deployed to test-trigger-is July 16, 2025 10:52 — with GitHub Actions Inactive
@pietern pietern marked this pull request as ready for review July 16, 2025 10:52
@pietern pietern enabled auto-merge July 16, 2025 10:52
@eng-dev-ecosystem-bot
Copy link
Collaborator

eng-dev-ecosystem-bot commented Jul 16, 2025

Run: 16317517355

Env ✅‌pass 🔄‌flaky 🙈‌skip
🔄‌ aws linux 296 6 424
🔄‌ aws windows 298 5 423
✅‌ aws-ucws linux 408 324
✅‌ aws-ucws windows 409 323
✅‌ azure linux 302 423
✅‌ azure windows 303 422
✅‌ azure-ucws linux 410 321
🔄‌ azure-ucws windows 410 1 320
✅‌ gcp linux 301 425
✅‌ gcp windows 302 424
8 failing tests:
Test Name aws linux aws windows azure-ucws windows
TestAccept 🔄‌flaky ✅‌pass ✅‌pass
TestAccept/bundle/resources/pipelines ✅‌pass 🔄‌flaky ✅‌pass
TestAccept/bundle/resources/pipelines/DATABRICKS_CLI_DEPLOYMENT=direct-exp ✅‌pass 🔄‌flaky ✅‌pass
TestAccept/selftest/record_cloud/workspace-file-io 🔄‌flaky 🔄‌flaky ✅‌pass
TestAccept/selftest/record_cloud/workspace-file-io/DATABRICKS_CLI_DEPLOYMENT=direct-exp 🔄‌flaky 🔄‌flaky ✅‌pass
TestFetchRepositoryInfoAPI_FromRepo 🔄‌flaky 🔄‌flaky 🔄‌flaky
TestSyncEnsureRemotePathIsUsableIfRepoExists 🔄‌flaky ✅‌pass ✅‌pass
TestSyncIncrementalFileOverwritesFolder 🔄‌flaky ✅‌pass ✅‌pass

@pietern pietern added this pull request to the merge queue Jul 16, 2025
Merged via the queue into main with commit d383899 Jul 16, 2025
13 checks passed
@pietern pietern deleted the acceptance-windows-utf8 branch July 16, 2025 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants