Skip to content
Alexander Fabisch edited this page May 30, 2022 · 93 revisions

Welcome to the pytransform3d wiki!

Notes

Release 2.0.0

Breaking Changes

Removed functions / constants:

  • pytransform3d.rotations.matrix_from
  • pytransform3d.rotations.matrix_from_angle
  • pytransform3d.rotations.matrix_from_euler_xyz
  • pytransform3d.rotations.matrix_from_euler_zyx
  • pytransform3d.rotations.euler_xyz_from_matrix
  • pytransform3d.rotations.euler_zyx_from_matrix
  • pytransform3d.rotations.assert_euler_xyz_equal
  • pytransform3d.rotations.assert_euler_zyx_equal
  • pytransform3d.rotations.e_xyz_id
  • pytransform3d.rotations.e_zyx_id

Release Checklist

  • Update version number
  • Merge develop to master
  • Make github release
  • Update documentation
cd doc
make clean
make html
git clone git@github.com:rock-learning/pytransform3d.git --branch gh-pages
cd pytransform3d
rm -rf *
cp -R ../build/html/* .
git add *
  • Publish on PYPI:
python setup.py sdist
twine upload dist/*
  • Test PyPI release in docker container:
docker run -it ubuntu:20.04
apt update
apt install -y python3 python3-pip git
pip3 install pytransform3d[test]
git clone https://github.com/rock-learning/pytransform3d.git
cd pytransform3d
MPLBACKEND=Agg nosetests -sv pytransform3d/ --with-coverage
  • Update version in conda forge, merge request will be done automatically by a bot (more info: 1 2)

Tools

flake8 pytransform3d examples  --show-source --ignore E402,F401,W503,W504,W605,E303 --statistics --docstring-style numpy
pylint -d C0103,R1725,R0205 --extension-pkg-whitelist=numpy,open3d pytransform3d
mypy --check-untyped-defs pytransform3d
pytest -W ignore::DeprecationWarning --cov=pytransform3d pytransform3d  # dependencies: pytest pytest-cov
darglint --docstring-style numpy pytransform3d

Checklist for New Features

  • are there tests for every branch and special case?
  • does it have docstrings?
  • does it have type hints in the corresponding .pyi file?
  • is it included in the API documentation?
  • run flake8, pylint, and mypy
  • should it be part of the user documentation?
  • should it be included in any example script?
Clone this wiki locally