[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #10539 [Tor Sysadmin Team]: Stem jenkins instance's pyflakes version



#10539: Stem jenkins instance's pyflakes version
-------------------------------+---------------------
 Reporter:  atagar             |          Owner:
     Type:  enhancement        |         Status:  new
 Priority:  normal             |      Milestone:
Component:  Tor Sysadmin Team  |        Version:
 Keywords:                     |  Actual Points:
Parent ID:                     |         Points:
-------------------------------+---------------------
 Hi Peter. Recently I made some changes to stem so it uses pyflakes and
 pep8 as proper python libraries rather than shelling out for static
 checks. This resulted in a substantial drop in their runtime (~60% for our
 static checks) but it appears to be incompatible with the version of
 pyflakes on our Jenkins instance...

 {{{
 Traceback (most recent call last):
   File "./run_tests.py", line 412, in <module>
     main()
   File "./run_tests.py", line 265, in main
     _print_static_issues(args)
   File "./run_tests.py", line 366, in _print_static_issues
     static_check_issues.update(test.util.get_pyflakes_issues(SRC_PATHS))
   File "/srv/jenkins-workspace/workspace/stem-tor-ci/test/util.py", line
 334, in get_pyflakes_issues
     import pyflakes.api
 ImportError: No module named api
 }}}

 Jenkins is using pyflakes version 0.5.0 while I'm using 0.7.3. I recall
 that you're reluctant to install anything not within a deb but it seems
 like the easiest solution for solving this is to update using the pypi
 version (sudo pip install pyflakes). If that's a no-go then ideas welcome.
 :)

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10539>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs