Broken build (ocrd_detectron2)
Closed this issue · 2 comments
stweil commented
See bertsky/ocrd_detectron2#29 for details. It is broken with any Python version.
bertsky commented
Ah, now I get what's really going on. It's still broken on master, but I could not reproduce elsewhere, because it's a bit fuzzy: it depends on whether kraken or detectron2 get installed first. If Kraken makes it, then due to its torch~=2.1
requirement, we end up with pypa/setuptools#4385.
bertsky commented
No, wait. That CI failure was from your merge. The current master with my #436 is fine.
And the reason this works is because I moved ocrd_kraken to the sub-venv, where it can install its own Pytorch independent of Detectron2.