Open hyperrealist opened 4 months ago
This has been fixed in a5590bb04de3f1f201fd1fd0ce9cfe5825db80ac, but packages wasn't updated 🤷♂️
The Curio project is no longer making package releases. I'm more than happy to accept bug reports and may continue to work on it from time to time as the mood strikes. If you want the absolute latest version, you should vendor the source code from here. Curio has no dependencies other than the Python standard library. --Dave
I'm not seeing a failure on Python 3.12 so it seems to be fixed at the moment.
@dabeaz Installed the latest python 3.12.2 (Apr 8 2024) and the latest curio from pypi:
Python 3.12.2 (main, Apr 8 2024, 12:08:45) [Clang 15.0.0 (clang-1500.3.9.4)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import curio
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/horneds/projects/asgi-tools/.venv/lib/python3.12/site-packages/curio/__init__.py", line 6, in <module>
from .queue import *
File "/Users/horneds/projects/asgi-tools/.venv/lib/python3.12/site-packages/curio/queue.py", line 20, in <module>
from . import workers
File "/Users/horneds/projects/asgi-tools/.venv/lib/python3.12/site-packages/curio/workers.py", line 23, in <module>
from .channel import Connection
File "/Users/horneds/projects/asgi-tools/.venv/lib/python3.12/site-packages/curio/channel.py", line 31, in <module>
CHALLENGE = mpc.CHALLENGE # b'#CHALLENGE#'
^^^^^^^^^^^^^
AttributeError: module 'multiprocessing.connection' has no attribute 'CHALLENGE'. Did you mean: '_CHALLENGE'?
>>>
The issue is fixed on Github, but the pypi package is not updated 🤷♂️
Importing curio in python 3.12 results in the following error: