Conversation
Changed Files
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR modernizes the Python dependency management for the gateway project by introducing automated dependency tracking with deptry, updating documentation URLs to match the Django 4.2 version in use, and removing deprecated requirements files in favor of the uv-based workflow.
Changes:
- Adds deptry pre-commit hook and configuration to track missing and unused dependencies
- Updates all Django documentation URLs from
/en/dev/to/en/4.2/to match the project's Django version - Removes deprecated
gateway/requirements/*.txtfiles (base.txt, local.txt, production.txt)
Reviewed changes
Copilot reviewed 9 out of 11 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| sdk/src/spectrumx/errors.py | Improves type hint for Unset singleton by using Self instead of string literal |
| gateway/uv.lock | Updates multiple dependencies including boto3, coverage, django-allauth, gunicorn, and others |
| gateway/requirements/* | Removes deprecated requirements files now superseded by pyproject.toml |
| gateway/pyproject.toml | Adds deptry configuration with DEP002/DEP003 ignore rules, updates fido2 version, adds requests dependency |
| gateway/config/settings/base.py | Updates Django documentation URLs to v4.2 and adds clarifying comments |
| .pre-commit-config.yaml | Adds check-added-large-files hook and deptry pre-commit hook |
| gateway/justfile | Adds deptry command for manual dependency checking |
| gateway/docs/changelog.md | Reformats text to improve line wrapping |
| gateway/package-lock.json | Updates npm dependencies including parcel/watcher, memfs, and others |
Files not reviewed (1)
- gateway/package-lock.json: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
klpoland
approved these changes
Jan 27, 2026
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.
requirements/*files.