Skip to content

Conversation

aaron-hopkinson
Copy link
Contributor

Resolves merge conflicts and fixes broken imports after reorganisation.

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

frazane and others added 6 commits October 7, 2025 10:28
Closes #427.

--- 

***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.](https://github.com/ecmwf/codex/blob/main/Legal/contributor_license_agreement.md)
<!--pre-commit.ci start-->
updates:
- [github.com/psf/black-pre-commit-mirror: 25.1.0 →
25.9.0](psf/black-pre-commit-mirror@25.1.0...25.9.0)
- [github.com/pycqa/isort: 6.0.1 →
6.1.0](PyCQA/isort@6.0.1...6.1.0)
- [github.com/astral-sh/ruff-pre-commit: v0.12.11 →
v0.13.3](astral-sh/ruff-pre-commit@v0.12.11...v0.13.3)
- [github.com/tox-dev/pyproject-fmt: v2.6.0 →
v2.7.0](tox-dev/pyproject-fmt@v2.6.0...v2.7.0)
<!--pre-commit.ci end-->

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
## Description
Reduces the complexity of legacy sources by moving to straightforward
class inheritance and implementation, removing the need for the
decorator and dynamically generated classes.

***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.](https://github.com/ecmwf/codex/blob/main/Legal/contributor_license_agreement.md)
#316)

…ions

## Description

<!-- Provide a brief summary of the changes introduced in this pull
request. -->

## Type of Change

-   [x] Bug fix (non-breaking change which fixes an issue)
-   [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
-   [ ] Documentation update

## Issue Number

<!-- Link the Issue number this change addresses, ideally in one of the
"magic format" such as Closes #XYZ -->

<!-- Alternatively, explain the motivation behind the changes and the
context in which they are being made. -->

## Code Compatibility

-   [ ] I have performed a self-review of my code

### Code Performance and Testing

- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I ran the [complete Pytest
test](https://anemoi.readthedocs.io/projects/training/en/latest/dev/testing.html)
suite locally, and they pass

<!-- In case this affects the model sharding or other specific
components please describe these here. -->

### Dependencies

- [ ] I have ensured that the code is still pip-installable after the
changes and runs
- [ ] I have tested that new dependencies themselves are
pip-installable.

<!-- List any new dependencies that are required for this change and the
justification to add them. -->

### Documentation

-   [ ] My code follows the style guidelines of this project
- [ ] I have updated the documentation and docstrings to reflect the
changes
- [ ] I have added comments to my code, particularly in
hard-to-understand areas

<!-- Describe any major updates to the documentation -->

## Additional Notes

<!-- Include any additional information, caveats, or considerations that
the reviewer should be aware of. -->

Co-authored-by: Aaron Hopkinson <[email protected]>
@aaron-hopkinson aaron-hopkinson requested a review from a team as a code owner October 7, 2025 13:36
@github-project-automation github-project-automation bot moved this to To be triaged in Anemoi-dev Oct 7, 2025
@github-actions github-actions bot added dependencies Pull requests that update a dependency file CI/CD labels Oct 7, 2025
@aaron-hopkinson aaron-hopkinson moved this from To be triaged to Reviewers needed in Anemoi-dev Oct 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD dependencies Pull requests that update a dependency file
Projects
Status: Reviewers needed
Development

Successfully merging this pull request may close these issues.

3 participants