anaconda icon indicating copy to clipboard operation
anaconda copied to clipboard

Tootips and Autocomplete not working

Open SuperZombi opened this issue 2 years ago • 3 comments

Windows 11 Python 3.12 Sublime Text 4 (4152) Anaconda - latest from package control

image image image

SuperZombi avatar Oct 31 '23 08:10 SuperZombi

I wonder if this is related to the removal of asyncore from Python 3.12. I am starting to notice issues with Anaconda after the upgrade of Fedora - from 38 to 39 - which upgraded Python from 3.11 to 3.12.

cowboysmall avatar Nov 12 '23 15:11 cowboysmall

Clearly, this part requires a rewrite:

Deprecated since version 3.6, will be removed in version 3.12: The [asyncore](https://docs.python.org/3.11/library/asyncore.html#module-asyncore) module is deprecated (see [PEP 594](https://peps.python.org/pep-0594/#asyncore) for details). Please use [asyncio](https://docs.python.org/3.11/library/asyncio.html#module-asyncio) instead.

nardinho avatar Nov 22 '23 04:11 nardinho

https://github.com/DamnWidget/anaconda/blob/2cb208de206e97263b9d9e092dd3d3e7f35309fc/anaconda_server/jsonserver.py#L13https://github.com/DamnWidget/anaconda/blob/2cb208de206e97263b9d9e092dd3d3e7f35309fc/anaconda_server/jsonserver.py#L13

Anaconda server was built on top of asyncore/assynchat at the time asyncio wasn't around and it just worked fine so it was never replaced. As I stated multiple times in the past, I don't have the time or the will to maintain this plugin since long ago, I tried my best to maintain it alive and actively looked and tried to mentor some maintainer for it but I believe is time for take a look to the possible alternatives https://github.com/DamnWidget/anaconda/tree/master#alternatives unless someone wants to step in and rewrite the server using asyncio and maybe maintain the project?

DamnWidget avatar Nov 22 '23 09:11 DamnWidget