It's rarely the python version itself that is the problem (provided everything supports 3.9+ or similarly recent versions).
The package versions are however fraught - our machine learning codebase at work only was stuck on the 1.x versions of numpy for more than a year, as scipy and ultralytics both took forever to upgrade, and that prevented us adopting packages that depend on the 2.x numpy.