Skip to content

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

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

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

Conversation

@pietern

Copy link
Copy Markdown
Contributor

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
pieterntemporarily 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

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

Copy link
Copy Markdown
Collaborator

Run: 16317517355

Env✅‌pass🔄‌flaky🙈‌skip
🔄‌aws linux2966424
🔄‌aws windows2985423
✅‌aws-ucws linux408324
✅‌aws-ucws windows409323
✅‌azure linux302423
✅‌azure windows303422
✅‌azure-ucws linux410321
🔄‌azure-ucws windows4101320
✅‌gcp linux301425
✅‌gcp windows302424
8 failing tests:
Test Nameaws linuxaws windowsazure-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 queueJul 16, 2025
Merged via the queue into main with commit d383899Jul 16, 2025
13 checks passed
@pietern
pietern deleted the acceptance-windows-utf8 branch July 16, 2025 12:43
denik pushed a commit that referenced this pull request May 20, 2026
## 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.
Sign up for freeto 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

@pietern@eng-dev-ecosystem-bot@andrewnester