Dalba has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/402575 )

Change subject: Do not use python-stdnum 1.8 on Windows OSs
......................................................................

Do not use python-stdnum 1.8 on Windows OSs

Bug: T184335
Change-Id: Ief2c48d7366fa79c05b354f1ba7bea365a02ec69
---
M requirements.txt
M setup.py
2 files changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/pywikibot/core 
refs/changes/75/402575/1

diff --git a/requirements.txt b/requirements.txt
index 7d1d29d..cc042a2 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -49,7 +49,8 @@
 unicodecsv ; python_version < '3' and python_version >= '2.7'
 
 # cosmetic_changes and scripts/isbn
-python-stdnum
+python-stdnum!=1.8 ; os_name == 'nt'
+python-stdnum ; os_name != 'nt'
 
 # GUI
 Pillow<3.5.0 ; python_version < '2.7'
diff --git a/setup.py b/setup.py
index 00972fc..c23f839 100644
--- a/setup.py
+++ b/setup.py
@@ -55,7 +55,7 @@
 extra_deps = {
     # Core library dependencies
     'eventstreams': ['sseclient'],
-    'isbn': ['python-stdnum'],
+    'isbn': ['python-stdnum' if os.name != 'nt' else 'python-stdnum!=1.8'],
     'Graphviz': ['pydot>=1.0.28'],
     'Google': ['google>=1.7'],
     'IRC': [irc_dep],

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ief2c48d7366fa79c05b354f1ba7bea365a02ec69
Gerrit-PatchSet: 1
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: Dalba <dalba.w...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to