Skip to content

wxPython 4.2.1 compile issue. Can I use a newer version? #2728

@okoolo

Description

@okoolo

requirements file has wxPython==4.2.1
Do I really need that specific wxPython version? My distro (catchyOS) has 4.2.4.1 so I need to compile the wheel for 4.2.1 (cant find a precompiled wheel) which turns out to be a major hassle. Namely I get siplib compile errors:

 [ 10/939] Compiling sip/siplib/siplib.c
  ../../../../sip/siplib/siplib.c: In function ‘sip_api_build_result’:
  ../../../../sip/siplib/siplib.c:2348:17: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   2348 |         if ((ep = strchr(fmt,')')) == NULL || ep[1] != '\0')
        |                 ^
  ../../../../sip/siplib/siplib.c: In function ‘parsePass1’:
  ../../../../sip/siplib/siplib.c:3900:20: ****error: assignment to ‘sipSimpleWrapper *’ {**aka ‘struct _sipSimpleWrapper *’} from incompatible pointer** type ‘PyObject *’ {aka ‘struct _object *’} [-Wincompatible-pointer-types]
   3900 |             *selfp = va_arg(va, PyObject *);
        |                    ^

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