Latest Eggs

0 views
Skip to first unread message

Eric Brunson

unread,
Sep 13, 2006, 12:39:11 PM9/13/06
to TurboGears
I got the message on TG-announce that 1.01 is out, but easy_install
still claims 0.9a8 is the best match. Do I have to do something special
since I was using a development release to go back to mainline or have
the eggs not yet reached the cheeseshop?

For reference:

wbebrunsonlx(~)$ uname -a
Linux wbebrunsonlx 2.6.17-1.2174_FC5 #1 Tue Aug 8 15:30:55 EDT 2006 i686
i686 i386 GNU/Linux

wbebrunsonlx(~)$ python -V
Python 2.4.3

wbebrunsonlx(~)$ sudo easy_install setuptools
Searching for setuptools
Best match: setuptools 0.6c1
Processing setuptools-0.6c1-py2.4.egg
setuptools 0.6c1 is already the active version in easy-install.pth
Installing easy_install script to /usr/bin
Installing easy_install-2.4 script to /usr/bin

Using /usr/lib/python2.4/site-packages/setuptools-0.6c1-py2.4.egg
Processing dependencies for setuptools

wbebrunsonlx(~)$ sudo easy_install turbogears
Searching for turbogears
Best match: TurboGears 0.9a8
Processing TurboGears-0.9a8-py2.4.egg
TurboGears 0.9a8 is already the active version in easy-install.pth
Installing tg-admin script to /usr/bin

Using /usr/lib/python2.4/site-packages/TurboGears-0.9a8-py2.4.egg
Processing dependencies for turbogears

Elvelind Grandin

unread,
Sep 13, 2006, 1:23:22 PM9/13/06
to turbo...@googlegroups.com

Graham Higgins

unread,
Sep 13, 2006, 4:31:18 PM9/13/06
to TurboGears
Elvelind Grandin wrote:
> http://www.turbogears.org/download/upgrade.html

???

I don't see any instructions on how to upgrade to 1.0 on that page,
just a mention that 1.0b1 exists. And a pointer to downloading the dev
version from svn.

The most recent upgrade instructions on that page are headed:

Updating from 0.9x to 0.9a5

I just svn up'd and ran setup.py develop, only for the process to fail
because the required TurboKid version was missing:

+ No local packages or download links found for TurboKid>=0.9.9
+ error: Could not find suitable distribution for
Requirement.parse('TurboKid>=0.9.9')

So, I followed the easy_install instructions on the page referenced ---
and experienced exactly the same failure, which is ironic because I use
Genshi exclusively.

Any ideas?

Adam Jones

unread,
Sep 13, 2006, 4:55:22 PM9/13/06
to TurboGears
You should be able to get an upgrade out of:

easy_install -Uf http://www.turbogears.org/download/index.html
TurboGears

TurboKid is still a requirement because some part of turbogears
(catwalk, the widgets, etc) use it.

Karl Guertin

unread,
Sep 13, 2006, 5:01:44 PM9/13/06
to turbo...@googlegroups.com
On 9/13/06, Graham Higgins <gjhi...@googlemail.com> wrote:
> So, I followed the easy_install instructions on the page referenced ---
> and experienced exactly the same failure, which is ironic because I use
> Genshi exclusively.
>
> Any ideas?

Actually, the instructions to update to the current version are given
at the top above the 0.9x to 0.9a5.

You must specify the URL, as it has changed from the 0.9 releases.

Graham Higgins

unread,
Sep 13, 2006, 5:08:58 PM9/13/06
to TurboGears
Solved-ish, I edited setup.cfg.

Graham Higgins

unread,
Sep 13, 2006, 6:24:48 PM9/13/06
to TurboGears
No cigar, sorry. This fails with exactly the same error.

Graham Higgins

unread,
Sep 13, 2006, 6:33:20 PM9/13/06
to TurboGears
Oooer. I thought I'd behave myself by slavishly following the
instructions on the upgrade page, in case I'd mis-copied or something.
So, I copied and pasted the instructions exactly as Karl gave (and
again saw the Requirement error).

Now, when I try to run TG I get:

pkg_resources.VersionConflict: (TurboKid 0.9.8
(/usr/lib/python2.4/site-packages/TurboKid-0.9.8-py2.4.egg),
Requirement.parse('TurboKid>=0.9.9'))

I will delete *everything* TG and reinstall from scratch. Good job this
is happening on the development server. I'm seriously not looking
forward to upgrading the production server.

gasolin

unread,
Sep 13, 2006, 9:31:29 PM9/13/06
to TurboGears
Eric :
To UPGRADE the version, you'd type

$ sudo easy_install -U TurboGears

instead of

$ easy_install turbogears (won't update your current version)


Graham Higgins wrote:
>
> Now, when I try to run TG I get:
>
> pkg_resources.VersionConflict: (TurboKid 0.9.8
> (/usr/lib/python2.4/site-packages/TurboKid-0.9.8-py2.4.egg),
> Requirement.parse('TurboKid>=0.9.9'))
>

Graham:

I'm not sure is the version changed,
but here's a quickfix from your log,

you may try to edit
"/usr/lib/python2.4/site-packages/turbogears.../turbogears/setup.py"

There's a "install_requires" list that contains "TurboKid >= 0.9.8"

Maybe in your version the value is changed to "TurboKid >= 0.9.9"(Which
isn't released yet)

--
Fred

ben.ha...@gmail.com

unread,
Sep 15, 2006, 1:41:31 AM9/15/06
to TurboGears
Looks like debian packages might not be such a bad idea (hmm or rpm?)!
I've got an old laptop that isn't crippled supporting me and a house so
I hope 1.0 goes smooth and my neck doesn't snap trying to figure out
all the name changes and betas. I can't wait till I can figure out how
to bring an older version up to logging at least and see it work. I
think the requires is neat that way I can gauge with the utmost
confidence what to fix and where to fix it. There was a great page on
updating from an older version of turbogears. Its probably a headache
to revise but its a great page. I hope that page goes in the book. I
would really like a debian howto on making eggs into deb packages. Its
not really needed though but the upgrading between versions like for
python 2.5 is a great idea there is probably a script somewhere. If
you know post it please.

Martin Geisler

unread,
Sep 15, 2006, 3:48:17 PM9/15/06
to turbo...@googlegroups.com
"ben.ha...@gmail.com" <ben.ha...@gmail.com> writes:

> Looks like debian packages might not be such a bad idea (hmm or

> rpm?)! [...]

I don't know if you already know this, but the Debian packages have
already been made for version 1.0b1.

They have just (three days ago) been uploaded to unstable:

http://packages.debian.org/unstable/python/python-turbogears

I was kind of relieved when I found them since the easy_install
installation procedure seem very alian to me.

--
Martin Geisler --- <mgei...@mgeisler.net> --- http://mgeisler.net

Read, write, create Exif data in PHP with PEL: http://pel.sf.net
Take control of your webserver with PHP Shell: http://phpshell.sf.net

Reply all
Reply to author
Forward
0 new messages