python-dependency-injector
python-dependency-injector copied to clipboard
Python 3.12 support
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!
Did you find any solution to the problem?
I am prevented from updating my project's Python because of this library 😭
@rmk135 , when can we expect a new release for this with the support for python 3.12?
Is there any update on this issue?
Any update on python 3.12 support ?
There is some progress about supporting [email protected] https://github.com/ets-labs/python-dependency-injector/pull/765
The release with Python 3.12 support is on PyPI: https://pypi.org/project/dependency-injector/4.42.0b1/
pip install dependency-injector==4.42.0b1
Please report any issues you notice by opening an issue here: https://github.com/ets-labs/python-dependency-injector/issues
I'll publish the plan for future steps a bit later. There is a lot of work to do.
@rmk135 do you have an ETA for the stable 4.42?