-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' into docs/ext_autosummary
- Loading branch information
Showing
153 changed files
with
12,754 additions
and
5,944 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
node: $Format:%H$ | ||
node-date: $Format:%cI$ | ||
describe-name: $Format:%(describe:tags=true,match=*[0-9]*)$ | ||
ref-names: $Format:%D$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
src/hdmf/_version.py export-subst | ||
.git_archival.txt export-subst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,38 @@ | ||
Prepare for release of HDMF [version] | ||
|
||
### Before merging: | ||
- [ ] Make sure all PRs to be included in this release have been merged to `dev`. | ||
- [ ] Major and minor releases: Update package versions in `requirements.txt`, `requirements-dev.txt`, | ||
`requirements-doc.txt`, `requirements-min.txt`, `setup.py` as needed | ||
See https://requires.io/github/hdmf-dev/hdmf/requirements/?branch=dev | ||
`requirements-doc.txt`, `requirements-opt.txt`, and `environment-ros3.yml` to the latest versions, | ||
and update dependency ranges in `pyproject.toml` and minimums in `requirements-min.txt` as needed. | ||
Run `pip install pur && pur -r requirements-dev.txt -r requirements.txt -r requirements-opt.txt` | ||
and manually update `environment-ros3.yml`. | ||
- [ ] Check legal file dates and information in `Legal.txt`, `license.txt`, `README.rst`, `docs/source/conf.py`, | ||
and any other locations as needed | ||
- [ ] Update `setup.py` as needed | ||
- [ ] Update `pyproject.toml` as needed | ||
- [ ] Update `README.rst` as needed | ||
- [ ] Update `src/hdmf/common/hdmf-common-schema` submodule as needed. Check the version number and commit SHA manually | ||
- [ ] Update `src/hdmf/common/hdmf-common-schema` submodule as needed. Check the version number and commit SHA | ||
manually. Make sure we are using the latest release and not the latest commit on the `main` branch. | ||
- [ ] Update changelog (set release date) in `CHANGELOG.md` and any other docs as needed | ||
- [ ] Run tests locally including gallery tests, and inspect all warnings and outputs | ||
(`python test.py -v -u -e > out.txt 2>&1`) | ||
(`pytest && python test_gallery.py`). Try to remove all warnings. | ||
- [ ] Run PyNWB tests locally including gallery and validation tests, and inspect all warnings and outputs | ||
(`python test.py -v > out.txt 2>&1`) | ||
- [ ] Test docs locally (`make clean`, `make html`) | ||
- [ ] Push changes to this PR and make sure all PRs to be included in this release have been merged | ||
- [ ] Check that the readthedocs build for this PR succeeds (build latest to pull the new branch, then activate and | ||
build docs for new branch): https://readthedocs.org/projects/hdmf/builds/ | ||
(`cd pynwb; git checkout dev; git pull; python test.py -v > out.txt 2>&1`) | ||
- [ ] Run HDMF-Zarr tests locally including gallery and validation tests, and inspect all warnings and outputs | ||
(`cd hdmf-zarr; git checkout dev; git pull; pytest && python test_gallery.py`) | ||
- [ ] Test docs locally and inspect all warnings and outputs `cd docs; make clean && make html` | ||
- [ ] After pushing this branch to GitHub, manually trigger the "Run all tests" GitHub Actions workflow on this | ||
branch by going to https://github.com/hdmf-dev/hdmf/actions/workflows/run_all_tests.yml, selecting | ||
"Run workflow" on the right, selecting this branch, and clicking "Run workflow". Make sure all tests pass. | ||
- [ ] Check that the readthedocs build for this PR succeeds (see the PR check) | ||
|
||
### After merging: | ||
1. Create release by following steps in `docs/source/make_a_release.rst` or use alias `git pypi-release [tag]` if set up | ||
2. After the CI bot creates the new release (wait ~10 min), update the release notes on the | ||
[GitHub releases page](https://github.com/hdmf-dev/hdmf/releases) with the changelog | ||
3. Check that the readthedocs "latest" and "stable" builds run and succeed | ||
4. Update [conda-forge/hdmf-feedstock](https://github.com/conda-forge/hdmf-feedstock) with the latest version number | ||
and SHA256 retrieved from PyPI > HDMF > Download Files > View hashes for the `.tar.gz` file. Re-render as needed | ||
3. Check that the readthedocs "stable" build runs and succeeds | ||
4. Either monitor [conda-forge/hdmf-feedstock](https://github.com/conda-forge/hdmf-feedstock) for the | ||
regro-cf-autotick-bot bot to create a PR updating the version of HDMF to the latest PyPI release, usually within | ||
24 hours of release, or manually create a PR updating `recipe/meta.yaml` with the latest version number | ||
and SHA256 retrieved from PyPI > HDMF > Download Files > View hashes for the `.tar.gz` file. Re-render and update | ||
dependencies as needed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
version: 2 | ||
updates: | ||
# disable checking python requirements files because there are too | ||
# many updates and dependabot will not ignore requirements-min.txt | ||
# until https://github.com/dependabot/dependabot-core/issues/2883 is resolved | ||
# workaround is to continue updating these files manually | ||
|
||
# - package-ecosystem: "pip" | ||
# directory: "/" | ||
# schedule: | ||
# # Check for updates to requirements files and pyproject.toml every week | ||
# interval: "weekly" | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
# Check for updates to GitHub Actions every week | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Check Sphinx links | ||
on: | ||
pull_request: | ||
schedule: | ||
- cron: '0 5 * * *' # once per day at midnight ET | ||
workflow_dispatch: | ||
|
||
jobs: | ||
check-sphinx-links: | ||
runs-on: ubuntu-latest | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
steps: | ||
- name: Checkout repo with submodules | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: 'recursive' | ||
fetch-depth: 0 # tags are required to determine the version | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.11' # TODO update to 3.12 when optional reqs (e.g., oaklib) support 3.12 | ||
|
||
- name: Install Sphinx dependencies and package | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install -r requirements-doc.txt -r requirements-opt.txt | ||
python -m pip install . | ||
- name: Check Sphinx internal and external links | ||
run: sphinx-build -W -b linkcheck ./docs/source ./test_build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Codespell | ||
on: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
codespell: | ||
name: Check for spelling errors | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
- name: Codespell | ||
uses: codespell-project/actions-codespell@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.