Skip to content

v0.2.1

Latest
Compare
Choose a tag to compare
@ClaasRostock ClaasRostock released this 05 Feb 11:22
· 1 commit to main since this release
6e5f370

Added

  • Added CITATION.cff file
  • Added mypy and pyright as static type checkers

Changed

  • Simplified set/get_variable_value interface, so that the special OSP set_initial call is not in general needed.
  • Renamed SimulatorInterface to SystemInterface
  • Modularized SystemInterface, and abstracted it away from the specific simulator:

    SystemInterface managing only the specifications, SystemInterfaceOSP also being able to run simulations.
  • Updated code base to be in sync with latest changes in python_project_template
  • tests/test_oscillator_fmu.py : Skip test test_run_osp_system_structure() on Linux. The HarmonicOscillator.fmu throws an error on Linux (not though on Windows).

Solved

  • Updated make_osp_system_structure() to correctly handle bool
  • Added missing type hints
  • Resolved issues raised by ruff, mypy and pyright
  • Sphinx documentation: resolved warnings raised in build process

Dependencies

  • Updated to ruff>=0.9.2 (from ruff>=0.6.3)
  • Updated to pyright>=1.1.392 (from pyright>=1.1.378)
  • Updated to sourcery>=1.31 (from sourcery>=1.22)
  • Updated to numpy>=1.26 (from numpy>=1.26,<2.0)
  • Updated to matplotlib>=3.10 (from matplotlib>=3.9.1)
  • Updated to pytest-cov>=6.0 (from pytest-cov>=5.0)
  • Updated to Sphinx>=8.1 (from Sphinx>=8.0)
  • Updated to sphinx-argparse-cli>=1.19 (from sphinx-argparse-cli>=1.17)
  • Updated to sphinx-autodoc-typehints>=3.0 (from sphinx-autodoc-typehints>=2.2)
  • Updated to pre-commit>=4.0 (from pre-commit>=3.8)
  • Updated to mypy>=1.14 (from mypy>=1.11.1)
  • Updated to setup-uv@v5 (from setup-uv@v2)