AbdealiJK added a comment.
In https://phabricator.wikimedia.org/T115428#2112087, @darthbhyrava wrote: > Okay, I got a -1 from tox-nose jessie and nose-34 , and here's why: > > ImportError: No module named bs4 It seems `bs4` is not a required dependency. You may check `pywikibot/diff.py` and `pywikibot/proofreadpage.py` to confirm this. They do something like: try: from bs4 import BeautifulSoup except ImportError as bserror: BeautifulSoup = False and later do: if not BeautifulSoup: raise bserror --- > nose.proxy.ImportError: No module named 'StringIO' (in nose-34) You need to use io.StringIO StringIO module isnt there in Python3 $ python3 Python 3.4.3 (default, Oct 14 2015, 20:28:29) [GCC 4.8.4] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import StringIO Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named 'StringIO' --- > AttributeError: 'module' object has no attribute 'panoramiopicker_tests' I'm not sure about this one. It probably happened because `StringIO` was used. i.e. `panoramiopicker_tests` imported `panoramiopicker` which imported `StringIO` So, importing `panoramiopicker_tests` failed ? TASK DETAIL https://phabricator.wikimedia.org/T115428 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: darthbhyrava, AbdealiJK Cc: gerritbot, AbdealiJK, darthbhyrava, StudiesWorld, XZise, Aklapper, Avicennasis, pywikibot-bugs-list, jayvdb, Lewizho99 _______________________________________________ pywikibot-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs
