Skip to content

Update Master with Develop#1068

Merged
Gui-FernandesBR merged 13 commits into
masterfrom
develop
Jul 19, 2026
Merged

Update Master with Develop#1068
Gui-FernandesBR merged 13 commits into
masterfrom
develop

Conversation

@Gui-FernandesBR

Copy link
Copy Markdown
Member

No description provided.

phmbressan and others added 6 commits July 14, 2026 17:45
* MNT: deduplicate function arithmetic logic.

ENH: modularize function arithmetic and source dispatch.

MNT: refactor function math modules.

MNT: optimize function math speed.

* MNT: enhance parachute trigger evaluation for speed.

* MNT: improve typing stack on Function evaluation.

* MNT: architecture corrections and optimizations.

* TST: attempt at tests re-run.

* MNT: minor fixes and docstring update.
* ENH: Interactive 3D Flight Trajectory and Attitude Animation.

* TST: update actions workflow dependencies for headless run.

* MNT: solve plot animation review comments on styling.
@Gui-FernandesBR
Gui-FernandesBR requested a review from a team as a code owner July 15, 2026 12:15
@Gui-FernandesBR

Copy link
Copy Markdown
Member Author

I noticed now that the auto changelog feature has been working, but unfortunately not that smartly, sometimes it repeats entry.
I will fix it as soon as possible, let's not worry so much about the CHANGELOG.md file for now.

@codecov

codecov Bot commented Jul 15, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 88.67801% with 173 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.29%. Comparing base (ba9d130) to head (10fa378).
⚠️ Report is 17 commits behind head on master.

Files with missing lines Patch % Lines
rocketpy/plots/flight_plots.py 89.30% 74 Missing ⚠️
rocketpy/mathutils/_calc/evaluator.py 85.14% 45 Missing ⚠️
rocketpy/mathutils/_calc/polation_1d.py 81.09% 38 Missing ⚠️
rocketpy/mathutils/_calc/polation_base.py 75.00% 4 Missing ⚠️
rocketpy/mathutils/_calc/registry.py 88.88% 4 Missing ⚠️
rocketpy/mathutils/_calc/polation_nd.py 96.62% 3 Missing ⚠️
rocketpy/mathutils/_calc/_fitting.py 97.77% 2 Missing ⚠️
rocketpy/mathutils/vector_matrix.py 95.45% 2 Missing ⚠️
rocketpy/stochastic/stochastic_flight.py 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1068      +/-   ##
==========================================
+ Coverage   81.84%   82.29%   +0.45%     
==========================================
  Files         115      122       +7     
  Lines       15145    16361    +1216     
==========================================
+ Hits        12396    13465    +1069     
- Misses       2749     2896     +147     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

MateusStano
MateusStano previously approved these changes Jul 15, 2026
@Gui-FernandesBR

Copy link
Copy Markdown
Member Author

documentation not building, codecoverage not passing... Needss fix

phmbressan
phmbressan previously approved these changes Jul 16, 2026
@MateusStano

MateusStano commented Jul 18, 2026

Copy link
Copy Markdown
Member

Docs are building on ReadTheDocs. The check is only failing because of this warning

/home/runner/work/RocketPy/RocketPy/rocketpy/plots/flight_plots.py:docstring of rocketpy.plots.flight_plots._FlightPlots.animate_trajectory: WARNING: invalid value set (missing closing brace): {"speed", "mach", "dynamic_pressure", "acceleration",

And the tests coverage are only failing because of the new animation methods on _FlightPlots: _add_animation_charts, _update_animation_chart_cursors, _ground_bounds_from_spec, _ground_bounds_from_spec, _update_animation_camera, _rocket_axial_display_coordinate, _animation_phase, _rotation_telemetry, _animation_background_palette, _style_animation_slider, _run_animation etc

I am not sure these are easily testable though, some seem to depend on interactions on the simulation render

@phmbressan could you can fix this? If these are not testable just flag them as not testable.

Fixes the two CI failures on the develop -> master sync (PR #1068):

- DOC/build-docs: the ``color_by`` parameter of ``animate_trajectory``
  used the numpydoc ``{...}`` value-set syntax split across two lines,
  which numpydoc rejects ("invalid value set (missing closing brace)").
  Because the docs job builds with ``-W`` (warnings as errors) the build
  failed. Rewrite the type as a single-line prose description.

- codecov/patch and codecov/project: the new PyVista animation subsystem
  in ``_FlightPlots`` was only exercised by a single minimal off-screen
  smoke test, leaving the scene builders and the pure geometry/telemetry
  helpers uncovered. Add unit tests for the render-independent helpers
  (quaternion rotation, polylines, camera paths, option validation, event
  markers, telemetry panels, background palette, etc.) and extend the
  off-screen integration tests to drive the full set of overlays (charts,
  camera tracking, stability markers, playback controls) and the GIF
  export path.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VW2VidZmPd93dd8xW8BX2J
…s-q35rzb

TST/DOC: fix build-docs and codecov failures from the PyVista animations
@Gui-FernandesBR
Gui-FernandesBR dismissed stale reviews from phmbressan and MateusStano via 538d4ca July 19, 2026 01:14
github-actions Bot and others added 2 commits July 19, 2026 01:15
…astic_flight` objects with attributes in base flight (#1070)

* Add max_time option to stochastic_flight

* Update: use default attributes in flight object for stochastic flights

* Add tests to check attributes

* Refactor implementation
Gui-FernandesBR and others added 2 commits July 19, 2026 14:34
… deps sync (#1073)

* DOC: consolidate and clean v1.13.0 changelog for release

- Fold the Unreleased section into v1.13.0 and date it 2026-07-19.
- Drop reverted PR #958 entries (parachute abstract-base breaking change)
  and its revert #1063 - neither ever reached a release.
- Consolidate the 3D flight animation into a single #1066 (PyVista) entry;
  drop the superseded Vedo-based #909.
- Remove duplicate entries (#1066, #1067, #1055 in Added, #1047 in Added)
  and the doubled "ENH: ENH:" / "MNT: MNT:" auto-changelog prefixes.
- Drop non-user-facing meta entries (#1062 changelog cleanup, #1069 CI fix)
  and the test-only entry (#1051), per the changelog's own scope rules.
- Add the missing #1070 (max_time for StochasticFlight) entry.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* MNT: sync optional animation deps in requirements-optional.txt

The 3D flight animation switched from Vedo (#909) to PyVista (#1066).
pyproject.toml was updated (animation extra = pyvista + imageio-ffmpeg)
but requirements-optional.txt still pinned the now-unused vedo and was
missing the new deps. Drop vedo and add pyvista/imageio-ffmpeg so both
dependency sources agree.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@Gui-FernandesBR
Gui-FernandesBR merged commit 1f27358 into master Jul 19, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants