summaryrefslogtreecommitdiff
path: root/www/py-pywikibot/files/patch-setup.py
blob: 0a73aa8221b52cd203b5cd7b66e2ef9f4c51f6e1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- setup.py.orig	2020-09-05 06:11:40 UTC
+++ setup.py
@@ -173,12 +173,12 @@ def get_validated_version():  # pragma: no cover
     # validate version for sdist
     from contextlib import suppress
     from subprocess import run, PIPE
-    try:
-        tags = run(['git', 'tag'], check=True, stdout=PIPE,
-                   universal_newlines=True).stdout.splitlines()
-    except Exception as e:
-        print(e)
-        sys.exit('Creating source distribution canceled.')
+    #try:
+    #    tags = run(['git', 'tag'], check=True, stdout=PIPE,
+    #               universal_newlines=True).stdout.splitlines()
+    #except Exception as e:
+    #    print(e)
+    #    sys.exit('Creating source distribution canceled.')
 
     for tag in ('stable', 'python2'):
         with suppress(ValueError):