On Tue, Dec 30, 2014 at 8:26 PM, Iain Duncan <[email protected]>
wrote:

> Thanks Tres, does that mean I could use an older version of Setuptools
> too, or is this something I can solve without doing that? I don't even get
> this though, is Paste 1.7.5 not Paste > 1.7?
>
> thanks
> Iain
>
>
Yeah, this means you need to actually pin your pip, virtualenv, and
setuptools to make sure they do the right things.

Currently I'm using:

pip <= 1.5.6
setuptools <= 7.0
virtualenv <= 1.11.6

This will keep out any changes related to PEP440.

The thought behind > 1.7 not matching 1.7.5 is that they think you want to
be greater than the 1.7 *series*.  So if you wanted to match 1.7.5 but not
1.7.1 you would use >= 1.7.1  or > 1.7.0.

There are plenty of other major changes that mess things up like comma now
meaning AND even though it was treated as OR before, so something like
"<=1.7.1, >=1.7.4"  to exclude 1.7.2 and 1.7.3 no longer works.

If you also use the pre-releases to mark stable vs development versions
like 1.7.0-develop that is no longer a "valid" version and none of the
matching mechanisms actually work with it.

- sontek



> On Tue, Dec 30, 2014 at 6:56 PM, Tres Seaver <[email protected]>
> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 12/30/2014 08:04 PM, Iain Duncan wrote:
>> > Hi folks, I'm moving an older pyramid 1.1 project that was built
>> > using buildout, and I'm getting a strange versioning error:
>> >
>> > While: Installing dependencies. Error: There is a version conflict. We
>> > already have: Paste 1.7.5.1 but pyramid 1.1 requires 'Paste>1.7'.
>> >
>> > As far as I can tell, Paste 1.7.5 is the latest Paste.
>> >
>> > This is odd to me because the same buildout file worked on the old
>> > server. The egg list looks like this:
>> >
>> > eggs = ${buildout:eggs} Pyramid==1.1 WebOb==1.2 WebTest<2.0
>> > SQLAlchemy<0.7 MySQL-python==1.2.3 pyramid_zcml==0.9.2 simplejson
>> > formencode tempita webtest PyQuery BeautifulSoup4 PasteScript nose
>> > nose-testconfig
>> >
>> > Anyone have any idea what might resolve this?
>>
>> This is breakage due to new versions of setuptools, trying to implement
>> PEP 440.  I think the consensus on the distutils SIG is to roll that
>> back.  In the meantime, you probably need to pin *all* versions in your
>> buildout explicitly.
>>
>>
>> Ters.
>> - --
>> ===================================================================
>> Tres Seaver          +1 540-429-0999          [email protected]
>> Palladion Software   "Excellence by Design"    http://palladion.com
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.11 (GNU/Linux)
>>
>> iEYEARECAAYFAlSjZeIACgkQ+gerLs4ltQ47UgCeJ0C1aqDLLOzMuXHIYvTHfsLm
>> oL0AnjPF7G4y7G/bJI//FckbZ/mJQYIF
>> =idAg
>> -----END PGP SIGNATURE-----
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "pylons-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at http://groups.google.com/group/pylons-discuss.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/pylons-discuss.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to