update dependencies; bump versions for pre-commit, pytest, and typer - #185
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR updates project dependencies to their latest versions, focusing on pre-commit hooks, testing frameworks, and CLI tooling. The changes ensure both the main template and generated projects use current versions of essential development tools.
- Updated core dependencies: pre-commit (4.3.0), pytest (8.4.1), pytest-cov (6.0.1), and typer (0.16.1)
- Upgraded pre-commit hooks including ruff-pre-commit (0.12.10) and pre-commit-hooks (v6.0.0)
- Bumped project version to 1.2.2 with corresponding changelog entries and GitHub Actions improvements
Reviewed Changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Updated main project version and dependency versions |
| CHANGELOG.md | Added release notes for version 1.2.2 with dependency updates |
| {{cookiecutter.project_slug}}/requirements.txt | Updated typer version for CLI functionality |
| {{cookiecutter.project_slug}}/requirements-dev.txt | Updated development dependencies |
| {{cookiecutter.project_slug}}/pyproject.toml | Updated Poetry and PEP 621 dependency specifications |
| {{cookiecutter.project_slug}}/environment-dev.yml | Updated conda environment dependencies |
| {{cookiecutter.project_slug}}/.pre-commit-config.yaml | Updated pre-commit hook versions |
| .pre-commit-config.yaml | Updated main template pre-commit hooks |
| .github/workflows/traffic.yml | Updated GitHub Actions checkout to v5 |
| .github/workflows/tests-poetry.yml | Updated GitHub Actions checkout to v5 |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates several dependencies and configuration files to ensure the project uses the latest versions and maintains compatibility with current tooling. The changes affect both the main template and the generated project files, focusing on pre-commit hooks, testing, linting, and Python package versions.
Dependency and toolchain updates:
pre-committo version4.3.0acrosspyproject.toml,requirements-dev.txt,environment-dev.yml, and.pre-commit-config.yamlfor both the main template and generated project files. [1] [2] [3] [4] [5] [6]pytestto8.4.1andpytest-covto6.0.1in all relevant configuration files. [1] [2] [3] [4] [5]typerto0.16.1in both template and generated project files. [1] [2] [3] [4]isortto6.0.1andruff-pre-committo0.12.10. [1] [2]Workflow and metadata updates:
actions/checkout@v5for improved performance and security. (.github/workflows/tests-poetry.yml,.github/workflows/traffic.yml) [1] [2]1.2.2inpyproject.tomland added a corresponding changelog entry with links for release tracking. [1] [2] [3]These updates help keep the project template and generated projects up-to-date with the latest best practices and ensure compatibility with modern Python tooling.