Project

General

Profile

Actions

Bug #8904

closed

Make test suite work on debian 7 (wheezy) by using pip<8 for python3

Added by Tom Clegg over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
-

Description

debian wheezy has python 3.2, but pip 8 no longer supports python 3.2.

  File "/etmp/2arvados-build/VENV3DIR/lib/python3.2/site-packages/pip/_vendor/progress/bar.py", line 48
    empty_fill = u'∙'
                      ^
SyntaxError: invalid syntax

Subtasks 1 (0 open1 closed)

Task #8922: Review 8904-wheezy-docker-py-wipResolvedTom Clegg04/08/2016Actions
Actions #1

Updated by Tom Clegg over 8 years ago

  • Description updated (diff)

8904-support-python3.2 @ 9a69e63 gets past that "invalid syntax" problem but still can't run dockercleaner's tests.

           ********** Running services/dockercleaner tests **********

running test
running egg_info
writing pbr to arvados_docker_cleaner.egg-info/pbr.json
writing requirements to arvados_docker_cleaner.egg-info/requires.txt
writing arvados_docker_cleaner.egg-info/PKG-INFO
writing top-level names to arvados_docker_cleaner.egg-info/top_level.txt
writing dependency_links to arvados_docker_cleaner.egg-info/dependency_links.txt
reading manifest file 'arvados_docker_cleaner.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'arvados_docker_cleaner.egg-info/SOURCES.txt'
running build_ext
Traceback (most recent call last):
  File "setup.py", line 36, in <module>
    cmdclass={'egg_info': tagger},
  File "/usr/lib/python3.2/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/usr/lib/python3.2/distutils/dist.py", line 917, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.2/distutils/dist.py", line 936, in run_command
    cmd_obj.run()
  File "/etmp/2arvados-build/VENV3DIR/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/setuptools/command/test.py", line 137, in run
    self.with_project_on_sys_path(self.run_tests)
  File "/etmp/2arvados-build/VENV3DIR/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/setuptools/command/test.py", line 117, in with_project_on_sys_path
    func()
  File "/etmp/2arvados-build/VENV3DIR/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/setuptools/command/test.py", line 146, in run_tests
    testLoader = loader_class()
  File "/usr/lib/python3.2/unittest/main.py", line 123, in __init__
    self.parseArgs(argv)
  File "/usr/lib/python3.2/unittest/main.py", line 191, in parseArgs
    self.createTests()
  File "/usr/lib/python3.2/unittest/main.py", line 198, in createTests
    self.module)
  File "/usr/lib/python3.2/unittest/loader.py", line 137, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python3.2/unittest/loader.py", line 137, in <listcomp>
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python3.2/unittest/loader.py", line 108, in loadTestsFromName
    return self.loadTestsFromModule(obj)
  File "/etmp/2arvados-build/VENV3DIR/lib/python3.2/site-packages/distribute-0.6.24-py3.2.egg/setuptools/command/test.py", line 34, in loadTestsFromModule
    tests.append(self.loadTestsFromName(submodule))
  File "/usr/lib/python3.2/unittest/loader.py", line 105, in loadTestsFromName
    parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_cleaner'

    ********** !!!!!! services/dockercleaner tests FAILED !!!!!! **********
Actions #2

Updated by Brett Smith over 8 years ago

  • Assigned To set to Tom Clegg
  • Target version set to 2016-04-13 sprint
Actions #3

Updated by Brett Smith over 8 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset arvados|commit:10f81953efe1884f170a7a2be14e6f1c32012c86.

Actions #4

Updated by Brett Smith over 8 years ago

  • Status changed from Resolved to In Progress

Reopening since I can't read and the branch wasn't even intended to fix the bug (yet).

Actions #5

Updated by Brett Smith over 8 years ago

  • Assigned To changed from Tom Clegg to Brett Smith
Actions #6

Updated by Brett Smith over 8 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Applied in changeset arvados|commit:95253d987794df9c27db93b1b9f8be2d32229309.

Actions

Also available in: Atom PDF