Merged
Conversation
- Update requests from 2.32.3 to 2.32.5 (fixes CVE-2024-47081) - Update urllib3 from 2.4.0 to 2.6.3 (fixes CVE-2025-50181, CVE-2025-50182, CVE-2025-66418, CVE-2025-66471, CVE-2026-21441) - Update wheel from 0.45.1 to 0.46.3 (fixes CVE-2026-24049) - Update filelock from 3.18.0 to 3.20.3 (fixes CVE-2025-68146, CVE-2026-22701) - Update virtualenv from 20.31.2 to 20.36.1 (fixes CVE-2026-22702) - Upgrade minimum Python version from 3.9 to 3.10 (required for secure dependency versions) - Update CI/CD workflows to use Python 3.10 and 3.13 - Update all template files with new Python version requirements All 10 Dependabot vulnerabilities have been resolved: - 4 High severity issues fixed - 6 Moderate severity issues fixed
YAML interprets 3.10 as float 3.1, causing CI failures. Python versions must be quoted as strings: '3.10' instead of 3.10
Update all Python Docker images in GitLab CI pipeline to use Python 3.10 to match the new minimum Python version requirement.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR addresses multiple security vulnerabilities by upgrading various Python dependencies and increasing the minimum Python version requirement from 3.9 to 3.10. However, there are several critical issues that need to be addressed.
Changes:
- Upgraded minimum Python version from 3.9 to 3.10 across multiple configuration files
- Updated security-critical dependencies: requests, urllib3, wheel, filelock, and virtualenv
- Modified CI/CD workflows to test Python 3.10 and 3.13 instead of 3.9 and 3.13
Reviewed changes
Copilot reviewed 11 out of 12 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| {{cookiecutter.project_slug}}/setup.py | Updated python_requires from >=3.9 to >=3.10 |
| {{cookiecutter.project_slug}}/requirements-dev.txt | Updated wheel version constraint to >=0.46.2 |
| {{cookiecutter.project_slug}}/pyproject.toml | Updated Python version constraint from ^3.9 to ^3.10 |
| {{cookiecutter.project_slug}}/environment.yml | Updated conda Python dependency from >=3.9 to >=3.10 |
| {{cookiecutter.project_slug}}/environment-dev.yml | Updated conda Python dependency from >=3.9 to >=3.10 |
| pyproject.toml | Updated Python version, added security dependency constraints |
| poetry.lock | Updated locked versions for requests, urllib3, wheel, filelock, virtualenv |
| hooks/pre_gen_project.py | Updated Python version check from 3.9.0 to 3.10.0 |
| README.md | Updated documentation to reflect Python 3.10 minimum requirement |
| CHANGELOG.md | Added security update entries and change notes |
| .github/workflows/tests-poetry.yml | Updated test matrix from Python 3.9 to 3.10 |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Updated pre-commit from 4.3.0 to 4.5.1 in all template files - Updated pyhocon from 0.3.59 to 0.3.61 in cookiecutter template - Updated wheel from 0.46.2 to 0.46.3 in requirements-dev.txt - Added v1.3.0 link to CHANGELOG.md All dependency files now consistently use the latest versions: - pyproject.toml (root & template) ✅ - requirements-dev.txt ✅ - environment-dev.yml ✅ - CHANGELOG.md ✅
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.
Security
requestsfrom 2.32.3 to 2.32.5 (Moderate - .netrc credentials leak)urllib3from 2.4.0 to 2.6.3 (Moderate - redirects not disabled with retries)urllib3to 2.6.3 (Moderate - redirects in browsers/Node.js)urllib3to 2.6.3 (High - unbounded decompression chain)urllib3to 2.6.3 (High - improper handling of compressed data)urllib3to 2.6.3 (High - decompression-bomb bypass in redirects)wheelfrom 0.45.1 to 0.46.3 (High - path traversal in wheel unpack)filelockfrom 3.18.0 to 3.20.3 (Moderate - TOCTOU symlink attack)filelockto 3.20.3 (Moderate - TOCTOU in SoftFileLock)virtualenvfrom 20.31.2 to 20.36.1 (Moderate - TOCTOU in directory creation)Changed