Random BadZipFile on drone
We have randomly some failure on drone build like [1].
My analysis is that the "pip install" command, launched from tox to install the sdist, store in the cache a wheel for this package. But the name of the wheel is twice build for a single run: for sqlite and postgres venv (as the wheel name contains the python version). So it may happen that one run is overwriting in the shared cache the same wheel that another run is trying to install.
Indeed this can even happen when different changesets are build at the same time.
For me, the package name (e.g. version) should be different for each drone build to avoid any collision. The only drawback is that the cache is going to be filled by wheel for each build. But we can just clear the cache every month for example.
[1] https://drone.tryton.org/tryton/trytond/14/11