From 0c8ed2bf2db0979d9d147cf2b7bf7cd9681c5ef1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 25 Nov 2026 15:42:58 +0000 Subject: [PATCH] chore(deps): update dependency https://github.com/diamondlightsource/python-copier-template to v5.6.0 --- .copier-answers.yml | 2 +- .devcontainer/devcontainer.json | 6 ++++++ .github/CONTRIBUTING.md | 4 ++++ docs/index.md | 16 ++++++++++++++++ pyproject.toml | 22 ++++++++++++++++++++-- 5 files changed, 47 insertions(+), 3 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index 976843a07f..37a8bcd6b7 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -1,5 +1,5 @@ # Changes here will be overwritten by Copier -_commit: 5.5.0 +_commit: 5.6.0 _src_path: https://github.com/DiamondLightSource/python-copier-template author_email: callum.forrester@diamond.ac.uk author_name: Callum Forrester diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 092c670c23..fbd0988c2e 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -73,6 +73,12 @@ ], // Mount the parent as /workspaces so we can pip install peers as editable "workspaceMount": "source=${localWorkspaceFolder}/..,target=/workspaces,type=bind", +<<<<<<< before updating // After the container is created, recreate the venv then make prek first run faster "postCreateCommand": "uv venv --clear && uv sync && prek install --install-hooks" +======= + // After the container is created, recreate the venv then make pre-commit first run faster + // Ensure we use system uv, as there might be a different (old) version of uv in the venv + "postCreateCommand": "/usr/bin/uv venv --clear && /usr/bin/uv sync && pre-commit install --install-hooks" +>>>>>>> after updating } diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 6dadd1f162..b4bf1442b7 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -169,6 +169,10 @@ LLM generated code must be disclosed. Documentation is intended for people to read and it is strongly recommended that it is written manually. +<<<<<<< before updating If it helps ensure the documentation stays in sync with the code, LLMs may be used to review new docs for correctness/completeness or to ensure code changes update any relevant docs. +======= +For more information on common tasks like setting up a developer environment, running the tests, and setting a pre-commit hook, see the template's [How-to guides](https://diamondlightsource.github.io/python-copier-template/5.6.0/how-to.html). +>>>>>>> after updating diff --git a/docs/index.md b/docs/index.md index 28eb29127f..8b763248d0 100644 --- a/docs/index.md +++ b/docs/index.md @@ -21,8 +21,12 @@ Documentation is split into [four categories](https://diataxis.fr), also accessi :maxdepth: 2 tutorials ``` +<<<<<<< before updating +++ +======= +:::{card-footer} +>>>>>>> after updating Tutorials for installation and typical usage. New users start here. ::: @@ -32,8 +36,12 @@ Tutorials for installation and typical usage. New users start here. :maxdepth: 2 how-to ``` +<<<<<<< before updating +++ +======= +:::{card-footer} +>>>>>>> after updating Practical step-by-step guides for the more experienced user. ::: @@ -43,8 +51,12 @@ Practical step-by-step guides for the more experienced user. :maxdepth: 2 explanations ``` +<<<<<<< before updating +++ +======= +:::{card-footer} +>>>>>>> after updating Explanations of how it works and why it works that way. ::: @@ -54,8 +66,12 @@ Explanations of how it works and why it works that way. :maxdepth: 2 reference ``` +<<<<<<< before updating +++ +======= +:::{card-footer} +>>>>>>> after updating Technical reference material including APIs and release notes. ::: diff --git a/pyproject.toml b/pyproject.toml index f4846991fc..db2348fdc2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,18 @@ [build-system] -requires = ["setuptools>=64", "setuptools_scm[toml]>=8"] +requires = ["setuptools>=77.0.3", "setuptools_scm[toml]>=8"] build-backend = "setuptools.build_meta" [project] name = "blueapi" classifiers = [ +<<<<<<< before updating "Development Status :: 3 - Alpha", "License :: OSI Approved :: Apache Software License", +======= + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", +>>>>>>> after updating "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", ] @@ -31,7 +37,8 @@ dependencies = [ "packaging", ] dynamic = ["version"] -license.file = "LICENSE" +license = "Apache-2.0" +license-files = ["LICENSE"] readme = "README.md" requires-python = ">=3.13" @@ -71,8 +78,12 @@ dev = [ "sphinx-copybutton", "sphinx-click", "sphinx-design", +<<<<<<< before updating "sphinxcontrib-openapi", "tox-uv", +======= + "tox-uv-bare", +>>>>>>> after updating "types-mock", "types-PyYAML", "types-requests", @@ -139,6 +150,13 @@ env_list = ["pre-commit", "type-checking", "tests", "docs"] [tool.tox.env_run_base] # Pass all environment variables to the test environments passenv = ["*"] +allowlist_externals = [ + "pyright", + "pytest", + "pre-commit", + "sphinx-build", + "sphinx-autobuild", +] [tool.tox.env.pre-commit] description = "Run pre-commit (prek) on all files"