Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New version required for Python 3.11 #167

Open
marcusaram opened this issue May 9, 2023 · 5 comments
Open

New version required for Python 3.11 #167

marcusaram opened this issue May 9, 2023 · 5 comments

Comments

@marcusaram
Copy link

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'
@SnoozeFreddo
Copy link

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

@auvipy
Copy link
Member

auvipy commented May 10, 2023

it is still suggested to use pyamqp in the mean time

@kris-w-stkd
Copy link

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

@auvipy
Copy link
Member

auvipy commented Nov 8, 2023

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

@cclauss
Copy link
Contributor

cclauss commented Oct 15, 2024

Confirmed in

The current master branch will install on Py3.11,Py3.12,Py3.13 but the version on PyPI will not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants