Skip to content

Commit a40466e

Browse files
committed
Pin the datalad extra to the datalad-fuse commit with the remfile backend
Until datalad-fuse releases its remfile backend and the adapter's `init_annex` option (datalad/datalad-fuse#131), the `datalad` extra requires them from CodyCBakerPhD/datalad-fuse at a fixed commit, so that `pip install "dandi[datalad]"` gives working streaming, and CI installs just `.[datalad]`. This must be replaced by a release requirement before merging, as PyPI rejects distributions with direct URL dependencies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Qn5WBSiQgoZoL4fytF6nEr
1 parent 29fd1e0 commit a40466e

2 files changed

Lines changed: 5 additions & 11 deletions

File tree

‎.github/workflows/run-tests.yml‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -126,16 +126,9 @@ jobs:
126126
git+https://github.com/hdmf-dev/hdmf \
127127
git+https://github.com/hdmf-dev/hdmf-zarr
128128
129-
# TODO: install a release once datalad-fuse has the remfile backend and the
130-
# `init_annex` option of its adapter (datalad/datalad-fuse#131). The
131-
# branch is fetched with datalad-fuse's tags, which its version is derived
132-
# from.
133129
- name: Install git-annex and datalad-fuse (for streaming annexed content)
134130
if: matrix.mode == 'datalad-fuse'
135-
run: |
136-
git clone -q -b remfile-dev https://github.com/CodyCBakerPhD/datalad-fuse /tmp/datalad-fuse
137-
git -C /tmp/datalad-fuse fetch -q --tags https://github.com/datalad/datalad-fuse
138-
pip install git-annex "/tmp/datalad-fuse[remfile]" ".[datalad]"
131+
run: pip install git-annex ".[datalad]"
139132

140133
- name: Create NFS filesystem
141134
if: matrix.mode == 'nfs'

‎pyproject.toml‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,11 @@ test = [
122122
]
123123
# For streaming the content of annexed files of DataLad datasets without
124124
# fetching it (requires git-annex).
125-
# TODO: require the first release with the remfile backend and the `init_annex`
126-
# option of the adapter (datalad/datalad-fuse#131)
125+
# TODO: before merging, require the first release with the remfile backend and
126+
# the `init_annex` option of the adapter (datalad/datalad-fuse#131) instead:
127+
# PyPI rejects distributions with direct URL dependencies.
127128
datalad = [
128-
"datalad-fuse[remfile] >= 0.6.0",
129+
"datalad-fuse[remfile] @ git+https://github.com/CodyCBakerPhD/datalad-fuse@7183bf439504495be25924a90902673a92b53894",
129130
]
130131
tools = [
131132
"boto3",

0 commit comments

Comments
 (0)