Developer’s guide#
Contributing#
See the Contributing Guide.
Drafting new releases#
Follow these steps when drafting a new release:
Ensure that the master branch is passing the tests and that the latest version of the documentation is properly being built.
Decide whether to issue a minor or a major release following this guide.
Create and switch to a new branch named
release-X.Y.Update the release number accordingly in the VERSION file.
Update the required PyCOMPSs version in the quickstart guide if necessary.
Update the change log.
Update the performance plot in the documentation if necessary.
Push the release branch with the changes.
Merge the newly created branch to the master branch.
Draft a new release in Github using this template using tag name
vX.Y.Z.Create and tag docker images for the release using the scripts under
docker/:Build the base, torch, and CI images (tagged with the version from the
VERSIONfile and aslatest):./docker/build.sh --versionedLog in and push all images to dockerhub:
docker login -u DOCKERHUB_USER -p DOCKERHUB_PASSWORD ./docker/push.sh --versioned
Create a pip package and upload it to PyPi:
Ensure that you have the latest version of
wheel, andtwineinstalled:pip3 install --upgrade build twine
Build the package:
python3 -m build
Validate befoe uploading:
twine check dist/*
Create and upload the pip package:
python3 -m twine upload dist/dislib-X.Y.Z*