You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 OCR-D/ocrd_all#386 for our current state of affairs in that direction).
So I've finally decided to get rid of the wheel option for detectron2 and always install from master. That in turn allows using more recent Torch versions, which are compatible with current setuptools, numpy and whathaveyou.
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.
The text was updated successfully, but these errors were encountered: