Skip to content

Python 3.12 support #737

Closed
Closed
@toinbis

Description

@toinbis

As python 3.12 RC is released and a release is planned in 1.5months, I like to report in advance that there are issues with installing dependency-injector. On mac,

pip install dependency-injector for python 3.12RC1 gives:

src/dependency_injector/containers.c:39078:47: error: no member named 'ob_digit' in 'struct _longobject'
          const digit* digits = ((PyLongObject*)b)->ob_digit;
                                ~~~~~~~~~~~~~~~~~~  ^
      114 warnings and 12 errors 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 dependency-injector
Failed to build dependency-injector

Or maybe it's not an issue with a library, but an issue with the build chain not being ready for 3.12?
Thanks in advance!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions