Skip to content

458 make public improvements#459

Merged
arporter merged 7 commits intomasterfrom
458_make_public_improvements
Jun 25, 2025
Merged

458 make public improvements#459
arporter merged 7 commits intomasterfrom
458_make_public_improvements

Conversation

@hiker
Copy link
Collaborator

@hiker hiker commented Feb 1, 2025

Addresses #458:

  1. Leave comments in the code (to support UM-style "depends on" comments)
  2. Add example code of how to leave some definitions unchanged, used to leave "DrHook variables" like ModuleName private (these can cause compilation failures if wildcard imports are used, because a module then ends up with two conflicting definitions). The code does not change anything atm (i.e. the list of names to ignore is empty), so no change unless a user changes this definition. We do this in our LFRic-build environment for example.
  3. I also added more comments to the 'ignore_comments` docstring. Admittedly, it was actually clear and I was overthinking things, but I guess making this explicit can't hurt.

@codecov
Copy link

codecov bot commented Feb 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.14%. Comparing base (46fe474) to head (79d0871).
Report is 8 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #459   +/-   ##
=======================================
  Coverage   92.14%   92.14%           
=======================================
  Files          86       86           
  Lines       13834    13834           
=======================================
  Hits        12747    12747           
  Misses       1087     1087           

☔ View full report in Codecov by Sentry.
📢 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.

@hiker
Copy link
Collaborator Author

hiker commented Feb 1, 2025

The CI failure is not caused by this PR:

Run actions/setup-python@v4
Installed versions
  Version 3.7 was not found in the local cache
  Error: The version '3.7' with architecture 'x64' was not found for Ubuntu 24.04.
  The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

I could manually trigger the 3.8 run, but 3.11 keeps on getting cancelled

@arporter
Copy link
Member

arporter commented Feb 3, 2025

We had this problem with the PSyclone repo too - we had to downgrade the version of Ubuntu used for the runner in order to retain 3.7 support.

@sergisiso
Copy link
Collaborator

@hiker If you bring it to master now the CI issue may get resolved

Copy link
Member

@arporter arporter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @hiker and apologies for forgetting about this.
Just a couple of small things and then this can go on.

@arporter arporter added reviewed with actions PR has been reviewed and is back with developer and removed under review labels Jun 5, 2025
@hiker hiker added ready for review and removed reviewed with actions PR has been reviewed and is back with developer labels Jun 23, 2025
Copy link
Member

@arporter arporter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Joerg, all good now.

@arporter arporter added ready for merge PR is waiting on final CI checks before being merged. and removed under review labels Jun 25, 2025
@arporter arporter merged commit 5e7dd5d into master Jun 25, 2025
6 checks passed
@arporter arporter deleted the 458_make_public_improvements branch June 25, 2025 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for merge PR is waiting on final CI checks before being merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants