librabbitmq
librabbitmq copied to clipboard
New version required for Python 3.11
I can't use librabbitmq on 3.11, this is because filemode 'U' is still in setup.py for the 2.0.0 version. This is already been fixed in the code but not released. I think it's time for a new version.
File "/tmp/pip-install-otpo3epi/librabbitmq_e17c24195e1e4d4694a0a794dd31a21a/setup.py", line 167, in <module>
long_description = open(os.path.join(BASE_PATH, 'README.rst'), 'U').read()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid mode: 'U'
U beat me by 7 hours. Just came here to open the exact same issue.
it is still suggested to use pyamqp in the mean time
is there a release coming? this issue is still preventing moving to python 3.11+
this library is not the recommended one to use with celery for now. please switch to pyamp which has python 3.12 support and cython based optimizations when needed