Updated dependencies using deptry, modernized tooling#354
Merged
jamesbraza merged 6 commits intomainfrom Apr 16, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR modernizes the project’s Python tooling stack by upgrading core dev dependencies (notably pytest v9), introducing deptry for dependency-linting, and updating pre-commit hooks and related configuration across the monorepo packages.
Changes:
- Upgrade testing/tooling dependencies (incl.
pytest>=9) and refresh pre-commit hook revisions. - Add
deptryconfiguration (root + packages) and rundeptryin CI for the root project and eachpackages/*project. - Adjust tests and lockfile/package extras to align with updated dev dependency layout.
Reviewed changes
Copilot reviewed 15 out of 16 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
uv.lock |
Updates locked dependency set; adds deptry and related deps; adjusts extras/dev requirements across packages. |
pyproject.toml |
Adds deptry config, updates dev deps (incl. pytest>=9), adds pydantic-core, and modifies pytest configuration location/format. |
.github/workflows/tests.yml |
Runs deptry in the lint job for root and each package directory. |
.pre-commit-config.yaml |
Bumps revisions for ruff, prettier, toml-sort, uv-pre-commit, and pyproject schema validation hooks. |
tests/test_utils.py |
Removes pytest_subtests import and updates subtests annotation. |
tests/test_tools.py |
Removes pytest_subtests import and updates subtests annotation. |
tests/test_envs.py |
Removes pytest_subtests import and updates subtests annotation. |
src/aviary/utils.py |
Docstring section ordering tweak (Returns/Raises). |
src/aviary/core.py |
Removes duplicate eval_answer entry in exported names list. |
packages/notebook/src/aviary/envs/notebook/utils.py |
Docstring section ordering tweak (Returns/Raises). |
packages/notebook/pyproject.toml |
Adds dev deps for tests + deptry config; adds typing-extensions for <3.13. |
packages/lfrqa/pyproject.toml |
Expands dev deps to include pytest tooling + adds deptry config. |
packages/labbench/tests/test_tasks.py |
Removes pytest_subtests import and updates subtests annotation. |
packages/labbench/pyproject.toml |
Adjusts dependencies/dev deps (incl. pytest>=9) and adds deptry config. |
packages/hotpotqa/pyproject.toml |
Adds a dev extra (pytest tooling) and deptry config. |
packages/gsm8k/pyproject.toml |
Adds a dev extra (pytest tooling) and deptry config. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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 PR updates our tooling:
pytestv9pre-commitstack