jenkins-bot has submitted this change and it was merged.
Change subject: unicodecsv is a script dependency only on py2 ......................................................................
unicodecsv is a script dependency only on py2
Change-Id: I725db1bb06e251e3664d23f88a60acb1ebfb3848 --- M tests/script_tests.py 1 file changed, 4 insertions(+), 1 deletion(-)
Approvals: John Vandenberg: Looks good to me, but someone else must approve XZise: Looks good to me, approved jenkins-bot: Verified
diff --git a/tests/script_tests.py b/tests/script_tests.py index ce04236..6810a00 100644 --- a/tests/script_tests.py +++ b/tests/script_tests.py @@ -28,15 +28,18 @@ 'script_wui': ['crontab', 'lua'], # Note: package 'lunatic-python' provides module 'lua'
- 'data_ingestion': ['unicodecsv'], 'flickrripper': ['flickrapi'], 'match_images': ['PIL.ImageTk'], 'states_redirect': ['pycountry'], } + if sys.version_info < (2, 7): script_deps['replicate_wiki'] = ['argparse'] script_deps['editarticle'] = ['argparse']
+if sys.version_info < (3, 0): + script_deps['data_ingestion'] = ['unicodecsv'] +
def check_script_deps(script_name): """Detect whether all dependencies are installed."""