You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Downgrade minimal required python to 3.11
Requiring python>=3.12 is a bit of a burden. It's only required for
`find_bids_datasets`, which uses `Path.walk`. Instead, downgrade minimum
python to 3.11 and add a guard on this function in case python<3.12.
Note, we could look into downgrading further. The next block would be
`get_column_names` returns a `StrEnum`, which was introduced in 3.11.
I'm hesitant to remove this though, because being able to treat these
enum fields as native strings is nice.
* Switch path.walk to os.walk for py311
- Enables use of `finds_bids_datasets` in py311.
- `root` in `_indexing.py` is initially passed as original type, with walked `dirpath` typecasted as Path
- Removed error for <py312 in throughout codebase + testing
* Setup python matrix for testing
- Only runs after formatting
- Update to dependencies to include other versions of python support
* Implement iterative directory walk for find
`Path.walk` and `CloudPath.walk` depend on python>=3.12. Also,
`CloudPath.walk` retrieves all files up front rather than iteratively.
Here we add some directory walk logic of our own for iteratively finding
BIDS datasets under a root directory.
* Update README.md
* Update module docs
---------
Co-authored-by: Jason Kai <21226986+kaitj@users.noreply.github.com>
0 commit comments