Fix requirements for six package for analytics

Bug #1476586 reported by Andrey Sledzinskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Alexander Kislitsky

Bug Description

We should fix https://github.com/stackforge/fuel-stats/blob/master/analytics/requirements.txt by adding
six>=1.8.0
cause now it's failing when you run - manage_analytics.py --mode test runserver

Traceback (most recent call last):
  File "manage_analytics.py", line 19, in <module>
    from fuel_analytics.api import log
  File "/home/asledzinskiy/Work/fuel-stats/analytics/fuel_analytics/api/log.py", line 20, in <module>
    from fuel_analytics.api.app import app
  File "/home/asledzinskiy/Work/fuel-stats/analytics/fuel_analytics/api/app.py", line 27, in <module>
    from fuel_analytics.api.resources.csv_exporter import bp as csv_exporter_bp
  File "/home/asledzinskiy/Work/fuel-stats/analytics/fuel_analytics/api/resources/csv_exporter.py", line 35, in <module>
    from fuel_analytics.api.resources.utils.stats_to_csv import StatsToCsv
  File "/home/asledzinskiy/Work/fuel-stats/analytics/fuel_analytics/api/resources/utils/stats_to_csv.py", line 18, in <module>
    from six.moves import range
ImportError: cannot import name range

Changed in fuel:
status: New → Confirmed
assignee: Fuel Python Team (fuel-python) → Alexander Kislitsky (akislitsky)
Revision history for this message
Alexander Kislitsky (akislitsky) wrote :

Six missed in requirements.txt of analitycs.

Changed in fuel:
status: Confirmed → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-stats (master)

Fix proposed to branch: master
Review: https://review.openstack.org/204038

Changed in fuel:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-stats (master)

Reviewed: https://review.openstack.org/204038
Committed: https://git.openstack.org/cgit/stackforge/fuel-stats/commit/?id=3a30fed6791e079a032fdc90f3a8b40a4ab4bde4
Submitter: Jenkins
Branch: master

commit 3a30fed6791e079a032fdc90f3a8b40a4ab4bde4
Author: Alexander Kislitsky <email address hidden>
Date: Tue Jul 21 14:32:18 2015 +0300

    Missed requrement on six package added

    Change-Id: I7b7d55f29b9b016d0f3f680b86e5bf95ae36d526
    Closes-Bug: #1476586

Changed in fuel:
status: In Progress → Fix Committed
tags: added: on-verification
Revision history for this message
Nastya Urlapova (aurlapova) wrote :
Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.