Skip to content

Improve bob-devel test to implement setuptools integrity tests for certain packages

André Anjos requested to merge pkg-integrity-test into master

This MR introduces a setuptools "integrity" check on certain packages to ensure that issues related to plugin loading will not affect users. Currently, the package pytorch==1.7 is faulty. After installation, using pkg_resources.require("torch") crashes with a missing package. While this has been fixed upstream (https://github.com/pytorch/pytorch/issues/46930), this test is here to prevent we import broken packages in the future.

This MR also introduces a temporary fix for this issue (adding dataclasses and future in bob-devel).

Edited by André Anjos

Merge request reports