From 36af9c5de206d3db0c86eac45ac02966f83b3f57 Mon Sep 17 00:00:00 2001 From: Tom Augspurger Date: Wed, 17 Jun 2020 09:16:51 -0500 Subject: [PATCH 1/2] CI: Fail on warning for 3.9 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c5dbddacc6a43..538766e21293d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,7 +33,7 @@ matrix: - dist: bionic python: 3.9-dev env: - - JOB="3.9-dev" PATTERN="(not slow and not network and not clipboard)" + - JOB="3.9-dev" PATTERN="(not slow and not network and not clipboard)" TEST_ARGS="-Werror" - env: - JOB="3.8" ENV_FILE="ci/deps/travis-38.yaml" PATTERN="(not slow and not network and not clipboard)" From dd9c4864ed6bff175cc244c29aaf6bc1622a12e5 Mon Sep 17 00:00:00 2001 From: Tom Augspurger Date: Wed, 17 Jun 2020 12:29:49 -0500 Subject: [PATCH 2/2] try setup.cfg --- .travis.yml | 2 +- setup.cfg | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 538766e21293d..c5dbddacc6a43 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,7 +33,7 @@ matrix: - dist: bionic python: 3.9-dev env: - - JOB="3.9-dev" PATTERN="(not slow and not network and not clipboard)" TEST_ARGS="-Werror" + - JOB="3.9-dev" PATTERN="(not slow and not network and not clipboard)" - env: - JOB="3.8" ENV_FILE="ci/deps/travis-38.yaml" PATTERN="(not slow and not network and not clipboard)" diff --git a/setup.cfg b/setup.cfg index 49a57b7a525f0..abcaea58e140f 100644 --- a/setup.cfg +++ b/setup.cfg @@ -65,8 +65,10 @@ doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL ELLIPSIS addopts = --strict-data-files xfail_strict = True filterwarnings = - error:Sparse:FutureWarning - error:The SparseArray:FutureWarning + error:::pandas[.*] + error:::numpy[.*] + error:::dateutil[.*] + error:::pytz[.*] junit_family=xunit2 [coverage:run]