-
Notifications
You must be signed in to change notification settings - Fork 1.1k
De-noise CI output #1294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
De-noise CI output #1294
Changes from 9 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
f056b61
clean up warnings
kandersolar 0267672
Merge branch 'master' of https://github.com/pvlib/pvlib-python into w…
kandersolar 147d01c
no timezones in numpy datetimes
kandersolar 46dbb99
suppress the mess
kandersolar a1014b4
suppress another warning from netcdf4
kandersolar 8899da6
fix typo
kandersolar 441e71f
correct missed PVSystem deprecation for temperature_model_parameters
kandersolar cd289f9
Merge remote-tracking branch 'upstream/master' into warnings_cleanup
kandersolar ed05612
escape parens in regex
kandersolar 3713005
numpy -> pandas in test_tracking.py
kandersolar 69ba3da
remove unnecessary suppression for tables
kandersolar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,4 +21,23 @@ exclude = pvlib/_version.py docs dist | |
|
|
||
| [tool:pytest] | ||
| junit_family=xunit2 | ||
| testpaths = pvlib/tests | ||
| testpaths = pvlib/tests | ||
| filterwarnings = | ||
| # warning messages to suppress from pytest output. useful in cases | ||
| # where a dependency hasn't addressed a deprecation yet, and there's | ||
| # nothing we can do to fix it ourselves. | ||
| # syntax is: action:message:category:module:lineno | ||
| # `message` is a regex matching start of warning message | ||
| # https://docs.python.org/3/library/warnings.html#the-warnings-filter | ||
|
|
||
| ignore:Using or importing the ABCs:DeprecationWarning:.*patsy: | ||
|
|
||
| # deprecation warnings from numpy 1.20 | ||
| ignore:`np.object` is a deprecated alias:DeprecationWarning:.*tables: | ||
| ignore:`np.typeDict` is a deprecated alias:DeprecationWarning:.*tables: | ||
|
||
| ignore:`np.long` is a deprecated alias:DeprecationWarning:.*numba: | ||
| ignore:`np.int` is a deprecated alias:DeprecationWarning:.*(numba|scipy): | ||
| ignore:`np.bool` is a deprecated alias:DeprecationWarning:.*numba: | ||
| # warnings from netcdf4, but reported as coming from pvlib | ||
| ignore:`np.bool` is a deprecated alias:DeprecationWarning:.*(ecmwf_macc|forecast): | ||
| ignore:tostring\(\) is deprecated:DeprecationWarning:.*ecmwf_macc: | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit surprised by this change. I'm sure it works but for style and clarity I would think including the timezone is better.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we use
DataFrame,assert_series_equal, andassert_frame_equalinstead ofarrayandassert_allclose? I think that would be more aligned with typical use cases and would solve the timezone problem.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some context here regarding numpy datetimes and timezones: https://numpy.org/doc/stable/release/1.11.0-notes.html#datetime64-changes