Skip to content

correct encoding of generated *_ui.py files on windows system#1837

Merged
mkrnr merged 3 commits into
mainfrom
tox-test-on-windows
Apr 9, 2026
Merged

correct encoding of generated *_ui.py files on windows system#1837
mkrnr merged 3 commits into
mainfrom
tox-test-on-windows

Conversation

@greenwyrt

Copy link
Copy Markdown
Contributor

Summary of changes

tox i18n test was failing on windows because generated *_ui.py files from pyside6-uic were not utf-8.

Pull Request Checklist

  • Changes have tests
  • News fragment added in news.d. See documentation for details

i18n test was failing on windows because generated *_ui.py files from pyside6-uic were not utf-8.
@greenwyrt greenwyrt marked this pull request as ready for review March 31, 2026 00:51
@greenwyrt greenwyrt requested a review from mkrnr March 31, 2026 00:51
@mkrnr

mkrnr commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

I tested PySide6 6.11.0 on macOS and got a lot of the log entries:

_pythonToCppCopy: Cannot copy-convert 0x1118bfd80 (set) to C++.

Let's bump the PySide6 version in a separate PR since it requires some more testing and possibly fixing.

@mkrnr mkrnr merged commit ff6d6b9 into main Apr 9, 2026
18 checks passed
@mkrnr mkrnr deleted the tox-test-on-windows branch April 9, 2026 05:05
@greenwyrt

Copy link
Copy Markdown
Contributor Author

I get the same entries about cannot copy-convert but with Cannot copy-convert 00000263E5E60E40.

Not sure what the impact is since keyboard and translation seem to work properly.

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.

2 participants