Skip to content
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

MAINT: mpl join() deprecation #822

Merged

Conversation

tylerjereddy
Copy link
Collaborator

tests/test_data_access_by_filesystem.py: 54 warnings
tests/test_summary.py: 99 warnings
  /home/tyler/python_310_darshan_venv/lib/python3.10/site-packages/darshan/experimental/plots/data_access_by_filesystem.py:536:
MatplotlibDeprecationWarning: The join function was deprecated in
Matplotlib 3.6 and will be removed two minor releases later.
    ax_filesystem_counts.get_shared_x_axes().join(ax_filesystem_counts,
list_count_axes[row - 1])

* when using latest stable matplotlib our testsuite
produces hundreds of warnings like this:

```
tests/test_data_access_by_filesystem.py: 54 warnings
tests/test_summary.py: 99 warnings
  /home/tyler/python_310_darshan_venv/lib/python3.10/site-packages/darshan/experimental/plots/data_access_by_filesystem.py:536:
MatplotlibDeprecationWarning: The join function was deprecated in
Matplotlib 3.6 and will be removed two minor releases later.
    ax_filesystem_counts.get_shared_x_axes().join(ax_filesystem_counts,
list_count_axes[row - 1])
```

* this originates from this upstream PR:
matplotlib/matplotlib#21584

* turn this warning into an error in our CI, to prevent
further introductions of the deprecated functionality,
and fix it up where we already use it, based on the
directions in the PR above
@github-actions github-actions bot added the CI continuous integration label Sep 28, 2022
@shanedsnyder
Copy link
Contributor

lgtm

@shanedsnyder shanedsnyder merged commit fb6bb27 into darshan-hpc:main Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI continuous integration maintenance pydarshan
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants