Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 624668 - dev-python/django-two-factor-auth-1.3.0: removal (was: fails tests)
Summary: dev-python/django-two-factor-auth-1.3.0: removal (was: fails tests)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: Pending removal: 2018-07-17
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2017-07-12 11:25 UTC by Pacho Ramos
Modified: 2018-07-28 12:06 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 Pacho Ramos gentoo-dev 2017-07-12 11:25:47 UTC
>>> Test phase: dev-python/django-two-factor-auth-1.3.0
 * python2_7: running distutils-r1_run_phase python_test
make -j9 test 
DJANGO_SETTINGS_MODULE=tests.settings PYTHONPATH=. \
	django-admin.py test tests
Creating test database for alias 'default'...
Traceback (most recent call last):
  File "/usr/lib/python-exec/python2.7/django-admin.py", line 5, in <module>
    management.execute_from_command_line()
  File "/usr/lib64/python2.7/site-packages/django/core/management/__init__.py", line 363, in execute_from_command_line
    utility.execute()
  File "/usr/lib64/python2.7/site-packages/django/core/management/__init__.py", line 355, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib64/python2.7/site-packages/django/core/management/commands/test.py", line 29, in run_from_argv
    super(Command, self).run_from_argv(argv)
  File "/usr/lib64/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/lib64/python2.7/site-packages/django/core/management/base.py", line 330, in execute
    output = self.handle(*args, **options)
  File "/usr/lib64/python2.7/site-packages/django/core/management/commands/test.py", line 62, in handle
    failures = test_runner.run_tests(test_labels)
  File "/usr/lib64/python2.7/site-packages/django/test/runner.py", line 602, in run_tests
    self.run_checks()
  File "/usr/lib64/python2.7/site-packages/django/test/runner.py", line 562, in run_checks
    call_command('check', verbosity=self.verbosity)
  File "/usr/lib64/python2.7/site-packages/django/core/management/__init__.py", line 130, in call_command
    return command.execute(*args, **defaults)
  File "/usr/lib64/python2.7/site-packages/django/core/management/base.py", line 330, in execute
    output = self.handle(*args, **options)
  File "/usr/lib64/python2.7/site-packages/django/core/management/commands/check.py", line 68, in handle
    fail_level=getattr(checks, options['fail_level']),
  File "/usr/lib64/python2.7/site-packages/django/core/management/base.py", line 359, in check
    include_deployment_checks=include_deployment_checks,
  File "/usr/lib64/python2.7/site-packages/django/core/management/base.py", line 346, in _run_checks
    return checks.run_checks(**kwargs)
  File "/usr/lib64/python2.7/site-packages/django/core/checks/registry.py", line 81, in run_checks
    new_errors = check(app_configs=app_configs)
  File "/usr/lib64/python2.7/site-packages/django/core/checks/urls.py", line 16, in check_url_config
    return check_resolver(resolver)
  File "/usr/lib64/python2.7/site-packages/django/core/checks/urls.py", line 26, in check_resolver
    return check_method()
  File "/usr/lib64/python2.7/site-packages/django/urls/resolvers.py", line 254, in check
    for pattern in self.url_patterns:
  File "/usr/lib64/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "/usr/lib64/python2.7/site-packages/django/urls/resolvers.py", line 405, in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  File "/usr/lib64/python2.7/site-packages/django/utils/functional.py", line 35, in __get__
    res = instance.__dict__[self.name] = self.func(instance)
  File "/usr/lib64/python2.7/site-packages/django/urls/resolvers.py", line 398, in urlconf_module
    return import_module(self.urlconf_name)
  File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/var/tmp/portage/dev-python/django-two-factor-auth-1.3.0/work/django-two-factor-auth-1.3.0/tests/urls.py", line 4, in <module>
    from two_factor.views import LoginView
  File "/var/tmp/portage/dev-python/django-two-factor-auth-1.3.0/work/django-two-factor-auth-1.3.0/two_factor/views/__init__.py", line 1, in <module>
    from .core import (LoginView, SetupView, BackupTokensView, PhoneSetupView,
  File "/var/tmp/portage/dev-python/django-two-factor-auth-1.3.0/work/django-two-factor-auth-1.3.0/two_factor/views/core.py", line 42, in <module>
    from .utils import (IdempotentSessionWizardView, class_view_decorator)
  File "/var/tmp/portage/dev-python/django-two-factor-auth-1.3.0/work/django-two-factor-auth-1.3.0/two_factor/views/utils.py", line 4, in <module>
    from django.utils.functional import lazy_property
ImportError: cannot import name lazy_property
make: *** [Makefile:17: test] Error 1
 * ERROR: dev-python/django-two-factor-auth-1.3.0::gentoo failed (test phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-python/django-two-factor-auth-1.3.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-python/django-two-factor-auth-1.3.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/build/dev-python/django-two-factor-auth-1.3.0:20170712-112322.log.gz'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/django-two-factor-auth-1.3.0/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-python/django-two-factor-auth-1.3.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-python/django-two-factor-auth-1.3.0/work/django-two-factor-auth-1.3.0'
 * S: '/var/tmp/portage/dev-python/django-two-factor-auth-1.3.0/work/django-two-factor-auth-1.3.0'

Also needs an obsolete django-phonenumber-field version
Comment 1 Johann Schmitz (ercpe) (RETIRED) gentoo-dev 2017-07-15 05:59:26 UTC
This should be resolved with this patch: https://github.com/Bouke/django-two-factor-auth/pull/195/commits/6ec9227d78ef797b17b72d5a20888db51a0557d3#diff-b1ff652aa2be6d95b59efba9eee6dce3 but it needs django-formtools-2.0 to run the test suite
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-27 18:28:08 UTC
This package would really use a version bump.  However, given that it has no revdeps and no apparent users, we may as well treeclean it.
Comment 3 Larry the Git Cow gentoo-dev 2018-07-28 12:06:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd2c0c5a89d94ef52a1dfd347dd45499fa447000

commit cd2c0c5a89d94ef52a1dfd347dd45499fa447000
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-07-28 12:04:48 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-07-28 12:04:48 +0000

    dev-python/django-two-factor-auth: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/624668

 dev-python/django-two-factor-auth/Manifest         |  1 -
 .../django-two-factor-auth-1.3.0.ebuild            | 40 ----------------------
 dev-python/django-two-factor-auth/metadata.xml     | 11 ------
 profiles/package.mask                              |  5 ---
 4 files changed, 57 deletions(-)