Open stweil opened 1 month ago
Too bad py311 already threw this long-standing practise out. But I'm afraid there's not much downstream tools can do about this.
Or what are you suggesting – that I patch pytorch?
The only way out of this mess (CUDA, ML framework API changes, Numpy and OpenCV API changes, pure Python libs getting changed, Python version) is freezing dependencies for all processors and encapsulating them as a service container (see https://github.com/OCR-D/ocrd_all/pull/386 for our current state of affairs in that direction).
It is broken with any Python version.
Build fails (and breaks ocrd_all builds, too). This is the failing part:
The failure is due to deprecation of pkg_resources API from setuptools since version 68: https://setuptools.pypa.io/en/latest/pkg_resources.html.