Skip to content

Issue installing with pip #61

@lukebakken

Description

@lukebakken

Describe the bug

Environment:

  • Ubuntu 24
  • Python 3.12 (installed via asdf)

Installing with pip leads to ModuleNotFoundError

Reproduction steps

lbakken@PROKOFIEV ~/development/lukebakken/rabbitmq-amqp-python-client-60 (main =)
$ source ./venv/bin/activate

(venv) lbakken@PROKOFIEV ~/development/lukebakken/rabbitmq-amqp-python-client-60 (main =)
$ python -m pip install rabbitmq-amqp-python-client
Collecting rabbitmq-amqp-python-client
  Downloading rabbitmq_amqp_python_client-0.1.0b2-py3-none-any.whl.metadata (5.3 kB)
Collecting pyjwt<3.0.0,>=2.10.1 (from rabbitmq-amqp-python-client)
  Downloading PyJWT-2.10.1-py3-none-any.whl.metadata (4.0 kB)
Collecting python-qpid-proton<0.40.0,>=0.39.0 (from rabbitmq-amqp-python-client)
  Downloading python-qpid-proton-0.39.0.tar.gz (346 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting cffi>=1.0.0 (from python-qpid-proton<0.40.0,>=0.39.0->rabbitmq-amqp-python-client)
  Using cached cffi-1.17.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB)
Collecting pycparser (from cffi>=1.0.0->python-qpid-proton<0.40.0,>=0.39.0->rabbitmq-amqp-python-client)
  Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Downloading rabbitmq_amqp_python_client-0.1.0b2-py3-none-any.whl (127 kB)
Downloading PyJWT-2.10.1-py3-none-any.whl (22 kB)
Using cached cffi-1.17.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (479 kB)
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Building wheels for collected packages: python-qpid-proton
  Building wheel for python-qpid-proton (pyproject.toml) ... done
  Created wheel for python-qpid-proton: filename=python_qpid_proton-0.39.0-cp313-cp313-linux_x86_64.whl size=1310571 sha256=d75170aebb7f3ee1b2958c787ceea053fa71c1677afb3d058599f6ea55980627
  Stored in directory: /home/lbakken/.cache/pip/wheels/58/b3/7a/2afdc7385c6dc45c62f62eb8e4bc7da05c89c749703b14aa8a
Successfully built python-qpid-proton
Installing collected packages: pyjwt, pycparser, cffi, python-qpid-proton, rabbitmq-amqp-python-client
Successfully installed cffi-1.17.1 pycparser-2.22 pyjwt-2.10.1 python-qpid-proton-0.39.0 rabbitmq-amqp-python-client-0.1.0b2

(venv) lbakken@PROKOFIEV ~/development/lukebakken/rabbitmq-amqp-python-client-60 (main =)
$ python ./repro.py
Traceback (most recent call last):
  File "/home/lbakken/development/lukebakken/rabbitmq-amqp-python-client-60/./repro.py", line 4, in <module>
    from rabbitmq_amqp_python_client import (  # PosixSSlConfigurationContext,; PosixClientCert,
    ...<10 lines>...
    )
  File "/home/lbakken/development/lukebakken/rabbitmq-amqp-python-client-60/venv/lib/python3.13/site-packages/rabbitmq_amqp_python_client/__init__.py", line 6, in <module>
    from .connection import Connection
  File "/home/lbakken/development/lukebakken/rabbitmq-amqp-python-client-60/venv/lib/python3.13/site-packages/rabbitmq_amqp_python_client/connection.py", line 13, in <module>
    import typing_extensions
ModuleNotFoundError: No module named 'typing_extensions'

Expected behavior

Correct installation.

Additional context

I noticed this while investigating #60

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions