Skip to content

Update copier template to 5.0.2 - #22

Merged
hyperrealist merged 4 commits into
PandABlocks:mainfrom
hyperrealist:update-copier-template-to-5.0.2
Apr 15, 2026
Merged

Update copier template to 5.0.2#22
hyperrealist merged 4 commits into
PandABlocks:mainfrom
hyperrealist:update-copier-template-to-5.0.2

Conversation

@hyperrealist

Copy link
Copy Markdown
Contributor

Closes #21

@codecov

codecov Bot commented Apr 14, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 46.15385% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 39.70%. Comparing base (c60db44) to head (bd9db4d).
⚠️ Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
src/fastcs_pandablocks/panda/blocks/data.py 22.22% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #22      +/-   ##
==========================================
+ Coverage   39.11%   39.70%   +0.58%     
==========================================
  Files          18       18              
  Lines         997     1000       +3     
==========================================
+ Hits          390      397       +7     
+ Misses        607      603       -4     

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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Updates the repository to align with python-copier-template version 5.0.2, modernizing tooling (uv/tox), CI workflows, and developer/container setup.

Changes:

  • Migrate CI/dev tooling toward uv + tox (new tox config in pyproject.toml, updated GitHub workflows, updated pre-commit hooks).
  • Refresh project automation/config (add renovate.json, add .gitleaks.toml, remove Dependabot + custom install action).
  • Update container/devcontainer setup and minor code/style adjustments (entrypoint guard, handler renames, docs link update).

Reviewed changes

Copilot reviewed 26 out of 27 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
tests/conftest.py Removes pytest debugging hook configuration.
src/fastcs_pandablocks/panda/blocks/data.py Renames handlers for naming consistency; updates dispatch call sites.
src/fastcs_pandablocks/__main__.py Adds if __name__ == "__main__": guard.
renovate.json Adds Renovate configuration and rules.
pyproject.toml Adopts dependency groups + tox 4 TOML config; expands supported Python classifiers.
docs/conf.py Updates intersphinx mapping URL for fastcs.
Dockerfile Switches to devcontainer base image and uses uv sync for environment creation.
.python-version Adds pinned Python version file.
.pre-commit-config.yaml Updates hook versions; enables ruff auto-fix; adds uv sync and gitleaks hooks.
.gitleaks.toml Adds gitleaks configuration/allowlist.
.github/workflows/periodic.yml Updates linkcheck tox invocation.
.github/workflows/ci.yml Restructures CI jobs, adds Python 3.13, and updates job dependencies/permissions.
.github/workflows/_tox.yml Switches tox execution to uv run and updates checkout action version.
.github/workflows/_test.yml Switches to uv run for tests; updates checkout/codecov actions; removes token wiring.
.github/workflows/_release.yml Updates artifact download action and release action pin.
.github/workflows/_pypi.yml Updates artifact download action version.
.github/workflows/_docs.yml Switches docs build to uv run tox; updates checkout action version.
.github/workflows/_dist.yml Uses uvx for build/twine; adjusts wheel install step.
.github/workflows/_container.yml Adds publish input and gates registry push on successful tests.
.github/workflows/_check.yml Removes branch/PR detection workflow.
.github/dependabot.yml Removes Dependabot configuration (replaced by Renovate).
.github/actions/install_requirements/action.yml Removes custom composite action (replaced by uv-based setup).
.github/ISSUE_TEMPLATE/bug_report.md Minor wording/spelling update.
.github/CONTRIBUTING.md Updates template documentation link to 5.0.2.
.devcontainer/devcontainer.json Updates environment/caching strategy for uv + pre-commit; new mounts and post-create commands.
.copier-answers.yml Bumps copier template version and enables new template options.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/ISSUE_TEMPLATE/bug_report.md Outdated
Comment thread Dockerfile
Comment thread src/fastcs_pandablocks/panda/blocks/data.py
Comment thread src/fastcs_pandablocks/panda/blocks/data.py Outdated
Comment thread src/fastcs_pandablocks/panda/blocks/data.py Outdated

@shihab-dls shihab-dls left a comment

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.

I've run this against the PandA in G13, and all seems well; thank you for fixing the bugs you spotted. Approving!

EDIT: feel free to merge if you're happy with this

@hyperrealist
hyperrealist merged commit 30a3740 into PandABlocks:main Apr 15, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update to latest copier template (5.0.2)

3 participants