# HG changeset patch # User Augie Fackler # Date 1391410806 18000 # Node ID 7d47a0f731354505ed9ae8d60d2a6996e8c3294f # Parent 6e1dbf6cbc9206c64fa601bb75a43584a6093fd2 setup: also ignore stderr lines about obsolete when guessing version diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -27,7 +27,8 @@ def runcmd(cmd, env): # trust warnings since the .hg/hgrc file is untrusted. That is # fine, we don't want to load it anyway. err = [e for e in err.splitlines() - if not e.startswith('Not trusting file')] + if not (e.startswith('Not trusting file') + or e.startswith('obsolete feature not enabled'))] if err: return '' return out