Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
f88eb0f
Added the AnimatePlayBackLines class which facilitates playback anima…
eisDNV Feb 5, 2026
0106873
Extended data type of playback data to Sequence, so that explicit cas…
eisDNV Feb 5, 2026
7c03678
Updated pendulum action and much extended tests releated to pendulum
eisDNV Feb 21, 2026
fc6f119
Adapt to changes in component_model.utils.controller.py module.
eisDNV Feb 24, 2026
d55811d
Updated pendulum tests + related changes/findings on code base. Pendu…
eisDNV Mar 9, 2026
793119a
Updates on pendulum action. Tests are still not all activated and nee…
eisDNV Mar 24, 2026
f4a45f8
Changed 'uv sync --upgrade' to 'uv sync -U'
ClaasRostock Mar 25, 2026
ef71eeb
Removed redundant 'Set up Python' steps (no longer needed, as 'uv syn…
ClaasRostock Mar 25, 2026
f9e4e47
Removed redundant 'Set up Python' steps (no longer needed, as 'uv syn…
ClaasRostock Mar 25, 2026
cc0af6a
Added 'name: Checkout code' to uses of 'actions/checkout', for better…
ClaasRostock Mar 25, 2026
1cf8920
Added 'name: Upload build artifacts' to uses of 'actions/upload-artif…
ClaasRostock Mar 25, 2026
26b0b2c
Added 'name: Download build artifacts' to uses of 'actions/download-a…
ClaasRostock Mar 25, 2026
6268a1b
Ensured that actions 'upload-artifact' and 'download-artifact' unifor…
ClaasRostock Mar 25, 2026
b038573
Replaced 'Run twine check' with 'Check build artifacts' in workflow s…
ClaasRostock Mar 25, 2026
b37adab
Replaced 'Build source distribution and wheel' with 'Build source dis…
ClaasRostock Mar 25, 2026
c50954e
Added 'name: Publish to PyPI' to uses of 'pypa/gh-action-pypi-publish…
ClaasRostock Mar 25, 2026
57f10da
Updated the syntax used for the OS and Python matrix in test workflow…
ClaasRostock Mar 25, 2026
9466677
Updated the syntax used for the OS and Python matrix in test workflow…
ClaasRostock Mar 25, 2026
108368f
Updated the syntax used for the OS and Python matrix in test workflow…
ClaasRostock Mar 25, 2026
3df2aa0
Updated the syntax used for the OS and Python matrix in test workflow…
ClaasRostock Mar 25, 2026
994ed04
Updated the syntax used for the OS and Python matrix in test workflow…
ClaasRostock Mar 25, 2026
5eb2600
Updated the syntax used for the OS and Python matrix in test workflow…
ClaasRostock Mar 25, 2026
1f04bb1
pull_request_to_main.yml and nightly_build.yml: Added 'workflow_dispa…
ClaasRostock Mar 25, 2026
1321419
Updated CHANGELOG.md
ClaasRostock Mar 25, 2026
bb4bf5e
Sphinx conf.py: Updated year in copyright statement to 2026
ClaasRostock Mar 25, 2026
910faa9
Updated CHANGELOG.md
ClaasRostock Mar 25, 2026
4c9b3db
Updated to plotly>=6.5
ClaasRostock Mar 25, 2026
55657f4
Updated to ruff>=0.15.1
ClaasRostock Mar 25, 2026
51866d0
Updated to sphinx-argparse-cli>=1.20.1
ClaasRostock Mar 25, 2026
729a79c
Updated to furo>=2025.12
ClaasRostock Mar 25, 2026
e7a6421
Updated to sphinx>=9.0
ClaasRostock Mar 25, 2026
6f65ed7
Updated to myst-parser>=5.0
ClaasRostock Mar 25, 2026
ca24fb9
Updated to sphinxcontrib-mermaid>=2.0
ClaasRostock Mar 25, 2026
2648da2
Updated to pyright>=1.1.408
ClaasRostock Mar 25, 2026
b900644
Updated to pytest>=9.0
ClaasRostock Mar 25, 2026
0055e6d
Updated to pre-commit>=4.5
ClaasRostock Mar 25, 2026
2b853f3
Updated to scipy>=1.17.0
ClaasRostock Mar 25, 2026
44c0724
Updated to docutils>=0.22.4
ClaasRostock Mar 25, 2026
d03ebcc
Updated to mypy>=1.19.1
ClaasRostock Mar 25, 2026
d0c9b76
Updated to sourcery>=1.43.0
ClaasRostock Mar 25, 2026
b05f21a
Updated to sphinx-autodoc-typehints>=3.6
ClaasRostock Mar 25, 2026
9ba29cf
.pre-commit-config.yaml: Updated rev of ruff-pre-commit to v0.15.1
ClaasRostock Mar 25, 2026
3c201f7
Updated CHANGELOG.md
ClaasRostock Mar 25, 2026
f9b397c
updated uv.lock
ClaasRostock Mar 25, 2026
f6357db
pyproject.toml: Added default directories to the 'exclude' list for p…
ClaasRostock Mar 25, 2026
b853440
.github/workflows/_code_quality.yml: Added missing '#' in a commented…
ClaasRostock Mar 25, 2026
5f9086e
tests/test_working_directory/.gitignore: Added *.xml, *.fmu and *.dat…
ClaasRostock Mar 25, 2026
2bec9a8
tests/conftest.py, tests/test_crane_on_spring.py: Change destination …
ClaasRostock Mar 25, 2026
271fca3
updated CHANGELOG.md
ClaasRostock Mar 25, 2026
c706a19
Bumped version number to 0.3.1
ClaasRostock Mar 25, 2026
a7a216b
updated uv.lock
ClaasRostock Mar 25, 2026
fcb1c99
docs/source/py_crane.rst: Adapted to changed name of one module (py_c…
ClaasRostock Mar 25, 2026
cd9ebb5
ruff format
ClaasRostock Mar 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/workflows/_build_and_publish_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ jobs:
with:
enable-cache: true
cache-dependency-glob: 'uv.lock'
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version-file: 'pyproject.toml'
- name: Install the project
run: uv sync --frozen
- name: Print debugging information
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/_build_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ jobs:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Checkout code
uses: actions/checkout@v5
with:
lfs: true
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- uses: actions/setup-python@v6
with:
python-version-file: "pyproject.toml"
- name: Build source distribution and wheel
- name: Build source distribution and wheels
run: uv build
- name: Run twine check
- name: Check build artifacts
run: uvx twine check --strict dist/*
- uses: actions/upload-artifact@v5
- name: Upload build artifacts
uses: actions/upload-artifact@v5
with:
name: dist
path: |
dist/*.tar.gz
dist/*.whl
32 changes: 12 additions & 20 deletions .github/workflows/_code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,45 +7,40 @@ jobs:
runs-on: ubuntu-latest
name: ruff format
steps:
- uses: actions/checkout@v5
- name: Checkout code
uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version-file: "pyproject.toml"
- name: Install the project
run: uv sync --upgrade
run: uv sync -U
- name: Run ruff format
run: uv run ruff format --diff

ruff_check:
runs-on: ubuntu-latest
name: ruff check
steps:
- uses: actions/checkout@v5
- name: Checkout code
uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version-file: "pyproject.toml"
- name: Install the project
run: uv sync --upgrade
run: uv sync -U
- name: Run ruff check
run: uv run ruff check --diff

# pyright:
# runs-on: ubuntu-latest
# name: pyright
# steps:
# - uses: actions/checkout@v5
# - name: Checkout code
# uses: actions/checkout@v5
# - name: Install uv
# uses: astral-sh/setup-uv@v7
# with:
Expand All @@ -56,25 +51,22 @@ jobs:
# with:
# python-version-file: "pyproject.toml"
# - name: Install the project
# run: uv sync --upgrade --extra test
# run: uv sync -U --extra test
# - name: Run pyright
# run: uv run pyright

mypy:
runs-on: ubuntu-latest
name: mypy
steps:
- uses: actions/checkout@v5
- name: Checkout code
uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version-file: "pyproject.toml"
- name: Install the project
run: uv sync --upgrade --extra test
run: uv sync -U --extra test
- name: Run mypy
run: uv run mypy
3 changes: 2 additions & 1 deletion .github/workflows/_merge_into_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
runs-on: ubuntu-latest
environment: release
steps:
- uses: actions/checkout@v5
- name: Checkout code
uses: actions/checkout@v5
with:
# Fetch the whole history to prevent unrelated history errors
fetch-depth: 0
Expand Down
24 changes: 7 additions & 17 deletions .github/workflows/_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,33 +4,23 @@ on: workflow_call

jobs:
test:
name: Test on ${{matrix.python.version}}-${{matrix.platform.runner}}
runs-on: ${{ matrix.platform.runner }}
name: Test (Python ${{ matrix.python }}, ${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
platform:
- runner: ubuntu-latest
- runner: windows-latest
# - runner: macos-latest
python:
- version: '3.11'
- version: '3.12'
- version: '3.13'
- version: '3.14'
os: [ubuntu-latest, windows-latest]
python: ['3.11', '3.12', '3.13', '3.14']
steps:
- uses: actions/checkout@v5
- name: Checkout code
uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
cache-dependency-glob: 'uv.lock'
- name: Install Python ${{ matrix.python.version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python.version }}
- name: Install the project
run: uv sync -p ${{ matrix.python.version }} -U --no-dev --extra test
run: uv sync -p ${{ matrix.python }} -U --no-dev --extra test
- name: Run pytest
run: >
uv run --with pytest --with pytest-cov
Expand Down
15 changes: 5 additions & 10 deletions .github/workflows/_test_future.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,29 +5,24 @@ on: workflow_call

jobs:
test315:
name: Test on ${{matrix.python.version}}-${{matrix.platform.runner}} (experimental)
name: Test (Python ${{ matrix.python.version }}, ${{ matrix.os }}) (experimental)
continue-on-error: true
runs-on: ${{ matrix.platform.runner }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
platform:
- runner: ubuntu-latest
- runner: windows-latest
os: [ubuntu-latest, windows-latest]
python:
- version: '3.15.0-alpha - 3.15.0'
uvpy: '3.15'
steps:
- uses: actions/checkout@v5
- name: Checkout code
uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true
cache-dependency-glob: 'uv.lock'
- name: Install Python ${{ matrix.python.version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python.version }}
- name: Remove Python upper version constraint from pyproject.toml
shell: pwsh
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/nightly_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ run-name: Nightly Build (by @${{ github.actor }})
on:
schedule:
- cron: '30 5 * * *'
workflow_dispatch: # Allow manual trigger

jobs:
test:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v5
- name: Download build artifacts
uses: actions/download-artifact@v5
with:
name: artifact
name: dist
path: dist
- uses: pypa/gh-action-pypi-publish@release/v1
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
# with: # Uncomment this line to publish to testpypi
# repository-url: https://test.pypi.org/legacy/ # Uncomment this line to publish to testpypi
merge_into_release:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pull_request_to_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- converted_to_draft
branches:
- main
workflow_dispatch: # Allow manual trigger

concurrency:
group: pr-${{ github.ref }}-1
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
- id: check-toml
- id: check-merge-conflict
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.14.3
rev: v0.15.1
hooks:
- id: ruff-format
- id: ruff-check
Expand Down
21 changes: 0 additions & 21 deletions .vscode/extensions.json

This file was deleted.

66 changes: 0 additions & 66 deletions .vscode/launch.json

This file was deleted.

52 changes: 0 additions & 52 deletions .vscode/settings.json

This file was deleted.

Loading
Loading