Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect upgrade version #7

Closed
mordillo123 opened this issue Apr 2, 2012 · 1 comment
Closed

Detect upgrade version #7

mordillo123 opened this issue Apr 2, 2012 · 1 comment

Comments

@mordillo123
Copy link

I'm not able to detect the new version of Django package
My tests:

(devel)a427137@prometeo:/src/km/dj/gfor2$ yolk -S name=Django | grep (1.4)
Django (1.4):
(devel)a427137@prometeo:
/src/km/dj/gfor2$ yolk -l | grep Django
Django - 1.3.1 - active
(devel)a427137@prometeo:/src/km/dj/gfor2$ yolk -U
No newer packages found at The Cheese Shop
(devel)a427137@prometeo:
/src/km/dj/gfor2$ yolk -U Django
You have the latest version installed.

Debian wheezy/sid
Linux prometeo 3.2.0-2-amd64 #1 SMP Tue Mar 20 18:36:37 UTC 2012
Two Intel Unknown 1200MHz processors, 7182.27 total bogomips, 3956M RAM
System library 2.13.0
Yolk 0.4.3
Python 2.7.2
Vitualenv 1.7

Yolk works fine previously (just few days before I upgraded some packages)

@mordillo123
Copy link
Author

Hi, probably I found the problem.

In yolklib.py at line 170 adding
"sorted_versions.sort()"
before "sorted_versions.reverse()"

that fixes my problem.
I have tested this simple change in many virtualenv with many differents package compilations.

I hope that was right :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants