This is the first release in almost two years of inactivity, and as such it contains a lot of practice changes.
It mainly prepares code for a non-backward compatible leap in a future 0.6.0.
Added
- We now checked compatibility with Python 3.10 and 3.11.
pyproject.toml
is now the official definition of the package.Linkage.hyperstaticity
now clearly outputs a warning when used.
Changed
master
branch is nowmain
.docs/example/fourbar_linkage.py
can now be used as a module (not the target but anyway).docs/examples
moved toexamples/
(main folder).- Now
docs/
only contains sphinx documentation.
- Now
docs/examples/images
moved toimages/
.
Fixed
- Setting a motor with a negative rotation angle do no longer break
get_rotation_period
(#7). Pivot.reload
andLinkage.__find_solving_order__
were raising Warnings (stopping the code), when they should only print a message (intended behavior).- Fixed many typos in documentation as well as in code.
- The
TestPSO.test_convergence
is now faster on average, and when it fails in the first time, it launches a bigger test. - Minor linting in the demo file
docs/example/fourbar_linkage.py
.
Deprecated
- Using Python 3.7 is officially deprecated (end of life by 2023-06-27). It will no longer be tested, use it at your own risks!