Joe's script to the rescue - tox tests working now #859
Elliria
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
There's a requirements section somewhere that says these things need to be installed if you want to do development (tox...). That's where tk should probably be added. I don't think normal users need it for anything although it is another GUI interaction library that occasionally gets used by AutoKey users to do things that our API calls don't support. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been wrestling with the
tox
tests for quite some time to try to get them working so that the same tests GitHub runs can be run locally. They've been broken for me for quite some time and I had all but given up. But with your help, @josephj11, the problem has been solved andtox
test are now working.Your script showed me that I was missing the
gir1.2-appindicator3-0.1
andpyqt5-dev-tools
packages.After installing those, I tried running the
tox
tests just to see if they were fixed, but I still got an error. It was just a complaint that I didn't havetkinter
installed. Not a problem. I installed thepython3-tk
file and tried to run thetox
test again.It worked. I'm gobsmacked. I've been fighting and fighting with
tox
for months and all of a sudden it works perfectly (except for a specific couple of the many tox tests that aren't working for unrelated reasons that will be taken care of elsewhere).Now the question is whether the
python3-tk
file should be added to the apt-requirements.txt file or not since it's only needed, in this case, bytox
, which is a tool used by developers.I've already added it to the Local - prepare your computer or virtual machine for development section of the GitHub Cheat Sheet page in the wiki.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions