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

Fail to install dependencies with Python 3.13 and 3.12 #3168

Open
rgaiacs opened this issue Jan 17, 2025 · 0 comments
Open

Fail to install dependencies with Python 3.13 and 3.12 #3168

rgaiacs opened this issue Jan 17, 2025 · 0 comments

Comments

@rgaiacs
Copy link
Collaborator

rgaiacs commented Jan 17, 2025

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)
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

1 participant