Skip to content

Commit

Permalink
Disable -Werror on actual runs
Browse files Browse the repository at this point in the history
Fails in CI, not locally.

The failure is a SyntaxError in Docopt 0.6.2:
docopt/docopt#435

But no Docopt release has been made since 2014, so we need to replace it
to fix this.
  • Loading branch information
walles committed Feb 8, 2019
1 parent 4442340 commit 7edf6b0
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,14 @@ EOF
fi

echo
# FIXME: The SyntaxError thing is from Docopt 0.6.2
python -Werror -Wdefault:'the imp module' -Wdefault::SyntaxError "${PX_PEX}"
# FIXME: We can't do -Werror until a new Docopt release, and Docopt seems dead:
# https://github.com/docopt/docopt/pull/435
python -Wdefault "${PX_PEX}"

echo
# FIXME: The SyntaxError thing is from Docopt 0.6.2
python -Werror -Wdefault:'the imp module' -Wdefault::SyntaxError "${PX_PEX}" $$
# FIXME: We can't do -Werror until a new Docopt release, and Docopt seems dead:
# https://github.com/docopt/docopt/pull/435
python -Wdefault "${PX_PEX}" $$

echo
test "$("${PX_PEX}" --version)" = "$(git describe --dirty)"
Expand Down

0 comments on commit 7edf6b0

Please sign in to comment.