Bug #8904

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

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

Status:
Resolved
Priority:
Normal
Assigned To:
Brett Smith
Category:
-
Target version:
Start date:
04/08/2016
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
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

Task #8922: Review 8904-wheezy-docker-py-wipResolvedTom Clegg

Associated revisions

Revision 10f81953
Added by Brett Smith over 5 years ago

Merge branch '8904-support-python3.2'

Closes #8904.

Revision 95253d98 (diff)
Added by Brett Smith over 5 years ago

Pin dockercleaner's docker-py requirement to 1.7.2.

Finishes the job started by 8680c874. It only seems to be really
necessary on wheezy (because docker-py or its requirements abandoned
support for Python 3.2), but since we're pinning more as a general
rule, might as well make it universal. Closes #8904, #8922.

History

#1 Updated by Tom Clegg over 5 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 !!!!!! **********

#2 Updated by Brett Smith over 5 years ago

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

#3 Updated by Brett Smith over 5 years ago

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

Applied in changeset arvados|commit:10f81953efe1884f170a7a2be14e6f1c32012c86.

#4 Updated by Brett Smith over 5 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).

#5 Updated by Brett Smith over 5 years ago

  • Assigned To changed from Tom Clegg to Brett Smith

#6 Updated by Brett Smith over 5 years ago

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

Applied in changeset arvados|commit:95253d987794df9c27db93b1b9f8be2d32229309.

Also available in: Atom PDF