Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Kitware/trame-vtk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.8.8
Choose a base ref
...
head repository: Kitware/trame-vtk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Jun 7, 2024

  1. Copy the full SHA
    bc7e883 View commit details
  2. 2.8.9

    Automatically generated by python-semantic-release
    github-actions committed Jun 7, 2024
    Copy the full SHA
    cf32041 View commit details

Commits on Aug 7, 2024

  1. Copy the full SHA
    42f2283 View commit details
  2. 2.8.10

    Automatically generated by python-semantic-release
    github-actions committed Aug 7, 2024
    Copy the full SHA
    a8ec763 View commit details

Commits on Oct 17, 2024

  1. Copy the full SHA
    660a1d4 View commit details
  2. 2.8.11

    Automatically generated by python-semantic-release
    github-actions committed Oct 17, 2024
    Copy the full SHA
    8cedc9d View commit details

Commits on Nov 8, 2024

  1. Copy the full SHA
    d2b075f View commit details
  2. 2.8.12

    Automatically generated by python-semantic-release
    github-actions committed Nov 8, 2024
    Copy the full SHA
    2de6ec0 View commit details

Commits on Jan 1, 2025

  1. docs: update README.rst

    jourdain authored Jan 1, 2025
    Copy the full SHA
    38ad9b2 View commit details

Commits on Jan 7, 2025

  1. Copy the full SHA
    fa7571d View commit details
  2. 2.8.13

    Automatically generated by python-semantic-release
    github-actions committed Jan 7, 2025
    Copy the full SHA
    414545f View commit details
  3. ci: use pyproject and ruff

    jourdain committed Jan 7, 2025
    Copy the full SHA
    290cd3e View commit details
  4. Copy the full SHA
    df46242 View commit details

Commits on Jan 8, 2025

  1. Copy the full SHA
    19e2394 View commit details
  2. 2.8.14

    Automatically generated by python-semantic-release
    semantic-release committed Jan 8, 2025
    Copy the full SHA
    9d6cb21 View commit details

Commits on Jan 9, 2025

  1. Copy the full SHA
    e2e3a43 View commit details
  2. docs(readme): fix typo

    jourdain authored Jan 9, 2025
    Copy the full SHA
    990ad17 View commit details
  3. Copy the full SHA
    166e50c View commit details

Commits on Jan 10, 2025

  1. ci: try to fix testing

    jourdain committed Jan 10, 2025
    Copy the full SHA
    242da1e View commit details
  2. ci: install osmesa

    jourdain committed Jan 10, 2025
    Copy the full SHA
    97a02e5 View commit details

Commits on Jan 12, 2025

  1. Copy the full SHA
    274da78 View commit details

Commits on Feb 9, 2025

  1. Copy the full SHA
    02a5568 View commit details
  2. ci: update upload artifact

    jourdain committed Feb 9, 2025
    Copy the full SHA
    bada39f View commit details
  3. 2.8.15

    Automatically generated by python-semantic-release
    semantic-release committed Feb 9, 2025
    Copy the full SHA
    135780c View commit details
Showing with 1,409 additions and 544 deletions.
  1. +1 −1 .codespellrc
  2. +1 −1 .externals.sha256
  3. +1 −1 .fetch_externals.sh
  4. +20 −9 .github/workflows/test_and_release.yml
  5. +4 −10 .pre-commit-config.yaml
  6. +756 −342 CHANGELOG.md
  7. +9 −1 README.rst
  8. +1 −1 examples/pyvista/ambient.py
  9. +1 −0 examples/pyvista/export_scene.py
  10. +1 −1 examples/pyvista/grid.py
  11. +1 −1 examples/pyvista/lighting.py
  12. +1 −3 examples/pyvista/picking.py
  13. +0 −1 examples/pyvista/scalar_range.py
  14. +0 −1 examples/pyvista/toggle_edge_lighting.py
  15. +1 −1 examples/pyvista/toggle_edges_many_actors.py
  16. +100 −0 examples/validation/Animation.py
  17. +84 −0 examples/validation/AnimationPV.py
  18. +0 −1 examples/validation/BigIntCoords.py
  19. +4 −2 examples/validation/CaptureImageLocal.py
  20. +0 −1 examples/validation/PickingLocalView.py
  21. +1 −0 examples/validation/PyVistaVolumeRendering.py
  22. +23 −0 noxfile.py
  23. +90 −0 pyproject.toml
  24. +0 −33 setup.cfg
  25. +0 −3 setup.py
  26. +4 −2 tests/requirements.txt
  27. +1 −1 trame/modules/paraview.py
  28. +1 −1 trame/modules/vtk.py
  29. +1 −1 trame/widgets/paraview.py
  30. +1 −1 trame/widgets/vtk.py
  31. +25 −0 trame_vtk/modules/paraview/__init__.py
  32. +8 −4 trame_vtk/modules/paraview/protocols/local_rendering.py
  33. +33 −7 trame_vtk/modules/paraview/protocols/publish_image_delivery.py
  34. +25 −0 trame_vtk/modules/vtk/__init__.py
  35. +8 −4 trame_vtk/modules/vtk/protocols/local_rendering.py
  36. +8 −0 trame_vtk/modules/vtk/protocols/mouse_handler.py
  37. +66 −29 trame_vtk/modules/vtk/protocols/publish_image_delivery.py
  38. +128 −80 trame_vtk/widgets/vtk/common.py
  39. BIN visual_baseline/test_rendering[examples/validation/PyVistaInt64.py]/init/baseline_ref_2.png
  40. BIN visual_baseline/test_rendering[examples/validation/PyVistaLookupTable.py]/init/baseline_ref_2.png
  41. BIN visual_baseline/test_rendering[examples/validation/VolumeRendering.py]/init/baseline_ref_3.png
