In 610485faa7 a setupHook was added to `pytest` to prevent the creation of `.pytest-cache` folder. Some pytest plugins relied on the cache and were thus failing. This commit permits the cache during build time but removes it in a `postFixupHook`.
610485faa7