Skip to content

Improve build cache fixing python-docutils cache getting dirty

Gabriel Mazetto requested to merge feature/improve-build-cache into master

This MR fixes #1380 (closed)

python-docutils was dirting the cache because the way python 2.x works, it stores .pyc files in the same folder as the source-code. While installing python-docutils specific version, it was invalidating a lot of .pyc previous generated files for unknown reason.

The solution is to start using python3 (and pip3) to install python-docutils.

We cannot remove python2 from the omnibus yet, as nodejs still requires it as part of the compiling process. I don't know enough about how the omnibus works, but if it's possible to have a dependency only to help the build process, then we can python2 only to help build nodejs and not bundle it on our final package.

cc @stanhu

Should we release this in a 8.10.x patch release or wait for 8.11?


Executing the same commit:

Edited by 🤖 GitLab Bot 🤖

Merge request reports