Skip to content

Release v0.7.8 - #64

Merged
JarryGabriel merged 7 commits into
mainfrom
ci/fix-changelog-output
Mar 20, 2026
Merged

Release v0.7.8#64
JarryGabriel merged 7 commits into
mainfrom
ci/fix-changelog-output

Conversation

@JarryGabriel

Copy link
Copy Markdown
Member

What's Changed

🐛 Bug Fixes

  • open_airclim: Use self.params instead of self.default_params — the model was ignoring instance parameters and always falling back to class defaults ([AXM-628])
  • ci: Use git-cliff content output instead of changelog path

♻️ Changed

  • report: Replace climaccf_version with openairclim_version in climate metrics JSON output (climACCF is no longer used directly)

🧪 Testing

  • open_airclim: Add regression tests for the self.params fix

📦 Dependencies

  • Add openairclim as formal dependency
  • Pin pybada version

📚 Documentation

  • Regenerate CHANGELOG.md with git-cliff (full commit history)

JarryGabriel and others added 7 commits March 19, 2026 16:53
The git-cliff-action outputs `content` (changelog text) and
`changelog` (file path). The workflow was reading the file path
instead of the text, causing the fallback to GitHub auto-generated
release notes.

Fixes: .outputs.changelog → .outputs.content in set_output step.
- Add openairclim==0.13.0 to dependencies with uv git source
- Pin pybada==0.1.10 in Makefile (kept manual install due to requires-python conflict)
- Remove manual pip install of openairclim from Makefile
- Bump requires-python to >=3.11.5 (openairclim constraint)
…M-628]

Replace all 11 occurrences of self.default_params.xxx with self.params.xxx
in OpenAirClimModel.run() and _flight_to_inventory().

self.default_params is the class-level type (OpenAirClimParams), not the
instance-resolved params set by BaseStep.__init__. This caused all runtime
parameter injection to be silently ignored — in particular tmp_base_dir_path
was always '' (class default), causing tempfile.TemporaryDirectory(dir='')
to create relative tmp dirs that fail on read-only filesystems (Azure).

Also updates test_tmpdir_bugs.py to mirror the fixed pattern and assert
correct behavior instead of documenting the bug.
Add 5 unit tests validating that BaseStep subclasses correctly use
self.params (instance-resolved) instead of self.default_params (class
defaults) for runtime parameters like tmp_base_dir_path.

These tests are self-contained and do not require pycontrails,
openairclim, or pyBADA.

Ref: AXM-628
climACCF is not used by the project. Replace the dependency
version field in FleetReport with openAirClim, which is the
actual climate function library in use.
@JarryGabriel
JarryGabriel merged commit 885a30c into main Mar 20, 2026
6 checks passed
@JarryGabriel
JarryGabriel deleted the ci/fix-changelog-output branch March 20, 2026 16:31
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.

2 participants