Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
c4e8cd3
feat!: implementing v3 changes
dbirman Aug 25, 2026
512ff91
chore: bump versions
dbirman Aug 25, 2026
5d420d5
chore: bump uv version
dbirman Aug 25, 2026
47b9a8e
bump schema version [skip actions]
github-actions[bot] Aug 25, 2026
9e591cd
chore: refactor
dbirman Aug 25, 2026
33e7a5a
Merge branch 'release-v3.0.0' of https://github.com/AllenNeuralDynami…
dbirman Aug 25, 2026
d11e4c5
bump schema version [skip actions]
github-actions[bot] Aug 25, 2026
b005664
fix: repair schema bump
dbirman Aug 25, 2026
6db64b2
Merge branch 'release-v3.0.0' of https://github.com/AllenNeuralDynami…
dbirman Aug 25, 2026
657f88f
bump schema version [skip actions]
github-actions[bot] Aug 25, 2026
0f3d58f
fix: remove "localtime" as a timezone option from ubuntu
dbirman Aug 25, 2026
61c4176
fix: revert change and use schema extra to drop non-iana
dbirman Aug 25, 2026
7e2ef36
tests: repair a few broken tests
dbirman Aug 25, 2026
1d35ac8
docs: clean up migration guide
dbirman Sep 11, 2026
2447754
refactor: copy over merge change from aind-data-schema
dbirman Sep 11, 2026
3924a0c
refactor: migrate from aind-data-schema-models to biodata-models
dbirman Sep 11, 2026
34ef0b4
bump schema version [skip actions]
github-actions[bot] Sep 11, 2026
bb9e1eb
refactor: missing aind_data_schema -> biodata_schema renames
dbirman Sep 11, 2026
96a8ab0
Merge branch 'release-v3.0.0' of https://github.com/AllenNeuralDynami…
dbirman Sep 11, 2026
54fd36a
chore: expand allowed pydantic versions
dbirman Sep 11, 2026
4cc0306
chore: bump lockfile
dbirman Sep 11, 2026
c5fc9fa
fix: typo
dbirman Sep 11, 2026
78e810b
chore: repair a validator that caused unnecessary warnings
dbirman Sep 11, 2026
a8ee281
bump schema version [skip actions]
github-actions[bot] Sep 11, 2026
846fb9e
fix: repair a bug so that only Device/Assembly names are checked for …
dbirman Sep 12, 2026
91a45b5
bump schema version [skip actions]
github-actions[bot] Sep 12, 2026
736d996
chore: use matrix resolution to find min/max of packages
dbirman Sep 12, 2026
df2f120
Merge branch 'release-v3.0.0' of https://github.com/AllenNeuralDynami…
dbirman Sep 12, 2026
f078298
docs: update docs
dbirman Sep 12, 2026
0383a90
fix: ensure Species.HUMAN works properly for HumanSubject
dbirman Sep 12, 2026
157a272
bump schema version [skip actions]
github-actions[bot] Sep 12, 2026
8c4d46e
docs: clean up coordinate systems page docs
dbirman Sep 15, 2026
9f32d21
docs: link to CS page
dbirman Sep 15, 2026
05030b2
chore: typos in migration guide
dbirman Sep 15, 2026
7af9eda
fix: tweaks to coordinate system builder
dbirman Sep 15, 2026
e091219
docs: rebuild docs
dbirman Sep 15, 2026
7dd5a73
chore: lint
dbirman Sep 15, 2026
6ed76e8
docs: missing geometry page
dbirman Sep 15, 2026
64a705d
docs: a few minor inconsistencies
dbirman Sep 15, 2026
9a77b5e
docs: lots of improvements to examples and migration guide CS sections
dbirman Sep 15, 2026
c46f807
fix: various minor bug fixes / docs repairs
dbirman Sep 16, 2026
cda07c5
tests: ensure coverage of recursive checks
dbirman Sep 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/publish_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Pull latest changes
run: git pull origin dev
- name: Install uv
uses: astral-sh/setup-uv@v9
uses: astral-sh/setup-uv@v10.0.1
with:
python-version: '3.10'
- name: Configure aws credentials
Expand All @@ -33,5 +33,5 @@ jobs:
- name: Create and upload schemas
run: |
uv sync --locked
uv run python -m aind_data_schema.utils.json_writer --output $TEMP_DIR --attach-version
uv run python -m biodata_schema.utils.json_writer --output $TEMP_DIR --attach-version
uvx --from awscli aws s3 sync $TEMP_DIR s3://${AWS_DATA_SCHEMA_BUCKET}/$S3_PREFIX
11 changes: 6 additions & 5 deletions .github/workflows/run_dev_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ '3.11' ]
python-version: [ '3.12' ]
steps:
- uses: actions/checkout@v3
- name: Install uv
uses: astral-sh/setup-uv@v9
uses: astral-sh/setup-uv@v10.0.1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -29,13 +29,14 @@ jobs:
strategy:
matrix:
python-version: [ '3.10', '3.11', '3.12', '3.13' ]
resolution: [ 'lowest-direct', 'highest' ]
steps:
- uses: actions/checkout@v3
- name: Install uv
uses: astral-sh/setup-uv@v9
uses: astral-sh/setup-uv@v10.0.1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --locked --group dev --group docs
run: uv sync --group dev --group docs --resolution ${{ matrix.resolution }}
- name: Run tests and coverage
run: uv run pytest --cov=aind_data_schema --cov=tests --cov-report=term-missing --cov-fail-under=100
run: uv run pytest --cov=biodata_schema --cov=tests --cov-report=term-missing --cov-fail-under=100
6 changes: 3 additions & 3 deletions .github/workflows/run_main_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install uv
uses: astral-sh/setup-uv@v9
uses: astral-sh/setup-uv@v10.0.1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -34,13 +34,13 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Install uv
uses: astral-sh/setup-uv@v9
uses: astral-sh/setup-uv@v10.0.1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --locked --group dev --group docs
- name: Run tests and coverage
run: uv run pytest --cov=aind_data_schema --cov=tests --cov-report=term-missing --cov-fail-under=100
run: uv run pytest --cov=biodata_schema --cov=tests --cov-report=term-missing --cov-fail-under=100
verify_version:
runs-on: ubuntu-latest
steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tag_and_publish_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Push git tag
run: git push origin "v${{ env.tag }}"
- name: Install uv
uses: astral-sh/setup-uv@v9
uses: astral-sh/setup-uv@v10.0.1
with:
python-version: '3.10'
- name: Install dependencies
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Pull latest changes
run: git pull origin main
- name: Install uv
uses: astral-sh/setup-uv@v9
uses: astral-sh/setup-uv@v10.0.1
with:
python-version: '3.10'
- name: Configure aws credentials
Expand All @@ -66,5 +66,5 @@ jobs:
- name: Create and upload schemas
run: |
uv sync --locked
uv run python -m aind_data_schema.utils.json_writer --output $TEMP_DIR --attach-version
uv run python -m biodata_schema.utils.json_writer --output $TEMP_DIR --attach-version
uvx --from awscli aws s3 sync $TEMP_DIR s3://${AWS_DATA_SCHEMA_BUCKET}/$S3_PREFIX
8 changes: 4 additions & 4 deletions .github/workflows/update_dev_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ jobs:
token: ${{ secrets.SERVICE_TOKEN }}
ref: ${{ github.head_ref }}
- name: Install uv
uses: astral-sh/setup-uv@v9
uses: astral-sh/setup-uv@v10.0.1
with:
python-version: '3.10'
- name: Install dependencies
run: uv sync --locked --group dev --group docs
- name: Generate docs
run: |
uv run python src/aind_data_schema/utils/docs/model_generator.py
uv run python src/aind_data_schema/utils/docs/registries_generator.py
uv run python src/aind_data_schema/utils/docs/doc_generator.py
uv run python src/biodata_schema/utils/docs/model_generator.py
uv run python src/biodata_schema/utils/docs/registries_generator.py
uv run python src/biodata_schema/utils/docs/doc_generator.py
uv run sphinx-build -b html docs/source/ docs/build/html
- name: Commit changes
uses: EndBug/add-and-commit@v9
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/update_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ jobs:
with:
token: ${{ secrets.SERVICE_TOKEN }}
- name: Install uv
uses: astral-sh/setup-uv@v9
uses: astral-sh/setup-uv@v10.0.1
with:
python-version: '3.10'
- name: Install dependencies
run: uv sync --locked --group dev
- name: Bump schema versions
run: |
uv run python -m aind_data_schema.utils.schema_version_bump
uv run python -m biodata_schema.utils.schema_version_bump
echo "Finished schema version bump"
- name: Update schemas
run: |
rm -rf $OUTPUT_DIR
uv run python -m aind_data_schema.utils.json_writer --output $OUTPUT_DIR
uv run python -m biodata_schema.utils.json_writer --output $OUTPUT_DIR
- name: Create example schemas
run: |
cd examples
Expand All @@ -53,7 +53,7 @@ jobs:
- name: Pull latest changes
run: git pull origin ${{ github.ref_name }}
- name: Install uv
uses: astral-sh/setup-uv@v9
uses: astral-sh/setup-uv@v10.0.1
with:
python-version: '3.10'
- name: Install dependencies
Expand Down
16 changes: 8 additions & 8 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
version: 2

