The problem was actually with setuptools and zc.buildout versions. See: Upgrade from Plone 5.0.10 to 5.1-latest BTree 4.4.1
Plone Foundation Code of Conduct