Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-3390

Lock python test dependencies so we don't get accidentally upgraded

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.1.0
    • Component/s: None

      Description

      Tests are currently failing on Travis with

      [INFO] --- exec-maven-plugin:1.6.0:exec (python2.7-test) @ storm-client ---
      Traceback (most recent call last):
        File "test_storm_cli.py", line 20, in <module>
          import mock
        File "/home/travis/.local/lib/python2.7/site-packages/mock/__init__.py", line 2, in <module>
          import mock.mock as _mock
        File "/home/travis/.local/lib/python2.7/site-packages/mock/mock.py", line 69, in <module>
          from six import wraps
      ImportError: cannot import name wraps
      

      This is most likely because we're installing "mock" via pypi during the build, but we're not specifying a version. Since mock just released a new version, we're getting upgraded to that one on Travis.

      I think we don't want this to happen automagically.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                srdo Stig Rohde Døssing
                Reporter:
                srdo Stig Rohde Døssing
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m