Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482498 - dev-python/south-0.8.1 fails tests
Summary: dev-python/south-0.8.1 fails tests
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard: Pending removal: 2017-08-14
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2013-08-26 03:05 UTC by Patrick Lauer
Modified: 2017-08-14 21:25 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Lauer gentoo-dev 2013-08-26 03:05:32 UTC
>>> Source compiled.
 * python3_2: running distutils-r1_run_phase python_test
 * python2_7: running distutils-r1_run_phase python_test
................................................../var/tmp/portage/dev-python/south-0.8.1/work/south-0.8.1-python3_2/lib/south/tests/logic.py:895: DeprecationWarning: Please use assertEqual instead.
  'add_field_fakeapp_slug')

/var/tmp/portage/dev-python/south-0.8.1/work/south-0.8.1-python3_2/lib/south/tests/logic.py:902: DeprecationWarning: Please use assertEqual instead.
  'add_index_fakeapp_slug')

............../usr/lib64/python2.7/site-packages/django/db/models/fields/__init__.py:827: RuntimeWarning: DateTimeField received a naive datetime (2013-08-25 22:04:43.613002) while time zone support is active.
  RuntimeWarning)

Traceback (most recent call last):
  File "/usr/lib64/python2.7/logging/__init__.py", line 872, in emit
    stream.write(fs % msg)
TypeError: unicode argument expected, got 'str'
Logged from file __init__.py, line 827
..../var/tmp/portage/dev-python/south-0.8.1/work/south-0.8.1-python3_2/lib/south/tests/logic.py:664: DeprecationWarning: Please use assertFalse instead.
  self.failIf(null_ok())

/var/tmp/portage/dev-python/south-0.8.1/work/south-0.8.1-python3_2/lib/south/tests/logic.py:522: DeprecationWarning: Please use assertTrue instead.
  return self.assert_(list1 == list2, "%s is not equal to %s" % (list1, list2))

...........sssssss.../var/tmp/portage/dev-python/south-0.8.1/work/south-0.8.1-python3_2/lib/south/tests/logic.py:673: DeprecationWarning: Please use assertTrue instead.
  self.assert_(null_ok(False))

./var/tmp/portage/dev-python/south-0.8.1/work/south-0.8.1-python3_2/lib/south/tests/logic.py:683: DeprecationWarning: Please use assertFalse instead.
  self.failIf(null_ok(), 'weight not null after migration')

.......sFATAL ERROR - The following SQL query failed: INSERT INTO test_alter_unique (spam, eggs) VALUES (1, 42)
The error was: column eggs is not unique
FATAL ERROR - The following SQL query failed: INSERT INTO test_alter_unique (spam, eggs) VALUES (1, 42)
The error was: column eggs is not unique
FATAL ERROR - The following SQL query failed: INSERT INTO test_alter_unique2 (spam, eggs) VALUES (0, 42)
The error was: columns spam, eggs are not unique
FATAL ERROR - The following SQL query failed: INSERT INTO test_alter_unique2 (spam, eggs) VALUES (0, 42)
The error was: columns spam, eggs are not unique
....s..../usr/lib64/python3.2/site-packages/django/db/models/fields/__init__.py:827: RuntimeWarning: DateTimeField received a naive datetime (2013-08-25 22:04:43.736486) while time zone support is active.
  RuntimeWarning)

FATAL ERROR - The following SQL query failed: insert into test_datetime_def (col0,col1,col2) values (null,%s,%s)
The error was: test_datetime_def.col3 may not be NULL
FATAL ERROR - The following SQL query failed: insert into test_datetime_def (col0,col2,col3) values (null,%s,%s)
The error was: test_datetime_def.col1 may not be NULL
........FATAL ERROR - The following SQL query failed: DROP TABLE "test_nonexistdeltable";
The error was: no such table: test_nonexistdeltable
....s.....s...
----------------------------------------------------------------------
Ran 93 tests in 0.324s

OK (skipped=11)
.......E...sssssss...E/var/tmp/portage/dev-python/south-0.8.1/work/south-0.8.1-python3_2/lib/south/tests/db.py:296: DeprecationWarning: Please use assertEqual instead.
  self.assertEquals(val, None)

Creating test database for alias 'default'...
Destroying test database for alias 'default'...
./var/tmp/portage/dev-python/south-0.8.1/work/south-0.8.1-python3_2/lib/south/tests/db.py:331: DeprecationWarning: Please use assertEqual instead.
  self.assertEquals(false, False)

