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.0.0a4
_commit: 5.2.0
_src_path: gh:DiamondLightSource/python-copier-template
author_email: oliver.copping@diamond.ac.uk
author_name: Oliver Copping
Expand Down
8 changes: 0 additions & 8 deletions .devcontainer/install_lazygit.sh

This file was deleted.

2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ It is recommended that developers use a [vscode devcontainer](https://code.visua

This project was created using the [Diamond Light Source Copier Template](https://github.com/DiamondLightSource/python-copier-template) for 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.0.0a4/how-to.html).
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.2.0/how-to.html).
28 changes: 0 additions & 28 deletions .github/dependabot.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .github/workflows/_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ on:
type: string
description: The runner to run this job on
required: true
secrets:
CODECOV_TOKEN:
required: true

env:
# https://github.com/pytest-dev/pytest/issues/2042
Expand Down Expand Up @@ -41,5 +38,3 @@ jobs:
with:
name: ${{ inputs.python-version }}/${{ inputs.runs-on }}
files: cov.xml
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,12 @@ jobs:
strategy:
matrix:
runs-on: ["ubuntu-latest"] # can add windows-latest, macos-latest
python-version: ["3.12", "3.13"]
python-version: ["3.12", "3.13", "3.14"]
fail-fast: false
uses: ./.github/workflows/_test.yml
with:
runs-on: ${{ matrix.runs-on }}
python-version: ${{ matrix.python-version }}
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

dist:
uses: ./.github/workflows/_dist.yml
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ repos:
rev: v6.0.0
hooks:
- id: check-added-large-files
args: ["--maxkb=1000"] # uv.lock is more than 500kB
exclude: ^uv.lock
- id: check-yaml
- id: check-merge-conflict
- id: end-of-file-fixer
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The devcontainer should use the developer target and run as root with podman
# or docker with user namespaces.
FROM ghcr.io/diamondlightsource/ubuntu-devcontainer:noble AS developer
FROM ghcr.io/diamondlightsource/ubuntu-devcontainer:resolute AS developer

# Add any system dependencies for the developer/build environment here
RUN apt-get update -y && apt-get install -y --no-install-recommends \
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ A package for building Phoebus GUIs

Techui-builder is a module for building and organising phoebus gui screens using a builder-ibek yaml description of an IOC, with a user created techui.yaml file containing a description of the screens the user wants to create.

Source | <https://github.com/DiamondLightSource/techui-builder>
What | Where
:---: | :---:
Source | <https://github.com/DiamondLightSource/techui-builder>
PyPI | `pip install techui-builder`
Releases | <https://github.com/DiamondLightSource/techui-builder/releases>

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ description = "A package for building Phoebus GUIs"
classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
urls = { GitHub = "https://github.com/DiamondLightSource/techui-builder" }
authors = [
Expand Down Expand Up @@ -124,7 +125,7 @@ commands = [
[
"basedpyright",
"--pythonpath",
".venv/bin/python",
"{env:VIRTUAL_ENV}/bin/python",
"src",
"tests",
{ replace = "posargs", default = [
Expand Down
36 changes: 36 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"lockFileMaintenance": {
"description": "Keep uv.lock up to date, merging if tests pass",
"enabled": true,
"automerge": true
},
"packageRules": [
{
"description": "Disable python version as that is managed by python-copier-template",
"matchManagers": [
"pyenv"
],
"enabled": false
},
{
"description": "Disable github actions that are managed by python-copier-template",
"matchPackageNames": [
"actions/checkout",
"astral-sh/setup-uv",
"actions/upload-artifact",
"actions/download-artifact",
"softprops/action-gh-release",
"codecov/codecov-action",
"pypa/gh-action-pypi-publish"
],
"matchManagers": [
"github-actions"
],
"enabled": false
}
]
}