Bug 17915 - python-django new bugfix release 1.8.11 fixes regression in 1.8.10
Summary: python-django new bugfix release 1.8.11 fixes regression in 1.8.10
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: has_procedure advisory MGA5-64-OK MGA...
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2016-03-08 20:16 CET by David Walser
Modified: 2016-03-10 14:10 CET (History)
3 users (show)

See Also:
Source RPM: python-django-1.8.10-1.mga5.src.rpm
CVE:
Status comment:


Attachments

Description David Walser 2016-03-08 20:16:27 CET
Upstream released version 1.8.11 on March 5 to fix a regression in the last security update:
https://www.djangoproject.com/weblog/2016/mar/05/bugfix-releases/

Advisory:
----------------------------------------

The python-django package has been updated to version 1.8.11 to fix a
regression in the previous security update, MGASA-2016-0096.

References:
https://docs.djangoproject.com/en/stable/releases/1.8.11/
http://advisories.mageia.org/MGASA-2016-0096.html
----------------------------------------

Updated packages in core/updates_testing:
----------------------------------------
python-django-1.8.10-1.mga5
python-django-bash-completion-1.8.10-1.mga5
python3-django-1.8.10-1.mga5
python-django-doc-1.8.10-1.mga5

from python-django-1.8.10-1.mga5.src.rpm
Comment 1 David Walser 2016-03-08 20:16:50 CET
Testing procedure:
https://bugs.mageia.org/show_bug.cgi?id=17860#c7

CC: (none) => makowski.mageia
Whiteboard: (none) => has_procedure

Comment 2 Philippe Makowski 2016-03-08 20:41:11 CET
Updated packages in core/updates_testing:
----------------------------------------
python-django-1.8.11-1.mga5
python-django-bash-completion-1.8.11-1.mga5
python3-django-1.8.11-1.mga5
python-django-doc-1.8.11-1.mga5

from python-django-1.8.11-1.mga5.src.rpm
Comment 3 Len Lawrence 2016-03-09 12:42:52 CET
mga5  x86_64  Mate

Installed python-django-1.8.11-1.mga5
python-django-bash-completion-1.8.11-1.mga5
python3-django-1.8.11-1.mga5

Repeated the tests from earlier tests, referred to in comment 1.
 
$ django-admin startproject mysite
$ cd mysite
$ python manage.py runserver
Performing system checks...

System check identified no issues (0 silenced).

You have unapplied migrations; your app may not work properly until they are applied.
Run 'python manage.py migrate' to apply them.

March 09, 2016 - 11:24:37
Django version 1.8.11, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
[09/Mar/2016 11:25:26] "GET / HTTP/1.1" 200 1767
[09/Mar/2016 11:25:26] "GET /favicon.ico HTTP/1.1" 404 1936
[09/Mar/2016 11:25:26] "GET /favicon.ico HTTP/1.1" 404 1936

Message at localhost:8000 reported success.

Cleaned up and ran the test for python3 and django-python3...
"Welcome to django" in the browser at localhost:8000.

Performed the migrate operation.
$ python3 manage.py migrate
Operations to perform:
  Synchronize unmigrated apps: messages, staticfiles
  Apply all migrations: admin, auth, contenttypes, sessions
Synchronizing apps without migrations:
  Creating tables...
    Running deferred SQL...
  Installing custom SQL...
Running migrations:
  Rendering model states... DONE
  Applying contenttypes.0001_initial... OK
  Applying auth.0001_initial... OK
  Applying admin.0001_initial... OK
  Applying contenttypes.0002_remove_content_type_name... OK
  Applying auth.0002_alter_permission_name_max_length... OK
  Applying auth.0003_alter_user_email_max_length... OK
  Applying auth.0004_alter_user_username_opts... OK
  Applying auth.0005_alter_user_last_login_null... OK
  Applying auth.0006_require_contenttypes_0002... OK
  Applying sessions.0001_initial... OK

CC: (none) => tarazed25

Len Lawrence 2016-03-09 12:43:16 CET

Whiteboard: has_procedure => has_procedure MGA5-64-OK

Comment 4 Len Lawrence 2016-03-09 13:15:48 CET
mga5  i586 in virtualbox  Mate

python-django-1.8.11-1.mga5
python-django-bash-completion-1.8.11-1.mga5
python3-django-1.8.11-1.mga5
python-django-doc-1.8.11-1.mga5

Tests referenced in comment 1:
$ django-admin startproject mysite
$ ls mysite
manage.py  mysite

Started the server and checked that the browser page at localhost:8000 displayed the "It worked!" message.

The 'python manage.py migrate' command concluded successfully also.

Removed mysite directories and files.

Started the python3 django3 tests with:
$ python3-django-admin startproject mysite

All results agreed with the tests on 64-bit architecture.

Validating this.  Could someone from sysadmin please push these to mga5 updates.
Len Lawrence 2016-03-09 13:16:20 CET

Keywords: (none) => validated_update
Whiteboard: has_procedure MGA5-64-OK => has_procedure MGA5-64-OK MGA5-32-OK
CC: (none) => sysadmin-bugs

Comment 5 claire robinson 2016-03-09 14:23:52 CET
Advisory uploaded.

Whiteboard: has_procedure MGA5-64-OK MGA5-32-OK => has_procedure advisory MGA5-64-OK MGA5-32-OK

Comment 6 David Walser 2016-03-10 00:33:33 CET
Package version was incorrect in the advisory (sorry), fixed in SVN.
Comment 7 Mageia Robot 2016-03-10 14:10:55 CET
An update for this issue has been pushed to the Mageia Updates repository.

http://advisories.mageia.org/MGAA-2016-0040.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.