glotaran / pyglotaran

A Python library for Global and Target Analysis of time-resolved spectroscopy data
GNU Lesser General Public License v3.0
53 stars 18 forks source link

🐛 pyglotaran==0.7.2 doesnt work with xarray==2024.7.0 #1509

Closed anmolbhatia05 closed 2 weeks ago

anmolbhatia05 commented 1 month ago

Version information

Describe the bug

When I try to run any pyglotaran based notebook in this zip package 2024PPPpyglotaran_files.zip, I get the following error log error_log.txt.

When installing the requirements for pyglotaran, xarray==2024.7.0 is downloaded which causes this issue. Pinning to any version less than it makes it work.

To Reproduce

Steps to reproduce the behavior:

  1. Run '...'
from glotaran import ...
  1. See error

Expected behavior

Screenshots

Additional context

s-weigand commented 1 month ago

Thanks for raising this issue. This was already fixed on main when it still was a deprecation warning from xarray==2024.5.0. So the next release will fix it. @jsnel Since we planned to make the next release soonish (this weekend hopefully? 😅), I don't think we need a 0.7.2 post release.

jsnel commented 2 weeks ago

A new release was created yesterday which fixes this issue for all user. Get it while its hot, release details here: https://github.com/glotaran/pyglotaran/releases/tag/v0.7.3