neuroinformatics-unit / movement

Python tools for analysing body movements across space and time
http://movement.neuroinformatics.dev
BSD 3-Clause "New" or "Revised" License
106 stars 9 forks source link

Adopt SPEC0 about minimum supported dependencies #332

Open niksirbi opened 1 month ago

niksirbi commented 1 month ago

Is your feature request related to a problem? Please describe. The scientific Python ecosystem has agreed on a set of mimum supported dependecies, which are detailed in ther SPEC0. We are mostly compliant to these, and it wouldn't take much work to make us fully compliant, and get a fancy badge. Since all we do depends heavily on "core" scientific Python libraries, it makes sense to move in tandem with them.

Describe the solution you'd like

Considerations How often should check and update these things? Could we somehow automate that?

niksirbi commented 1 month ago

CC @adamltyson

adamltyson commented 1 month ago

I think it can be hard to automate this, because we often have to wait for other dependencies to catch up.

I don't see a big issue with us lagging behind by a few months, it's unlikely to cause problems for users.

niksirbi commented 1 month ago

I did some trials and we have to wait for Python 3.13 support for a while.

On my silicon mac, numba, which is a requirement of xarray[accel], fails to instal on a Python 3.13 environment. See https://github.com/numba/numba/issues/9413

So you're absolutely right about lagging behind for a few months.

niksirbi commented 1 month ago

My WIP is in this branch, for later reference.