librabbitmq icon indicating copy to clipboard operation
librabbitmq copied to clipboard

New version required for Python 3.11

Open marcusaram opened this issue 2 years ago • 6 comments

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'

marcusaram avatar May 09 '23 19:05 marcusaram

U beat me by 7 hours. Just came here to open the exact same issue.

SnoozeFreddo avatar May 10 '23 03:05 SnoozeFreddo

it is still suggested to use pyamqp in the mean time

auvipy avatar May 10 '23 04:05 auvipy

is there a release coming? this issue is still preventing moving to python 3.11+

kris-w-stkd avatar Nov 08 '23 01:11 kris-w-stkd

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

auvipy avatar Nov 08 '23 03:11 auvipy