Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,6 @@
// Mount the parent as /workspaces so we can pip install peers as editable
"workspaceMount": "source=${localWorkspaceFolder}/..,target=/workspaces,type=bind",
// After the container is created, recreate the venv then make prek first run faster
"postCreateCommand": "uv venv --clear && uv sync && prek install --install-hooks"
// 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 && prek install --install-hooks"
}
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,4 @@ Python projects.

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.5.0/how-to.html).
guides](https://diamondlightsource.github.io/python-copier-template/5.6.0/how-to.html).
12 changes: 4 additions & 8 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ Documentation is split into [four categories](https://diataxis.fr), also accessi
:maxdepth: 2
tutorials
```

+++
:::{card-footer}
Tutorials for installation and typical usage. New users start here.
:::

Expand All @@ -32,8 +31,7 @@ Tutorials for installation and typical usage. New users start here.
:maxdepth: 2
how-to
```

+++
:::{card-footer}
Practical step-by-step guides for the more experienced user.
:::

Expand All @@ -43,8 +41,7 @@ Practical step-by-step guides for the more experienced user.
:maxdepth: 2
explanations
```

+++
:::{card-footer}
Explanations of how it works and why it works that way.
:::

Expand All @@ -54,8 +51,7 @@ Explanations of how it works and why it works that way.
:maxdepth: 2
reference
```

+++
:::{card-footer}
Technical reference material including APIs and release notes.
:::

Expand Down
19 changes: 13 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
[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 = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: Apache Software License",
"Development Status :: 5 - Production/Stable",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This feels like it shouldn't be bundled in with a template update

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It comes from here

I can remove it

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nah, I thought it was from a copier answer being changed. I didn't realise it was hard-coded to alpha before.

"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
Expand All @@ -31,7 +30,8 @@ dependencies = [
"packaging",
]
dynamic = ["version"]
license.file = "LICENSE"
license = "Apache-2.0"
license-files = ["LICENSE"]
readme = "README.md"
requires-python = ">=3.13"

Expand Down Expand Up @@ -70,9 +70,9 @@ dev = [
"sphinx-autobuild>=2024.4.16",
"sphinx-copybutton",
"sphinx-click",
"sphinx-design",
"sphinx-design>=0.8.0",
"sphinxcontrib-openapi",
"tox-uv",
"tox-uv-bare",
"types-mock",
"types-PyYAML",
"types-requests",
Expand Down Expand Up @@ -139,6 +139,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",
"uv",
"sphinx-build",
"sphinx-autobuild",
]

[tool.tox.env.pre-commit]
description = "Run pre-commit (prek) on all files"
Expand Down
50 changes: 6 additions & 44 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading