Skip to content

fix(deps): bump virtualenv, urllib3, python-discovery pins for new advisories (#202) - #203

Merged
luongnv89 merged 1 commit into
mainfrom
fix/dep-scan-advisories
Oct 11, 2026
Merged

luongnv89 merged 1 commit into
mainfrom
fix/dep-scan-advisories

Conversation

@luongnv89

Copy link
Copy Markdown
Owner

Closes #202

Description

The CI Dependency Vulnerability Scan fails on new advisories against two dev pins. This bumps them within what resolves at the Python 3.10 floor (per docs/DEVELOPMENT.md → Security auditing), with no --ignore-vuln exceptions.

Package From To Why
virtualenv 21.7.4 21.7.16 PYSEC-2026-4011..4014 (fixed in 21.7.13); latest 21.7.x patch
urllib3 2.7.0 2.8.0 PYSEC-2026-4175..4177
python-discovery 1.5.2 1.6.2 every fixed virtualenv requires python-discovery>=1.6

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

Acceptance Criteria Verification

Criterion Status Evidence
virtualenv and urllib3 pinned at or above fix versions verified requirements-dev.constraints.txt: virtualenv 21.7.16, urllib3 2.8.0
pip-audit reports no known vulnerabilities verified bash scripts/pip-audit-locked.sh → "No known vulnerabilities found"
Constraints resolve for Python 3.10–3.14 verified pip download --python-version {3.10..3.14} --only-binary=:all: -r requirements-dev.txt -c requirements-dev.constraints.txt — all five OK
No --ignore-vuln exceptions added verified scripts/pip-audit-locked.sh unchanged
CI Dependency Vulnerability Scan passes pending this PR's CI run

Testing

  • Clean venv (Python 3.14.7) installed with -r requirements-dev.txt -c requirements-dev.constraints.txt: pytest tests/python/ — 1537 passed
  • pre-commit run --files requirements-dev.constraints.txt — passed

…visories (#202)

pip-audit flags virtualenv 21.7.4 (PYSEC-2026-4011..4014, fixed 21.7.13) and urllib3 2.7.0 (PYSEC-2026-4175..4177, fixed 2.8.0). Every fixed virtualenv release requires python-discovery>=1.6, so that pin moves too.

Verified: constrained dev requirements resolve at Python 3.10-3.14, pip-audit reports no known vulnerabilities, and the suite passes in a clean venv installed with the constraints.
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedpypi/​virtualenv@​21.7.4 ⏵ 21.7.1697 +1100 +31100100100
Updatedpypi/​urllib3@​2.7.0 ⏵ 2.8.097100 +23100100100
Updatedpypi/​python-discovery@​1.5.2 ⏵ 1.6.299 +1100100100100

View full report

@luongnv89
luongnv89 merged commit a4aecf4 into main Oct 11, 2026
35 checks passed
@luongnv89
luongnv89 deleted the fix/dep-scan-advisories branch October 11, 2026 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: dependency scan fails on new virtualenv and urllib3 advisories

1 participant