2 changes: 1 addition & 1 deletion .codespellrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[codespell]
skip = CHANGELOG.md
skip = CHANGELOG.md,trame_vtk/modules/vtk/serializers/data.py,trame_vtk/modules/vtk/serializers/actors.py
2 changes: 1 addition & 1 deletion .externals.sha256
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
b757777855acdc69644186c0678fb8f15cd28614fc96454e567ee81ae57ff3be ./trame_vtk/tools/static_viewer.html
9916a1d1889d8aa24a2fa946a263ba9700d7ec2940de992efcb449e6b9604fcd ./trame_vtk/modules/common/serve/trame-vtk.js
42656ef471a77ba90930a3991fcf3cb2af647eb4c8eb29a434183596ed7c68da ./trame_vtk/modules/common/serve/trame-vtk.js
2 changes: 1 addition & 1 deletion .fetch_externals.sh
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
set -e

mkdir -p ./trame_vtk/modules/common/serve
curl https://unpkg.com/vue-vtk-js@3.2.1 -Lo ./trame_vtk/modules/common/serve/trame-vtk.js
curl https://unpkg.com/vue-vtk-js@3.2.2 -Lo ./trame_vtk/modules/common/serve/trame-vtk.js
curl https://kitware.github.io/vtk-js/examples/OfflineLocalView/OfflineLocalView.html -Lo ./trame_vtk/tools/static_viewer.html

if ! sha256sum --check .externals.sha256 ; then
29 changes: 20 additions & 9 deletions .github/workflows/test_and_release.yml
Original file line number Diff line number Diff line change
@@ -62,11 +62,12 @@ jobs:
- name: Install dependencies
run: |
pip install .
pip install .[dev]
pip install -r tests/requirements.txt
pip uninstall vtk -y
pip install --extra-index-url https://wheels.vtk.org vtk-osmesa
pip install coverage
- name: Install OSMesa for Linux
if: matrix.config.os == 'ubuntu-latest'
run: sudo apt-get install -y libosmesa6-dev

- name: Run Tests
run: |
@@ -79,7 +80,7 @@ jobs:
uses: codecov/codecov-action@v3

- name: Upload pytest test results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: pytest-results-${{ matrix.config.name }}
@@ -93,10 +94,17 @@ jobs:
needs: [pre-commit, pytest]
runs-on: ubuntu-latest
if: github.event_name == 'push'
environment:
name: pypi
url: https://pypi.org/p/trame
permissions:
id-token: write # IMPORTANT: mandatory for trusted publishing
contents: write # IMPORTANT: mandatory for making GitHub Releases


steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

@@ -105,8 +113,11 @@ jobs:
bash .fetch_externals.sh
- name: Python Semantic Release
uses: relekang/python-semantic-release@v7.34.6
id: release
uses: relekang/python-semantic-release@v9.15.2
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
repository_username: __token__
repository_password: ${{ secrets.PYPI_API_TOKEN }}

- name: Publish package distributions to PyPI
if: steps.release.outputs.released == 'true'
uses: pypa/gh-action-pypi-publish@release/v1
14 changes: 4 additions & 10 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
repos:
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
entry: black --check

- repo: https://github.com/codespell-project/codespell
rev: v2.1.0
hooks:
- id: codespell
args: ['--ignore-words=.ignore-words.txt']

- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.4
hooks:
- id: flake8
- id: ruff
- id: ruff-format
Loading