Skip to content
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

brew test python *requires* the tcl-tk *option* #1148

Open
gsteemso opened this issue Apr 28, 2024 · 3 comments
Open

brew test python *requires* the tcl-tk *option* #1148

gsteemso opened this issue Apr 28, 2024 · 3 comments

Comments

@gsteemso
Copy link
Contributor

What it says. You must install an optional feature to run the Python 2.7 formula’s test method. I would submit a patch to conditionalize it, but my git install is currently broken (sorry).

Also, I have found that the tkinter module which the test tries to load may not support Python 2 any more, or something of the sort. (I'm still trying to work that part out in detail; there may be more than one potential cause of the error message I get.)

There is one positive thing – because I've got HOMEBREW_DEBUG set in my environment, which gives me an option to ignore the error, I can say that all other parts of the test routine appear to work properly.

@gsteemso
Copy link
Contributor Author

Correction, the tkinter package loads OK. It's pip that warns of incipiently no-longer-supporting Python 2.

@sevan
Copy link
Contributor

sevan commented Apr 28, 2024

Local issue?
Test only runs system bin/"pip", "list", "--format=columns" at the last phase.

@gsteemso
Copy link
Contributor Author

Yes. Freshly installed python installs pip 20.3.4, which warns that python 2 support will be removed in pip 21.

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

No branches or pull requests

2 participants