Skip to content

Unit tests on Mac should fall back to use X if DISPLAY is set #123155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
smontanaro opened this issue Aug 19, 2024 · 4 comments
Closed

Unit tests on Mac should fall back to use X if DISPLAY is set #123155

smontanaro opened this issue Aug 19, 2024 · 4 comments
Labels
OS-mac type-bug An unexpected behavior, bug, or error

Comments

@smontanaro
Copy link
Contributor

smontanaro commented Aug 19, 2024

Bug report

Bug description:

When running the test suite on my Mac, it always complains I don't have an OS X gui process running. I don't know how to remedy that, but I do know that I have XQuartz running, as the DISPLAY environment variable is set. The test suite should fall back to using X for tkinter and ttk unit tests if available.

CPython versions tested on:

CPython main branch

Operating systems tested on:

macOS

Linked PRs

@smontanaro smontanaro added the type-bug An unexpected behavior, bug, or error label Aug 19, 2024
@smontanaro smontanaro changed the title Unit tests on Mac should fall back to use XQuartz Unit tests on Mac should fall back to use X if DISPLAY is set Aug 19, 2024
@smontanaro
Copy link
Contributor Author

Changed the title. XQuartz isn't really required. Any valid DISPLAY setting should be fine.

@ronaldoussoren
Copy link
Contributor

Some questions:

  • What version of macOS do you use?

  • How did you install Tcl/Tk?

  • How do you run the tests?

@ronaldoussoren
Copy link
Contributor

This is a duplicate of #61698.

@ronaldoussoren ronaldoussoren closed this as not planned Won't fix, can't repro, duplicate, stale Aug 21, 2024
@smontanaro
Copy link
Contributor Author

I'm beginning to think that my superpower is proposing half-baked ideas which motivate other people to actually develop/produce/confirm the correct solution to the problem. ;-)

I trust that fix you had me check will find its way into main and 3.13?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS-mac type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants