Re: Distutils Will Be Gone From The Standard Library In Python 3.12

2023-06-17 Thread Edward K. Ream
On Sat, Jun 17, 2023 at 2:51 PM Thomas Passin wrote: > I don't know if Leo uses distutils in any way, but it won't be in the > standard library any more. It has > been absorbed into *setuptools*, so its features aren't really gone, but > how to use them will c

Distutils Will Be Gone From The Standard Library In Python 3.12

2023-06-17 Thread Thomas Passin
I don't know if Leo uses distutils in any way, but it won't be in the standard library any more. It has been absorbed into *setuptools*, so its features aren't really gone, but how to use them will change. -- You received this message because you are subscr

Re: PR #3389 (in devel) concludes work on handling options

2023-06-17 Thread Edward K. Ream
On Sat, Jun 17, 2023 at 1:13 AM Viktor Ransmayr wrote: I tested the 'leo-editor:devel' branch again in a Fedora 37 VM. > > Running Leo's unit tests reports one error: > Thanks for this report. I have modified the unit test so it fails on my machine. I'll fix this issue next. Edward -- You re

Re: Open new window

2023-06-17 Thread Thomas Passin
On Saturday, June 17, 2023 at 2:16:13 PM UTC-4 Thomas Passin wrote: I've attached an image file illustrating this (this example was provided by @wangzhaohe). I meant to write "this asciidoc markup was provided by @wangzhaohe". -- You received this message because you are subscribed to the Go

Re: PR #3390 (more options work) merged into devel

2023-06-17 Thread Edward K. Ream
On Sat, Jun 17, 2023 at 10:29 AM Thomas Passin wrote: FAILED leo/unittests/core/test_leoImport.py::TestLeoImport::test_recursive_import - AssertionError: 'path: ekr-mypy2/mypy' != 'path: mypy' == 1 failed, 851 passed, 1 skipped, 1 warning in 14.21s == Not a surprise since it's lo

Re: PR #3390 (more options work) merged into devel

2023-06-17 Thread Thomas Passin
Run from the leo-editor directory: py -m pytest [snip] leo\unittests\core\test_leoImport.py:106: AssertionError warnings summary leo\plugins\leo_babel\tests\lib_test.py:118 C:\Tom\git\leo-editor\leo\plugins\leo_babel\tests\lib_test.py:118

Re: PR #3390 (more options work) merged into devel

2023-06-17 Thread Edward K. Ream
On Saturday, June 17, 2023 at 9:44:55 AM UTC-5 Edward K. Ream wrote: >...the new unit tests found more errors in two hours than in the previous four days. The test of LM.scanOptions knows nothing about scanOptions. The test is valid however code works. In other words, this test should have be

Re: PR #3390 (more options work) merged into devel

2023-06-17 Thread Edward K. Ream
On Saturday, June 17, 2023 at 9:36:25 AM UTC-5 Edward K. Ream wrote: I've merged this branch early for several reasons I prefer speed over agonizing :-) I want devel to contain the latest code so we can all test it. The devel branch should be safe enough: the new unit tests found more errors

PR #3390 (more options work) merged into devel

2023-06-17 Thread Edward K. Ream
The devel branch now contains PR #3390 , the latest work on Leo's options code. I've merged this branch early for several reasons: - Thomas has signed off on the code. - Because of the reorg, the diffs in the PR are almost useless. - New unit

Re: Open new window

2023-06-17 Thread Thomas Passin
Yes, but just how depends on what you mean. For example, you can open a Qt window that displays MatPlotLib or Qt graphics. Or, if within Leo you run some MatPlotLib code, the pyplot.plot() command will open a window to display the plots. You can also run code for a system like Bokeh or Holov

My apologies for a missing unit test

2023-06-17 Thread Edward K. Ream
I've wasted considerable time, especially Thomas's time, by failing to create a unit test for LM.scanOptions. I'll create this test next. I don't have an explanation for this brain spike. A new unit test would have save me lots of time. Again, I apologize to all who have been following the rece