Skip to content

fix: review provenance information#250

Merged
anaprietonem merged 2 commits intomainfrom
fix/provenance-info
Jan 21, 2026
Merged

fix: review provenance information#250
anaprietonem merged 2 commits intomainfrom
fix/provenance-info

Conversation

@b8raoult
Copy link
Collaborator

Description

Last PR of 2025! (Or first of 2026 for people down under). A small update of the gather_provenance_info() function:

  • As Python 3.9 is not supported anymore, make full use of the importlib.metadata package, which is the recommended way of finding packages information, such as their version.
  • Filter out system packages properly.
  • Correctly report independently installed sub-packages (e.g. earthkit.data vs earthkit, the latter being a package and not a namespace).

What problem does this change solve?

What issue or task does this change relate to?

Additional notes

As a contributor to the Anemoi framework, please ensure that your changes include unit tests, updates to any affected dependencies and documentation, and have been tested in a parallel setting (i.e., with multiple GPUs). As a reviewer, you are also responsible for verifying these aspects and requesting changes if they are not adequately addressed. For guidelines about those please refer to https://anemoi.readthedocs.io/en/latest/

By opening this pull request, I affirm that all authors agree to the Contributor License Agreement.

@github-project-automation github-project-automation bot moved this to To be triaged in Anemoi-dev Dec 31, 2025
@github-actions github-actions bot added the bug Something isn't working label Dec 31, 2025
@HCookie HCookie moved this from To be triaged to Reviewers needed in Anemoi-dev Jan 6, 2026
@HCookie HCookie self-requested a review January 6, 2026 17:31
@github-project-automation github-project-automation bot moved this from Reviewers needed to For merging in Anemoi-dev Jan 6, 2026
@anaprietonem anaprietonem merged commit 0c23efe into main Jan 21, 2026
71 of 72 checks passed
@anaprietonem anaprietonem deleted the fix/provenance-info branch January 21, 2026 09:41
@github-project-automation github-project-automation bot moved this from For merging to Done in Anemoi-dev Jan 21, 2026
anaprietonem pushed a commit that referenced this pull request Jan 21, 2026
🤖 Automated Release PR

This PR was created by `release-please` to prepare the next release.
Once merged:

1. A new version tag will be created
2. A GitHub release will be published
3. The changelog will be updated

Changes to be included in the next release:
---


##
[0.4.43](0.4.42...0.4.43)
(2026-01-21)


### Features

* Deprecate `ai-models.json` in favour of `anemoi.json`
([#247](#247))
([b5b1437](b5b1437))


### Bug Fixes

* Review provenance information
([#250](#250))
([0c23efe](0c23efe))

---
> [!IMPORTANT]
> Please do not change the PR title, manifest file, or any other
automatically generated content in this PR unless you understand the
implications. Changes here can break the release process.
> ⚠️ Merging this PR will:
> - Create a new release
> - Trigger deployment pipelines
> - Update package versions

 **Before merging:**
 - Ensure all tests pass
 - Review the changelog carefully
 - Get required approvals

[Release-please
documentation](https://github.com/googleapis/release-please)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ATS Approval not needed bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants