-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build broken with latest setuptools 70.0.0 #29
Comments
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). |
It is broken with any Python version. |
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: