Opened 10 months ago

Last modified 10 months ago

#32879 new defect

Jenkins tests now require python 3.6+

Reported by: atagar Owned by: weasel
Priority: Medium Milestone:
Component: Internal Services/Service - jenkins Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


Hi lovely sysadmins. Stem 1.8 is the last version that will support Python 2.6 through 3.5. Going forward Stem's upcoming 2.x series will require Python 3.6...

As such our Jenkins tests now fail with...

Traceback (most recent call last):
  File "./", line 22, in <module>
    import stem.prereq
  File "/srv/jenkins-workspace/workspace/stem-tor-ci/stem/", line 1032, in <module>
    import stem.util.connection  # importing afterward to avoid circular dependency
  File "/srv/jenkins-workspace/workspace/stem-tor-ci/stem/util/", line 65, in <module>
    import urllib.request
ImportError: No module named request

Could we please upgrade their Python version to 3.6 (or better, 3.7)?


PS. In the meantime Jenkins can test git's 1.8.0 tag rather than the master branch if you'd like for the tests to resume passing in the short term.

Child Tickets

Change History (1)

comment:1 Changed 10 months ago by weasel

Ok, this means it will no longer work on jessie, stretch, and xenial.

I will remove those from the stem-ci-linux job matrix.

Additionally, stem-tor-ci-base and stem-tor-ci will move to build on buster rather than stretch.

Note: See TracTickets for help on using tickets.