[Bug 1342688] Review Request: python-livereload - Command line utility for starting a server in a directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1342688



--- Comment #5 from Julien Enselme <jujens@xxxxxxxxx> ---
> The wrong shebang is in the docs subpackage, since it is a example I do not want to patch the upstream samples.

OK

Package looks good. However, I have failing tests in mock:

+ /usr/bin/python3 setup.py test
running test
running egg_info
writing dependency_links to livereload.egg-info/dependency_links.txt
writing livereload.egg-info/PKG-INFO
writing entry points to livereload.egg-info/entry_points.txt
writing top-level names to livereload.egg-info/top_level.txt
writing requirements to livereload.egg-info/requires.txt
reading manifest file 'livereload.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'livereload.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
  File "setup.py", line 57, in <module>
    'Topic :: Software Development :: Debuggers',
  File "/usr/lib64/python3.5/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib64/python3.5/distutils/dist.py", line 955, in run_commands
    self.run_command(cmd)
  File "/usr/lib64/python3.5/distutils/dist.py", line 974, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.5/site-packages/setuptools/command/test.py", line 172,
in run
    self.run_tests()
  File "/usr/lib/python3.5/site-packages/setuptools/command/test.py", line 193,
in run_tests
    testRunner=self._resolve_as_ep(self.test_runner),
  File "/usr/lib64/python3.5/unittest/main.py", line 93, in __init__
    self.parseArgs(argv)
  File "/usr/lib64/python3.5/unittest/main.py", line 123, in parseArgs
    self._do_discovery([])
  File "/usr/lib64/python3.5/unittest/main.py", line 228, in _do_discovery
    self.test = loader.discover(self.start, self.pattern, self.top)
  File "/usr/lib64/python3.5/unittest/loader.py", line 341, in discover
    tests = list(self._find_tests(start_dir, pattern))
  File "/usr/lib64/python3.5/unittest/loader.py", line 398, in _find_tests
    full_path, pattern, namespace)
  File "/usr/lib64/python3.5/unittest/loader.py", line 475, in _find_test_path
    tests = self.loadTestsFromModule(package, pattern=pattern)
  File "/usr/lib/python3.5/site-packages/setuptools/command/test.py", line 40,
in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/usr/lib64/python3.5/unittest/loader.py", line 190, in
loadTestsFromName
    return self.loadTestsFromModule(obj)
  File "/usr/lib/python3.5/site-packages/setuptools/command/test.py", line 40,
in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/usr/lib64/python3.5/unittest/loader.py", line 190, in
loadTestsFromName
    return self.loadTestsFromModule(obj)
  File "/usr/lib/python3.5/site-packages/setuptools/command/test.py", line 40,
in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/usr/lib64/python3.5/unittest/loader.py", line 153, in
loadTestsFromName
    module = __import__(module_name)
  File
"/builddir/build/BUILD/python-livereload-2.5.1/livereload/management/commands/livereload.py",
line 4, in <module>
    from django.core.management.commands.runserver import naiveip_re
  File
"/usr/lib/python3.5/site-packages/django/core/management/commands/runserver.py",
line 16, in <module>
    from django.db.migrations.executor import MigrationExecutor
  File "/usr/lib/python3.5/site-packages/django/db/migrations/executor.py",
line 7, in <module>
    from .loader import MigrationLoader
  File "/usr/lib/python3.5/site-packages/django/db/migrations/loader.py", line
10, in <module>
    from django.db.migrations.recorder import MigrationRecorder
  File "/usr/lib/python3.5/site-packages/django/db/migrations/recorder.py",
line 12, in <module>
    class MigrationRecorder(object):
  File "/usr/lib/python3.5/site-packages/django/db/migrations/recorder.py",
line 26, in MigrationRecorder
    class Migration(models.Model):
  File "/usr/lib/python3.5/site-packages/django/db/migrations/recorder.py",
line 27, in Migration
    app = models.CharField(max_length=255)
  File "/usr/lib/python3.5/site-packages/django/db/models/fields/__init__.py",
line 1072, in __init__
    super(CharField, self).__init__(*args, **kwargs)
  File "/usr/lib/python3.5/site-packages/django/db/models/fields/__init__.py",
line 166, in __init__
    self.db_tablespace = db_tablespace or settings.DEFAULT_INDEX_TABLESPACE
  File "/usr/lib/python3.5/site-packages/django/conf/__init__.py", line 55, in
__getattr__
    self._setup(name)
  File "/usr/lib/python3.5/site-packages/django/conf/__init__.py", line 41, in
_setup
    % (desc, ENVIRONMENT_VARIABLE))
django.core.exceptions.ImproperlyConfigured: Requested setting
DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either
define the environment variable DJANGO_SETTINGS_MODULE or call
settings.configure() before accessing settings.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]