From f622eeee2ba4c06a91c6dbe2b3db0e07015746c8 Mon Sep 17 00:00:00 2001 From: ccui Date: Wed, 5 Feb 2025 18:32:03 -0500 Subject: [PATCH 1/3] Migrate from poetry to uv --- .pre-commit-config.yaml | 2 +- docs/developer_documentation/git_workflow.rst | 4 +- docs/developer_documentation/style.rst | 39 +- examples/README.md | 14 +- examples/Tromp_2005/README.md | 17 +- examples/fluid-solid-bathymetry/README.md | 16 +- examples/fluid-solid-interface/README.md | 16 +- .../README.md | 17 +- examples/poetry.lock | 2241 ----------------- examples/pyproject.toml | 20 - examples/solid-solid-interface/README.md | 16 +- poetry.lock | 1301 ---------- pyproject.toml | 39 +- uv.lock | 1830 ++++++++++++++ 14 files changed, 1909 insertions(+), 3663 deletions(-) delete mode 100644 examples/poetry.lock delete mode 100644 examples/pyproject.toml delete mode 100644 poetry.lock create mode 100644 uv.lock diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 125d7d8f5..fb51913bb 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -11,7 +11,7 @@ repos: - id: requirements-txt-fixer - id: trailing-whitespace - repo: https://github.com/pre-commit/mirrors-clang-format - rev: "v15.0.6" + rev: "v19.1.7" hooks: - id: clang-format types_or: [c++] diff --git a/docs/developer_documentation/git_workflow.rst b/docs/developer_documentation/git_workflow.rst index 9dab12b98..46253122d 100644 --- a/docs/developer_documentation/git_workflow.rst +++ b/docs/developer_documentation/git_workflow.rst @@ -15,11 +15,11 @@ To make a change to SPECFEM++ (This development workflow is similar to the one s .. note:: - It is also recommended that you run :code:`poetry install` every time you pull the develop branch. Please check :ref:`style section