Skip to content

Fail to install dependencies with Python 3.13 and 3.12 #3168

@rgaiacs

Description

@rgaiacs

Bug description

One of the dependency, ruamel-yaml-clib, is not compatible with Python 3.13 and 3.12.

How to reproduce

micromamba create -n py3.13 python=3.13
micromamba activate py3.13
python -m pip install -r requirements.txt

Expected behaviour

Install dependencies with success.

Actual behaviour

        111 | PyAPI_FUNC(int) _PyLong_AsByteArray(PyLongObject* v,
            |                 ^~~~~~~~~~~~~~~~~~~
      _ruamel_yaml.c: In function ‘__Pyx_PyIndex_AsSsize_t’:
      _ruamel_yaml.c:29276:45: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
      29276 |     const digit* digits = ((PyLongObject*)b)->ob_digit;
            |                                             ^~
      error: command '/usr/bin/gcc' 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 ruamel-yaml-clib
Failed to build ruamel-yaml-clib
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (ruamel-yaml-clib)

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