asdf-format/asdf

Python 3.12 compatibility

Closed this issue · 2 comments

I was able to get the test suite to run on 3.12 (without fsspec which fails due to aiohttp failing to install).

https://github.com/asdf-format/asdf/actions/runs/5927002305/job/16069559190?pr=1633#step:10:183

I see no errors but 3 of the same warning:

DeprecationWarning: datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.fromtimestamp(timestamp, datetime.UTC).

The changes here: cc66fbf allowed the test suite to pass on 3.12 with no warnings. Once the fsspec is updated and the other deps are cleaned up (as in #1633) we can apply the changes and claim 3.12 support.

Fixed in #1641