Hello Thomas,

[email protected] 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/5d3f355d-e95b-4ab4-b006-1c0c1c3c60f2n%40googlegroups.com.

Reply via email to