Skip to content

[1.6.9] Failed building wheel for uamqp #386

@cicharka

Description

@cicharka
  • UAMQP Package Version: 1.6.9
  • Operating System: macOS 14.4 (23E214)
  • Python Version: 3.8.18, 3.9.18, 3.11.6

Describe the bug
Failed to install directly with pip:

pip install uamqp ... uamqp/c_uamqp.c:65557:146: error: incompatible function pointer types passing 'void (void *, enum MESSAGE_RECEIVER_STATE_TAG, enum MESSAGE_RECEIVER_STATE_TAG)' to parameter of type 'ON_MESSAGE_RECEIVER_STATE_CHANGED' (aka 'void (*)(const void *, enum MESSAGE_RECEIVER_STATE_TAG, enum MESSAGE_RECEIVER_STATE_TAG)') [-Wincompatible-function-pointer-types] __pyx_t_1 = ((struct __pyx_vtabstruct_5uamqp_7c_uamqp_cMessageReceiver *)__pyx_v_receiver->__pyx_vtab)->create(__pyx_v_receiver, __pyx_v_link, __pyx_f_5uamqp_7c_uamqp_on_message_receiver_state_changed, ((void *)__pyx_v_callback_context)); if (unlikely(!__pyx_t_1)) __PYX_ERR(7, 23, __pyx_L1_error) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ... 35 warnings and 1 error generated. error: command '/usr/bin/clang' failed with exit code 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for uamqp Failed to build uamqp ERROR: Could not build wheels for uamqp, which is required to install pyproject.toml-based projects

To Reproduce
Steps to reproduce the behavior:

  1. Create virtual env with desired python version
  2. Install package with pip install uamqp or pip install uamqp==1.6.9

Expected behavior
Package should be installed.

Additional context
Installation of version 1.6.8 works fine.
Release 1.6.9 is blocking installation of requirements for azure collection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions