Buildout version constraint logic is wrong

I am trying to pin packages from what was left in a buildout.log file, i.e.,

grep '^Got ' buildout.log|cut -c5-|sed 's/ /=/'

but buildout version constraints like this are failing:

Version and requirements information containing products.cmfquickinstallertool:
  [versions] constraint on products.cmfquickinstallertool: 4.0.1.
  Requirement of collective.revisionmanager: Products.CMFQuickInstallerTool>=3.0.9
  Installing client1.
Error: The requirement ('Products.CMFQuickInstallerTool>=3.0.9') is not allowed by your [versions] constraint (4.0.1.)

Is there a way to make buildout agree that 4.0.1 is indeed greater than or equal to 3.0.9?

Can it be that your versions file has 4.0.1. as version, including the last dot? That may mean the version is invalid and may sort below all other versions.

Otherwise: please tell your versions of Python, zc.buildout, setuptools and pip.

1 Like