Error in Brand New Django 1.4.1 released Yesterday

158 views
Skip to first unread message

JJ Zolper

unread,
Jul 31, 2012, 3:15:31 AM7/31/12
to django...@googlegroups.com
Hello all,

I didn't realize a new release was put out until something weird happened.

I'm installing DJ on my production server now and when I was downloading a copy from https://www.djangoproject.com/download/

and installed it and went into python:
>>> import django
>>> print django.get_version()
I didn't see 1.4.1 I saw 1.5

Sure it's probably a minor configuration fix to change it to 1.4.1 but I was really worried that I did something wrong.

Maybe someone else can repeat this and see if I made a mistake or that indeed something is wrong with the brand new release?

Cheers to all!

JJ

James Bennett

unread,
Jul 31, 2012, 3:30:31 AM7/31/12
to django...@googlegroups.com
On Tue, Jul 31, 2012 at 2:15 AM, JJ Zolper <codin...@gmail.com> wrote:
>>>> import django
>>>> print django.get_version()
>
> I didn't see 1.4.1 I saw 1.5
>
> Sure it's probably a minor configuration fix to change it to 1.4.1 but I was
> really worried that I did something wrong.
>
> Maybe someone else can repeat this and see if I made a mistake or that
> indeed something is wrong with the brand new release?

Here is django/__init__.py in the 1.4 release branch:

https://github.com/django/django/blob/stable/1.4.x/django/__init__.py

VERSION is (1, 4, 1, 'final', 0).

I downloaded a copy of the 1.4.1 tarball, unpacked it, and looked at
the __init__.py; again, VERSION was (1, 4, 1, 'final', 0).

JJ Zolper

unread,
Jul 31, 2012, 3:42:51 AM7/31/12
to django...@googlegroups.com
What about if you download it from the link I put.

I mean I'm sure it's fine just pointing out that where I got it from it said 1.5

James Bennett

unread,
Jul 31, 2012, 3:45:50 AM7/31/12
to django...@googlegroups.com
On Tue, Jul 31, 2012 at 2:42 AM, JJ Zolper <codin...@gmail.com> wrote:
> What about if you download it from the link I put.

When I said "I downloaded a copy of the 1.4.1 tarball", that's exactly
what I meant.

django.get_version() prints '1.4.1'. I do not know what the problem is
with your local install, but I can verify that it is not an issue with
the package on djangoproject.com.

JJ Zolper

unread,
Jul 31, 2012, 3:50:57 AM7/31/12
to django...@googlegroups.com
Okay I'm sure it's fine but I was able to get a hold of 1.4 from python.org and I used that when installing Django
to my server on bluehost.com for the time being I'm going to go with that.

Each time I tried to run the command on there after having downloaded the 1.4.1 file from https://www.djangoproject.com/download/
that's what I saw, 1.5.
Message has been deleted

JJ Zolper

unread,
Jul 31, 2012, 7:06:20 PM7/31/12
to django...@googlegroups.com
Nope. Not Python 1.4. Django 1.4.

http://pypi.python.org/pypi/Django/1.4#downloads

I ran the following commands in the python interpreter and saw the following:

>>> import django
>>> print django.get_version()
1.4

I'm good to go. Not sure if the 1.4.1 file off of djangoproject.com is in the right shape so I went with what I knew, 1.4.

Cheers,

JJ

Message has been deleted

Mike Dewhirst

unread,
Jul 31, 2012, 10:53:52 PM7/31/12
to django...@googlegroups.com
Yesterday I did ...

pip install --upgrade django

... and it happily upgraded mine to 1.4.1

Mike

On 1/08/2012 9:46am, Dennis Lee Bieber wrote:
> On Tue, 31 Jul 2012 16:06:20 -0700 (PDT), JJ Zolper
> <codin...@gmail.com> declaimed the following in
> gmane.comp.python.django.user:
>
>> Nope. Not Python 1.4. Django 1.4.
>>
>> http://pypi.python.org/pypi/Django/1.4#downloads
>>
> Intriguing... When I did my search python.org routed me to the
> Django server itself...
>

Babatunde Akinyanmi

unread,
Aug 1, 2012, 4:21:45 AM8/1/12
to django...@googlegroups.com
Just now I also did

pip install --upgrade django

>>> import django
>>> django.get_version()
'1.4.1'
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

--
Sent from my mobile device

Doug Blank

unread,
Aug 1, 2012, 5:08:27 AM8/1/12
to django...@googlegroups.com
On Tue, Jul 31, 2012 at 3:15 AM, JJ Zolper <codin...@gmail.com> wrote:
> Hello all,
>
> I didn't realize a new release was put out until something weird happened.
>
> I'm installing DJ on my production server now and when I was downloading a
> copy from https://www.djangoproject.com/download/

On that same page (option number 2) are a couple of links for the
"Latest Development Version". The zip file is named:

django-django-1.4-616-g8d3e501.zip

but indeed the version in the zip file is:

VERSION = (1, 5, 0, 'alpha', 0)

-Doug

> and installed it and went into python:
>
>>>> import django
>>>> print django.get_version()
>
> I didn't see 1.4.1 I saw 1.5
>
> Sure it's probably a minor configuration fix to change it to 1.4.1 but I was
> really worried that I did something wrong.
>
> Maybe someone else can repeat this and see if I made a mistake or that
> indeed something is wrong with the brand new release?
>
> Cheers to all!
>
> JJ
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/sN647bh67AAJ.

Russell Keith-Magee

unread,
Aug 1, 2012, 7:32:00 PM8/1/12
to django...@googlegroups.com
On Wed, Aug 1, 2012 at 5:08 PM, Doug Blank <doug....@gmail.com> wrote:
> On Tue, Jul 31, 2012 at 3:15 AM, JJ Zolper <codin...@gmail.com> wrote:
>> Hello all,
>>
>> I didn't realize a new release was put out until something weird happened.
>>
>> I'm installing DJ on my production server now and when I was downloading a
>> copy from https://www.djangoproject.com/download/
>
> On that same page (option number 2) are a couple of links for the
> "Latest Development Version". The zip file is named:
>
> django-django-1.4-616-g8d3e501.zip
>
> but indeed the version in the zip file is:
>
> VERSION = (1, 5, 0, 'alpha', 0)

That's because you've downloaded "Option 2: Latest development
version". 1.4 is our stable release. 1.5 is the version we are
currently developing

This means that the VERSION string is correct -- the latest
development version is a 1.5 pre-alpha. However, the file name is
misleading. The file name is auto generated by Github; I'll see what
can be done about correcting it.

Yours,
Russ Magee %-)

JJ Zolper

unread,
Aug 1, 2012, 8:38:58 PM8/1/12
to django...@googlegroups.com
Thanks for all the replies and help!

I attached an image of the link I downloaded multiples to try to get Django 1.4.1 and when I kept installing it on my BlueHost server it kept telling me it was version 1.5. I hope that makes my point clear.

I know a lot of you thought I was downloading the development version. Well being a rookie its possible but I swear to you all I was downloading the link where I have the box and that's what was happening.

Thanks a lot,

JJ
djangodwnld.png
Reply all
Reply to author
Forward
0 new messages