Skip to content

Conversation

@AndrewSazonov
Copy link
Member

@AndrewSazonov AndrewSazonov commented Jan 23, 2026

This PR contains a set of follow-up fixes and adjustments after applying the updated Copier templates.

Changes

  • Adapted the project to the updated Copier template structure (see https://github.com/easyscience/templates for details)

  • CI runs on Python 3.11 and 3.12, with 3.12 as the default.

  • Updated reset_global_object in conftest.py. This is a temporary workaround that requires running pytest with the --cov= --cov-report= flags to pass, but it speeds up unit tests by roughly 5–10×.
    Can be run as:

    pixi run unit-tests
  • Enabled Ruff linting and formatting checks (see pyproject.toml) and updated the codebase to comply with them.

  • Temporarily disabled pre-commit and pre-push hooks to ease the transition.
    They can be re-enabled later with:

    pixi run pre-commit-install
  • Added missing documentation assets and fixed several docs issues, allowing the docs to auto-build successfully at:
    https://easyscience.github.io/dynamics-lib/dev/

  • All documentation versions are now stored in a dedicated gh-pages branch (https://github.com/easyscience/dynamics-lib/tree/gh-pages). The branch contains subfolders named after each release tag, as well as a dev subfolder used for all branches (feature branches, develop, and master).

  • Jupyter notebook examples have been moved from examples/ to docs/docs/tutorials/ as they are now part of the built documentation.
    To run them locally from the project root (Use the pixi kernel when running the notebooks):

    pixi run jupyter lab docs/docs/tutorials/
  • Fixed several broken CI workflows

@AndrewSazonov AndrewSazonov added the [scope] enhancement Adds/improves features (major.MINOR.patch) label Jan 23, 2026
@codecov
Copy link

codecov bot commented Jan 23, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.66%. Comparing base (64b054b) to head (6877efe).
⚠️ Report is 3 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop      #82      +/-   ##
===========================================
- Coverage    98.10%   97.66%   -0.44%     
===========================================
  Files           21       28       +7     
  Lines         1055     1458     +403     
  Branches         0      237     +237     
===========================================
+ Hits          1035     1424     +389     
+ Misses          20       19       -1     
- Partials         0       15      +15     
Flag Coverage Δ
integration 0.00% <ø> (?)
unittests 97.66% <ø> (-0.44%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

2 similar comments
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@AndrewSazonov AndrewSazonov added the [priority] high Should be prioritized soon label Jan 24, 2026
Copy link
Member

@henrikjacobsenfys henrikjacobsenfys left a comment

Choose a reason for hiding this comment

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

Looks good to me!

Thanks for all of it, also for the improved fix of the global map problem I've been having.

I don't dare merge it myself ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[priority] high Should be prioritized soon [scope] enhancement Adds/improves features (major.MINOR.patch)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants