comparison tests/test-check-code.t @ 31990:3e03a4b9ec8c

windows: add win32com.shell to demandimport ignore list Module 'appdirs' tries to import win32com.shell (and catch ImportError as an indication of failure) to check whether some further functionality should be implemented one or another way [1]. Of course, demandimport lets it down, so if we want appdirs to work we have to add it to demandimport's ignore list. The reason we want appdirs to work is becuase it is used by setuptools [2] to determine egg cache location. Only fairly recent versions of setuptools depend on this so people don't see this often. [1] https://github.com/ActiveState/appdirs/blob/master/appdirs.py#L560 [2] https://github.com/pypa/setuptools/blob/aae0a928119d2a178882c32bded02270e30d0273/pkg_resources/__init__.py#L1369
author Kostia Balytskyi <ikostia@fb.com>
date Fri, 14 Apr 2017 12:34:26 -0700
parents 6c7a58d3ca5d
children c85f19c66e8d
comparison
equal deleted inserted replaced
31989:85a22bc03d58 31990:3e03a4b9ec8c
11 > sed 's-\\-/-g' | "$check_code" --warnings --per-file=0 - || false 11 > sed 's-\\-/-g' | "$check_code" --warnings --per-file=0 - || false
12 contrib/perf.py:869: 12 contrib/perf.py:869:
13 > r.revision(r.node(x)) 13 > r.revision(r.node(x))
14 don't convert rev to node before passing to revision(nodeorrev) 14 don't convert rev to node before passing to revision(nodeorrev)
15 Skipping i18n/polib.py it has no-che?k-code (glob) 15 Skipping i18n/polib.py it has no-che?k-code (glob)
16 mercurial/demandimport.py:312: 16 mercurial/demandimport.py:313:
17 > if os.environ.get('HGDEMANDIMPORT') != 'disable': 17 > if os.environ.get('HGDEMANDIMPORT') != 'disable':
18 use encoding.environ instead (py3) 18 use encoding.environ instead (py3)
19 mercurial/encoding.py:54: 19 mercurial/encoding.py:54:
20 > environ = os.environ 20 > environ = os.environ
21 use encoding.environ instead (py3) 21 use encoding.environ instead (py3)