PR #4678 merged into devel

39 views
Skip to first unread message

Edward K. Ream

unread,
May 11, 2026, 6:49:34 AM (10 days ago) May 11
to leo-editor
PR #4678 removes unnecessary mypy suppressions.

In many cases, earlier improvements to annotations made the suppressions unnecessary.

The PR makes a few non-trivial changes. See the PR for full details. All tests pass, but there are no guarantees. Please report any issues.

Thanks!

Edward

Viktor Ransmayr

unread,
May 11, 2026, 1:38:56 PM (10 days ago) May 11
to leo-editor
Hello Edward,

 I tried the latest snapshot of the 'devel' branch on Debian & Fedora Linux.

* The ~plain~ unit tests for Leo pass - but -  ...
* ... the full test suite still fails for both variants. - See attached log !

HTH.

With kind regards,

Viktor

###

    📦[user@leo-on-debian leo-editor]$
    📦[user@leo-on-debian leo-editor]$ python3 -m leo.scripts.full_test_leo
    full_test_leo.py
    Traceback (most recent call last):
      File "<frozen runpy>", line 198, in _run_module_as_main
      File "<frozen runpy>", line 88, in _run_code
      File "/home/user/distroboxes/projects/leo-on-debian/leo-editor/leo/scripts/full_test_leo.py", line 50, in <module>
        subprocess.Popen(command).communicate()
        ~~~~~~~~~~~~~~~~^^^^^^^^^
      File "/usr/local/lib/python3.14/subprocess.py", line 1038, in __init__
        self._execute_child(args, executable, preexec_fn, close_fds,
        ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                            pass_fds, cwd, env,
                            ^^^^^^^^^^^^^^^^^^^
        ...<5 lines>...
                            gid, gids, uid, umask,
                            ^^^^^^^^^^^^^^^^^^^^^^
                            start_new_session, process_group)
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.14/subprocess.py", line 1874, in _execute_child
        self._posix_spawn(args, executable, env, restore_signals, close_fds,
        ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                          p2cread, p2cwrite,
                          ^^^^^^^^^^^^^^^^^^
                          c2pread, c2pwrite,
                          ^^^^^^^^^^^^^^^^^^
                          errread, errwrite)
                          ^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.14/subprocess.py", line 1818, in _posix_spawn
        self.pid = os.posix_spawn(executable, args, env, **kwargs)
                   ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/bin/python3 -m leo.scripts.beautify_all_leo'
    📦[user@leo-on-debian leo-editor]$

Viktor Ransmayr

unread,
May 16, 2026, 2:06:47 PM (5 days ago) May 16
to leo-editor
Hello everyone,

Viktor Ransmayr schrieb am Montag, 11. Mai 2026 um 19:38:56 UTC+2:
...

PR #4678 removes unnecessary mypy suppressions.

In many cases, earlier improvements to annotations made the suppressions unnecessary.

The PR makes a few non-trivial changes. See the PR for full details. All tests pass, but there are no guarantees. Please report any issues.
 I tried the latest snapshot of the 'devel' branch on Debian & Fedora Linux.

* The ~plain~ unit tests for Leo pass - but -  ...
* ... the full test suite still fails for both variants. - See attached log !

Am I the only one having these problems with Leo (on Linux ) ?

With kind regards,

Viktor

Reply all
Reply to author
Forward
0 new messages