Build: resolve errors & deprecation warnings with Python 3.14 beta

Python 3.14 has moved some functionality into the public API,
use the updated names even with older Python versions.

Also resolve an error caused by variable reuse with delayed annotation
evaluation for TextureProperties_MixIn on startup.

Resolve #140695.
This commit is contained in:
Campbell Barton
2025-06-20 04:19:35 +00:00
parent f3b0600083
commit 6197335658
50 changed files with 109 additions and 63 deletions

View File

@@ -19,7 +19,7 @@
#include "GPU_init_exit.hh"
#include "../generic/py_capi_utils.hh"
#include "../generic/python_compat.hh"
#include "../generic/python_compat.hh" /* IWYU pragma: keep. */
#include "../generic/python_utildefines.hh"
#include "../mathutils/mathutils.hh"