.....sFATAL ERROR - The following SQL query failed: INSERT INTO test_alter_unique (spam, eggs) VALUES (1, 42)
The error was: column eggs is not unique
FATAL ERROR - The following SQL query failed: INSERT INTO test_alter_unique (spam, eggs) VALUES (1, 42)
The error was: column eggs is not unique
FATAL ERROR - The following SQL query failed: INSERT INTO test_alter_unique2 (spam, eggs) VALUES (0, 42)
The error was: columns spam, eggs are not unique
FATAL ERROR - The following SQL query failed: INSERT INTO test_alter_unique2 (spam, eggs) VALUES (0, 42)
The error was: columns spam, eggs are not unique
...s../var/tmp/portage/dev-python/south-0.8.1/work/south-0.8.1-python3_2/lib/south/tests/db.py:691: DeprecationWarning: Please use assertEqual instead.
  self.failUnlessEqual(len(ends), 3)

/var/tmp/portage/dev-python/south-0.8.1/work/south-0.8.1-python3_2/lib/south/tests/db.py:693: DeprecationWarning: Please use assertEqual instead.
  self.failUnlessEqual(e, end_of_world)

FATAL ERROR - The following SQL query failed: insert into test_datetime_def (col0,col1,col2) values (null,%s,%s)
The error was: test_datetime_def.col3 may not be NULL
FATAL ERROR - The following SQL query failed: insert into test_datetime_def (col0,col2,col3) values (null,%s,%s)
The error was: test_datetime_def.col1 may not be NULL
........FATAL ERROR - The following SQL query failed: DROP TABLE "test_nonexistdeltable";
The error was: no such table: test_nonexistdeltable
....s.....s...
======================================================================
ERROR: test_guess_migration (south.tests.logic.TestMigrations)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/south-0.8.1/work/south-0.8.1-python3_2/lib/south/tests/logic.py", line 486, in test_guess_migration
    migration.guess_migration, "0001-spam")
  File "/usr/lib64/python3.2/unittest/case.py", line 557, in assertRaises
    callableObj(*args, **kwargs)
  File "/var/tmp/portage/dev-python/south-0.8.1/work/south-0.8.1-python3_2/lib/south/migration/base.py", line 214, in guess_migration
    return self._guess_migration(prefix=target_name)
  File "/var/tmp/portage/dev-python/south-0.8.1/work/south-0.8.1-python3_2/lib/south/migration/base.py", line 206, in _guess_migration
    raise exceptions.UnknownMigration(prefix, None)
  File "/var/tmp/portage/dev-python/south-0.8.1/work/south-0.8.1-python3_2/lib/south/exceptions.py", line 18, in __init__
    self.traceback = format_exc()
  File "/usr/lib64/python3.2/traceback.py", line 269, in format_exc
    format_exception(etype, value, tb, limit, chain))
  File "/usr/lib64/python3.2/traceback.py", line 180, in format_exception
    for value, tb in values:
  File "/usr/lib64/python3.2/traceback.py", line 122, in _iter_chain
    cause = exc.__cause__
AttributeError: 'NoneType' object has no attribute '__cause__'

======================================================================
ERROR: test_not_modified_auto (south.tests.autodetection.TestNonManagedIgnored)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/south-0.8.1/work/south-0.8.1-python3_2/lib/south/tests/autodetection.py", line 352, in test_not_modified_auto
    if list(change_list):
  File "/var/tmp/portage/dev-python/south-0.8.1/work/south-0.8.1-python3_2/lib/south/creator/changes.py", line 194, in get_changes
    new_fields, new_meta, new_m2ms = self.split_model_def(self.current_model_from_key(key), self.new_defs[key])
  File "/var/tmp/portage/dev-python/south-0.8.1/work/south-0.8.1-python3_2/lib/south/creator/changes.py", line 34, in split_model_def
    elif isinstance(model._meta.get_field_by_name(name)[0], models.ManyToManyField):
AttributeError: 'NoneType' object has no attribute '_meta'

----------------------------------------------------------------------
Ran 93 tests in 0.347s

FAILED (errors=2, skipped=11)
Creating test database for alias 'default'...
Destroying test database for alias 'default'...
 * ERROR: dev-python/south-0.8.1::gentoo failed (test phase):
 *   tests failed for python3.2
Comment 1 Pacho Ramos gentoo-dev 2017-07-12 07:50:09 UTC
This is masked for a long time:
# Justin Lecher <jlec@gentoo.org> (28 Feb 2015)
# Unfixed security problems
# No upstream support anymore
# CVE-2015-{0219,0220,0221,0222,5145}
# CVE-2016-{9013,9014},CVE-2017-{7233,7234}
# #536586
# #554864
=dev-python/django-1.4*
=dev-python/django-1.5*
=dev-python/django-1.6*
=dev-python/django-1.7*
=dev-python/django-1.9*
# Not supported by any django version upstream supports
dev-python/south

Probably time to treeclean
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-08-14 21:25:16 UTC
commit 3200b8c5587d511b6c9574319acf29a52716e780
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: Mon Aug 14 23:23:21 2017
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: Mon Aug 14 23:24:44 2017

    dev-python/south: Remove last-rited pkg, #482498