Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Version constraints break allow-picked-versions = false #236
Comments
|
I just checked this and can confirm it with the versions you give. But when I update the zc.buildout version to 2.3.1 it works. You need to switch install-from-cache to false once so you can get the new buildout version, and after that you can switch to true again and buildout will run just fine. From the CHANGES.rst it looks like this is exactly the problem that was fixed in that buildout version. Can you confirm it works with 2.3.1 or later? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cjwatson commentedJan 21, 2015
The addition of simple version constraints in zc.buildout 2.0.0 appears to have broken
allow-picked-versions = falsein some cases. Here's a reduced example with zc.buildout 2.3.0 (disclaimer: I haven't actually tested back to 2.0.0):To initialise the test package (I did this inside
virtualenv --no-setuptools --no-pip), run:Now change buildout.cfg to have
install-from-cache = trueandallow-picked-versions = false, and try buildout again:The ==2.6 constraint comes from buildout.cfg, but the >=2.3 constraint comes from Sphinx 1.1.3. It seems to me that zc.buildout should notice that version 2.6 was defined in the buildout configuration and not make this an error just because it had to check it against an additional constraint.