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

chore: Remove numpy pin, pin datashader, drop Python 3.7 #789

Merged
merged 2 commits into from
Jul 10, 2023

Conversation

jthetzel
Copy link
Contributor

@jthetzel jthetzel commented Jul 6, 2023

Proposed Changes

  • Pin datashader version to 0.15.0 and remove numpy version pin.
  • Require Python >=3.8.

Xarray-spatial tests were failing due to datashader calling numpy.warnings, which is removed in numpy >=1.24.0 ( #779 ). Datashader 0.15.0 removes calls to numpy.warnings (pr: holoviz/datashader#1176 , changelog: https://github.com/holoviz/datashader/releases/tag/v0.15.0). This pull requests removes the numpy <= 1.23.4 pin in favour of a datashader >= 1.15.0 pin.

Datashader requires Python >=3.8, so this also drops support for Python 3.7.

Datashader 0.15.0 removes error numpy.warnings removal:
holoviz/datashader#1176
@jthetzel
Copy link
Contributor Author

jthetzel commented Jul 6, 2023

Datashader 0.15.0 supports Python >= 3.8:
https://pypi.org/project/datashader/0.15.0/
(thus tests are failing for Python 3.7)

@jthetzel
Copy link
Contributor Author

jthetzel commented Jul 6, 2023

#770 considers dropping Python 3.7 support upon addition of Python 3.11 support. I'll defer to the maintainers.

@jthetzel
Copy link
Contributor Author

jthetzel commented Jul 8, 2023

To accomodate Datashader 0.15.0, this pull request also drops Python 3.7 support.

@jthetzel jthetzel changed the title chore: Remove numpy pin and pin datashader chore: Remove numpy pin, pin datashader, drop Python 3.7 Jul 8, 2023
@brendancol brendancol requested a review from thuydotm July 10, 2023 02:31
@brendancol
Copy link
Contributor

@jthetzel thanks so much for doing this. @thuydotm will check and merge

@thuydotm
Copy link
Contributor

Thanks @jthetzel! The new changes look good to me, merging.

@thuydotm thuydotm merged commit 27ab0c8 into makepath:master Jul 10, 2023
13 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.

None yet

3 participants