-
Notifications
You must be signed in to change notification settings - Fork 0
Tidying up gateway dependencies #248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Changed Files
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
requirements/*files.