I doubt that it's actually "required" in the sense that tk is used any 
more.  If a test calls for it, probably that test should be updated.

On Wednesday, December 28, 2022 at 2:23:07 PM UTC-5 viktor....@gmail.com 
wrote:

> Hello Thomas,
>
> tbp1...@gmail.com schrieb am Mittwoch, 28. Dezember 2022 um 19:47:10 
> UTC+1:
>
>> " I also double-checked & saw that 'setup.py' has added "tk" as an 
>> install requirement."
>>
>> I wonder if Leo needs tk at all any more.  Maybe it can be removed as a 
>> requirement.
>>
>
> Here's the complete output from my second attempt to run unit tests on 
> Debian:
>
>      (Leo) user@debian-leo-study-vm:~/PyVE/GitHub/Leo$ 
>     (Leo) user@debian-leo-study-vm:~/PyVE/GitHub/Leo$ cd leo-editor/
>     (Leo) user@debian-leo-study-vm:~/PyVE/GitHub/Leo/leo-editor$ python -m 
> unittest
>     
> ................................................................................
>     
> ................................................................................
>     
> ................................................................................
>     
> ...s............................................................................
>     
> ........................................................s.......................
>     
> ................................................................................
>     
> ................................................................................
>     
> ................................................................................
>     
> ................................................................................
>     
> ................................s...............................................
>     
> ................................................................................
>     ...................................................cursesGui2.py: Tk 
> module required for clipboard handling.
>     E.........
>
>     ======================================================================
>     ERROR: test_cursesGui2 (leo.unittests.test_plugins.TestPlugins)
>     ----------------------------------------------------------------------
>     Traceback (most recent call last):
>       File 
> "/home/user/PyVE/GitHub/Leo/leo-editor/leo/unittests/test_plugins.py", line 
> 114, in test_cursesGui2
>         import leo.plugins.cursesGui2 as cursesGui2
>       File 
> "/home/user/PyVE/GitHub/Leo/leo-editor/leo/plugins/cursesGui2.py", line 50, 
> in <module>
>         from tkinter import Tk
>     ModuleNotFoundError: No module named 'tkinter'
>
>     ----------------------------------------------------------------------
>     Ran 941 tests in 7.338s
>
>     FAILED (errors=1, skipped=3)
>     (Leo) user@debian-leo-study-vm:~/PyVE/GitHub/Leo/leo-editor$ 
>
> If I read the info correctly, than at least the cursesGui2 plugin - and/or 
> - the unit tests for it, still require the 'tkinter' module ...
>
> Let's wait & see what Edward thinks.
>
> With kind regards,
>
> Viktor
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/94dde278-2f94-4a64-a5a1-c782a6cd909dn%40googlegroups.com.

Reply via email to