8000 Scope DeprecationWarning errors to just allennlp-internal stuff by matt-gardner · Pull Request #2549 · allenai/allennlp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.

Scope DeprecationWarning errors to just allennlp-internal stuff #2549

Merged
merged 1 commit into from
Feb 28, 2019

Conversation

matt-gardner
Copy link
Contributor

A couple of people have mentioned test failures when running locally. I just tried it myself and discovered that updates to other libraries added some deprecation warnings that are causing our tests to fail. This was not the intent of the deprecation-warning-into-error stuff that we did - we just wanted to make sure we weren't adding deprecation warnings ourselves without fixing our own code first. So this PR changes the policy to ignore all non-allennlp deprecation warnings, and fail only on allennlp ones (I confirmed that adding a deprecation warning inside of allennlp causes test failures, as intended).

Copy link
Member
@schmmd schmmd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, that's a major simplification! Love it!

@matt-gardner matt-gardner merged commit 64a8e13 into allenai:master Feb 28, 2019
@matt-gardner matt-gardner deleted the fix_warning_policy branch February 28, 2019 01:35
@schmmd schmmd mentioned this pull request Mar 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0