John Vandenberg has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/186316

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/16/186316/1

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."""

-- 
To view, visit https://gerrit.wikimedia.org/r/186316
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I725db1bb06e251e3664d23f88a60acb1ebfb3848
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to