build:
os: ubuntu-22.04
os: ubuntu-24.04
tools:
python: "3.13"
nodejs: "20"
jobs:
# Build the interactive React Flow schema diagram bundle into
# docs/source/_static/ before Sphinx runs (the bundle is git-ignored and
# regenerated here; the JSON it fetches is generated by conf.py).
# Build the interactive React Flow schema diagram before Sphinx runs.
pre_build:
- npm --prefix diagram-app ci
- npm --prefix diagram-app run build
pre_install:
- python -m pip install uv
- uv sync --locked --group dev --group docs

python:
install: []
install:
- method: uv
command: sync
groups:
- dev
- docs

sphinx:
# Path to your Sphinx configuration file.
Expand Down
12 changes: 6 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ Documentation is automatically built when you open a PR into the biodata-schema
To generate the source files for the documentation and model class links, run:

```bash
uv run python src/aind_data_schema/utils/docs/model_generator.py
uv run python src/aind_data_schema/utils/docs/registries_generator.py
uv run python src/aind_data_schema/utils/docs/doc_generator.py
uv run python src/biodata_schema/utils/docs/model_generator.py
uv run python src/biodata_schema/utils/docs/registries_generator.py
uv run python src/biodata_schema/utils/docs/doc_generator.py
```

The front page embeds an interactive React Flow diagram of the `Metadata` schema (`diagram-app/`). Build its JS/CSS bundle once before building the docs (it's git-ignored and only needs rebuilding when `diagram-app/` changes):
Expand Down Expand Up @@ -73,7 +73,7 @@ Testing is required to open a PR in this repository to ensure robustness and rel
- Please test your changes using pytest and coverage:

```bash
uv run pytest --cov=aind_data_schema --cov=tests --cov-report=term-missing
uv run pytest --cov=biodata_schema --cov=tests --cov-report=term-missing
```

To open the coverage report in a browser, you can run
Expand Down Expand Up @@ -110,7 +110,7 @@ Use `uv run ruff format .` to apply Ruff's formatting.
**NOTE**: Please note that these linters are automatically run in github actions when a PR is opened. These linters must pass for a PR to merge.

### Units
Unit types (i.e. anything from [aind_data_schema_models.units](https://github.com/AllenNeuralDynamics/aind-data-schema-models/blob/main/src/aind_data_schema_models/units.py)) should always be paired with a variable in one of two patterns.
Unit types (i.e. anything from [biodata_models.units](https://github.com/AllenNeuralDynamics/biodata-models/blob/main/src/biodata_models/units.py)) should always be paired with a variable in one of two patterns.

When you have a single `variable` with a unit, you should add the `_unit` suffix on the name of the unit:

Expand Down Expand Up @@ -157,7 +157,7 @@ When you are ready to open a pull request, please link any relevant issues and r
## Release

- From dev, create a branch called release-vX.Y.Z
- Manually increment the version number in the aind_data_schema/__init__.py file to match
- Manually increment the version number in the biodata_schema/__init__.py file to match
- Manually increment the major/minor/patch versions of the core files as needed
- Push the branch and open a PR into main
- After this push, any last minute changes to the release-vX.Y.Z will have to done to via a PR
Expand Down
Loading
Loading