-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make the BrainVISA 5.1.1 release #132
Comments
I am getting this error when creating the
|
It used to work. What is the VirtualBox version ? |
I found a workaaround: it works if the argument to |
Note: I don't have the access rights to publish on testpypi for the project populse_db. However I can push for other projects, and for all projects (including populse_db) on the main pypi. Who is admin there ? @sapetnioc ? If yes, can you fix it please ? |
I just checked, I am not owner of populse_db on testpypi.
|
I think it is Lucie OUVRIER-BUFFET: https://test.pypi.org/user/ouvrierl/ |
Oh. OK never mind, it's just the test server. |
Release check-list
In this new issue, replace templated versions
Check that all projects have the correct version in their sources:
bv_tag_release.py --fix-source-version-numbers
Check that tests are successful on https://brainvisa.info/builds/
Update changelogs and the list of known issues (Known issues for BrainVISA 5.1.0 #124)
Run a last build to update the changelogs
bv_maker sources doc
in thebrainvisa
distrobv_maker sources doc
in thecea
distroCreate, test, and publish/deploy the images
sif
image for thebrainvisa
distro./brainvisa-5.1-5.3/bin/casa_distro_admin create_user_image version=5.1.1 container_type=singularity distro=brainvisa image_version=5.3 branch=5.1 install_thirdparty=file:///neurospin/brainvisa/thirdparty/thirdparty.json
mkdir -p /tmp/test-brainvisa-5.1.1;singularity run -ce --bind /tmp/test-brainvisa-5.1.1:/casa/setup /volatile/a-sac-ns-brainvisa/bbi_nightly/brainvisa-5.1.1.sif
AimsFileInfo
,anatomist
,brainvisa
casa_distro_admin publish_user_image image=brainvisa-5.1.1.sif
ova
image for thebrainvisa
distro./brainvisa-5.1-5.3/bin/casa_distro_admin create_user_image version=5.1.1 install=no container_type=vbox base_image=casa-run-5.3.ova environment_name=brainvisa-5.1-5.3
AimsFileInfo
,anatomist
,brainvisa
sif
image for thecea
distro./cea-5.1-5.3/bin/casa_distro_admin create_user_image version=5.1.1 name=brainvisa-cea-5.1.1 container_type=singularity distro=cea image_version=5.3 branch=5.1 install_thirdparty=file:///neurospin/brainvisa/thirdparty/thirdparty.json
(beware to name the image brainvisa-cea- and not just cea-)we will only do these images if users request themova
image for thecea
distroCreate the image with./cea-5.1-5.3/bin/casa_distro_admin create_user_image name=brainvisa-cea version=5.1.1 base_directory=/volatile/a-sac-ns-brainvisa/bbi_nightly install=no container_type=vbox base_image=casa-run-5.3.ova environment_name=cea-5.1-5.3
(beware to name the imagebrainvisa-cea-
and not justcea-
)Create tags with
bv_tag_release.py
Edit the website to announce the new release
ssh web
, then in the server:web_build/bin/bv bv_maker
./web-build/src/communication/web/5.1/scripts/bv_publish_web /var/www/html/brainvisa.info
Deploy the
cea
release:brainvisa-cea-*.sif
and the associated.json
into/i2bm/brainvisa
and set their permissions (chmod 444
)/i2bm/brainvisa/brainvisa-cea-5.1.1
and install the Singularity release in there (singularity run --bind ...
)rm -r /i2bm/brainvisa/brainvisa-cea-5.1.1/home/
AimsFileInfo --info
,anatomist
,brainvisa
...)ln -sfT brainvisa-cea-5.1.1/ /i2bm/brainvisa/brainvisa
Copybrainvisa-cea-*.ova
and the associated.json
into/i2bm/brainvisa
and set their permissions (chmod 444
)Install theova
on a non-Linux machine and verify that it works (use it to launchAimsFileInfo --info
,anatomist
,brainvisa
...)Build pip packages for the python projects soma-workflow, soma-base, populse_db and capsul which are distributed in pip:
./brainvisa-5.1-5.3/bin/bv python3 -m build /casa/host/src/soma/soma-workflow/5.1
./brainvisa-5.1-5.3/bin/bv python3 -m build /casa/host/src/soma/soma-base/5.1
./brainvisa-5.1-5.3/bin/bv python3 -m build /casa/host/src/populse/populse_db/5.1
./brainvisa-5.1-5.3/bin/bv python3 -m build /casa/host/src/capsul/5.1
Publish them to
test.pypi.org
./brainvisa-5.1-5.3/bin/bv python3 -m twine upload --repository testpypi /casa/host/src/soma/soma-workflow/5.1/dist/*
./brainvisa-5.1-5.3/bin/bv python3 -m twine upload --repository testpypi /casa/host/src/soma/soma-base/5.1/dist/*
./brainvisa-5.1-5.3/bin/bv python3 -m twine upload --repository testpypi /casa/host/src/populse/populse_db/5.1/dist/*
./brainvisa-5.1-5.3/bin/bv python3 -m twine upload --repository testpypi /casa/host/src/capsul/5.1/dist/*
Create a virtualenv test environment and test packages install:
mkdir -p /tmp/brainvisa-5.1.1/testenv && python3 -m venv /tmp/brainvisa-5.1.1/testenv
/tmp/brainvisa-5.1.1/testenv/bin/python3 -m pip install --index-url https://test.pypi.org/simple/ soma-workflow
/tmp/brainvisa-5.1.1/testenv/bin/python3 -m pip install --index-url https://test.pypi.org/simple/ soma-base
/tmp/brainvisa-5.1.1/testenv/bin/python3 -m pip install --index-url https://test.pypi.org/simple/ populse_db
/tmp/brainvisa-5.1.1/testenv/bin/python3 -m pip install --index-url https://test.pypi.org/simple/ capsul
Publish them to
pypi.org
./brainvisa-5.1-5.3/bin/bv python3 -m twine upload /casa/host/src/soma/soma-workflow/5.1/dist/*
./brainvisa-5.1-5.3/bin/bv python3 -m twine upload /casa/host/src/soma/soma-base/5.1/dist/*
./brainvisa-5.1-5.3/bin/bv python3 -m twine upload /casa/host/src/populse/populse_db/5.1/dist/*
./brainvisa-5.1-5.3/bin/bv python3 -m twine upload /casa/host/src/capsul/5.1/dist/*
Open a new GitHub issue for known issues
Close the old GitHub known issues
Make an announcement on the GitHub discussions
If the releases has significant new features, announce it on the mailing list
The text was updated successfully, but these errors were encountered: