scipp / scippnexus

h5py-like utility for NeXus files with seamless scipp integration
https://scipp.github.io/scippnexus/
BSD 3-Clause "New" or "Revised" License
3 stars 3 forks source link

Deprecation warning with Python 3.12 #195

Closed YooSunYoung closed 1 month ago

YooSunYoung commented 5 months ago

I wanted to test python 3.12 for other packages, then I found out scippnexus was using dateutil.parser which throws DeprecationWarning in python 3.12.

But in the copier answer says it supports up to python 3.12 so I was wondering if it was tested with python 3.12 and I should just pin some dependencies...

SimonHeybrock commented 5 months ago

To be clear, are you saying that ScippNexus is not working, or is it simply causing a deprecation warning?

YooSunYoung commented 5 months ago

To be clear, are you saying that ScippNexus is not working, or is it simply causing a deprecation warning?

It works, but it causes deprecation warning...! I'll update the title to be more clear.

MridulS commented 3 months ago

I think this is fixed upstream https://github.com/dateutil/dateutil/issues/1314

MridulS commented 2 months ago

I think we can use https://docs.python.org/3/library/datetime.html#datetime.datetime.fromisoformat directly? One less dependency?