I don't think it's Python 3.11 itself, but the fact that there are no Python 3.11 wheels available on PyPI for Windows and macOS: https://pypi.org/project/lxml/4.9.1/#files
So this causes the wheel building process to fail. The easiest solution is to make Python 3.11 wheels available for those OSes, see bug 1977998.
Thanks for getting back!
I don't think it's Python 3.11 itself, but the fact that there are no Python 3.11 wheels available on PyPI for Windows and macOS: https:/ /pypi.org/ project/ lxml/4. 9.1/#files
So this causes the wheel building process to fail. The easiest solution is to make Python 3.11 wheels available for those OSes, see bug 1977998.
I can't figure out why the wheel building is failing in my environment in the first place. If someone wants to help me figure out, please see this log: https:/ /dev.azure. com/statsmodels /statsmodels- testing/ _build/ results? buildId= 4696&view= logs&j= c203999b- 4fb3-5854- a733-83d14a0104 89&t=84c4483e- 70f5-5851- 7133-396b4a3130 f5&l=416