Skip to content

Commit 28c69d7

Browse files
Merge branch 'master' into bf-1594
2 parents 5e6dcfd + 49d4886 commit 28c69d7

File tree

5 files changed

+43
-3
lines changed

5 files changed

+43
-3
lines changed

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
# 0.71.1 (Mon Aug 25 2025)
2+
3+
#### 🐛 Bug Fix
4+
5+
- Bring back dandi-staging to provide more graceful transition for 3rd party libraries [#1694](https://github.com/dandi/dandi-cli/pull/1694) ([@yarikoptic](https://github.com/yarikoptic) [@CodyCBakerPhD](https://github.com/CodyCBakerPhD))
6+
- Fix EMBER-DANDI Sandbox url [#1693](https://github.com/dandi/dandi-cli/pull/1693) ([@NEStock](https://github.com/NEStock))
7+
- Add ndx-events and ndx-hed into our "extensions" extra [#1691](https://github.com/dandi/dandi-cli/pull/1691) ([@yarikoptic](https://github.com/yarikoptic) [@CodyCBakerPhD](https://github.com/CodyCBakerPhD))
8+
9+
#### 🧪 Tests
10+
11+
- Register a Pytest plugin, instead of relying on a root "conftest.py" [#1687](https://github.com/dandi/dandi-cli/pull/1687) ([@brianhelba](https://github.com/brianhelba) [@yarikoptic](https://github.com/yarikoptic))
12+
- BF: announce two tests xfail on windows python 3.13 [#1690](https://github.com/dandi/dandi-cli/pull/1690) ([@yarikoptic](https://github.com/yarikoptic))
13+
14+
#### Authors: 4
15+
16+
- Brian Helba ([@brianhelba](https://github.com/brianhelba))
17+
- Cody Baker ([@CodyCBakerPhD](https://github.com/CodyCBakerPhD))
18+
- Nicole Stock Tregoning ([@NEStock](https://github.com/NEStock))
19+
- Yaroslav Halchenko ([@yarikoptic](https://github.com/yarikoptic))
20+
21+
---
22+
123
# 0.71.0 (Fri Aug 22 2025)
224

325
#### 🚀 Enhancement

dandi/cli/tests/test_instances.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,15 @@ def test_cmd_instances(monkeypatch):
1919
"dandi-sandbox:\n"
2020
" api: https://api.sandbox.dandiarchive.org/api\n"
2121
" gui: https://sandbox.dandiarchive.org\n"
22+
"dandi-staging:\n"
23+
" api: https://api.sandbox.dandiarchive.org/api\n"
24+
" gui: https://sandbox.dandiarchive.org\n"
2225
"ember:\n"
2326
" api: https://api-dandi.emberarchive.org/api\n"
2427
" gui: https://dandi.emberarchive.org\n"
2528
"ember-sandbox:\n"
2629
" api: https://api-dandi-sandbox.emberarchive.org/api\n"
27-
" gui: https://dandi-sandbox.emberarchive.org\n"
30+
" gui: https://apl-setup--ember-dandi-archive.netlify.app/\n"
2831
"linc:\n"
2932
" api: https://api.lincbrain.org/api\n"
3033
" gui: https://lincbrain.org\n"

dandi/consts.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,13 @@ def urls(self) -> Iterator[str]:
122122
"https://dandiarchive.org",
123123
"https://api.dandiarchive.org/api",
124124
),
125+
# Deprecated. Remove early 2026.
126+
# Should come before dandi-sandbox so _rev map does map to sandbox
127+
"dandi-staging": DandiInstance(
128+
"dandi-staging",
129+
"https://sandbox.dandiarchive.org",
130+
"https://api.sandbox.dandiarchive.org/api",
131+
),
125132
"dandi-sandbox": DandiInstance(
126133
"dandi-sandbox",
127134
"https://sandbox.dandiarchive.org",
@@ -149,7 +156,7 @@ def urls(self) -> Iterator[str]:
149156
),
150157
"ember-sandbox": DandiInstance(
151158
"ember-sandbox",
152-
"https://dandi-sandbox.emberarchive.org",
159+
"https://apl-setup--ember-dandi-archive.netlify.app/",
153160
"https://api-dandi-sandbox.emberarchive.org/api",
154161
),
155162
}

dandi/utils.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,11 @@ def get_instance(dandi_instance_id: str | DandiInstance) -> DandiInstance:
576576
else:
577577
dandi_id = dandi_instance_id
578578
instance = known_instances[dandi_id]
579+
if dandi_id == "dandi-staging":
580+
lgr.warning(
581+
"'dandi-staging' DANDI instance identifier is deprecated. "
582+
"The instance was renamed into 'dandi-sandbox', please use that identifier instead."
583+
)
579584
if redirector_url is None:
580585
assert instance is not None
581586
return _get_instance(instance.api.rstrip("/"), True, instance, dandi_id)

docs/source/cmdline/instances.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ Example output:
2222
dandi-sandbox:
2323
api: https://api.sandbox.dandiarchive.org/api
2424
gui: https://sandbox.dandiarchive.org
25+
dandi-staging:
26+
api: https://api.sandbox.dandiarchive.org/api
27+
gui: https://sandbox.dandiarchive.org
2528
linc-staging:
2629
api: https://staging-api.lincbrain.org/api
2730
gui: https://staging.lincbrain.org
@@ -30,7 +33,7 @@ Example output:
3033
gui: https://lincbrain.org
3134
ember-sandbox:
3235
api: https://api-dandi-sandbox.emberarchive.org/api
33-
gui: https://dandi-sandbox.emberarchive.org
36+
gui: https://apl-setup--ember-dandi-archive.netlify.app/
3437
ember:
3538
api: https://api-dandi.emberarchive.org/api
3639
gui: https://dandi.emberarchive.org

0 commit comments

Comments
 (0)