Opened 3 years ago

Closed 3 years ago

#12223 closed defect (fixed)

stem (and arm) no longer work on python 2.6

Reported by: pmezard Owned by: atagar
Priority: High Milestone:
Component: Core Tor/Stem Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

stem uses collections.OrderedDict in config.py, which was introduced in python 2.7.

The FAQ says it supports python 2.6 and greater:

https://stem.torproject.org/faq.html#what-python-versions-is-stem-compatible-with

Child Tickets

Change History (2)

comment:1 Changed 3 years ago by atagar

  • Priority changed from normal to major

Thanks for the catch! Stem includes its own builtin OrderedDict for python 2.6...

https://gitweb.torproject.org/stem.git/blob/HEAD:/stem/util/ordereddict.py

... I just forgot to use it there. This probably warrants another hotfix release. I'll aim to do that today.

comment:2 Changed 3 years ago by atagar

  • Resolution set to fixed
  • Status changed from new to closed

Pushed a fix and tagged a Stem version 1.2.2 hotfix release that fixes Python 2.6 compatibility. Thanks for the catch!

Note: See TracTickets for help on using tickets.