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

Set matplotlib >=3.5 in requirements.txt #2280

Merged
merged 3 commits into from
Oct 13, 2023

Conversation

DAWells
Copy link
Contributor

@DAWells DAWells commented Sep 27, 2023

Description

Checklist

  • Follows official PR format
  • Code style correct (follows pylint and black guidelines)
  • Changes are listed in changelog

Since arviz-devs#2127 `arviz/__init__.py` requires matplotlib >= 3.5 for `mpl.colormaps.register()` otherwise `arviz` fails on import.
@codecov
Copy link

codecov bot commented Sep 27, 2023

Codecov Report

Merging #2280 (b2af8c5) into main (ebade51) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2280   +/-   ##
=======================================
  Coverage   86.77%   86.77%           
=======================================
  Files         122      122           
  Lines       12459    12459           
=======================================
  Hits        10811    10811           
  Misses       1648     1648           

Copy link
Member

@OriolAbril OriolAbril left a comment

Choose a reason for hiding this comment

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

Thanks! I have also added a suggestion to update the numpy cap and the pandas one should also be updated so that we can roughly follow https://scientific-python.org/specs/spec-0000/. Do you mind doing that?

requirements.txt Outdated
@@ -1,5 +1,5 @@
setuptools>=60.0.0
matplotlib>=3.2
matplotlib>=3.5
numpy>=1.21.0,<2.0
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
numpy>=1.21.0,<2.0
numpy>=1.22.0,<2.0

@OriolAbril OriolAbril merged commit 4557004 into arviz-devs:main Oct 13, 2023
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants