8000 deps(osv): raise aiohttp/setuptools/virtualenv floors past OSV advisories (BD-24b) by GBOGEB · Pull Request #2817 · GBOGEB/ABACUS · GitHub
[go: up one dir, main page]

Skip to content

deps(osv): raise aiohttp/setuptools/virtualenv floors past OSV advisories (BD-24b) - #2817

Open
GBOGEB wants to merge 1 commit into
mainfrom
deps/osv-bd24c-floors-20261123
Open

GBOGEB wants to merge 1 commit into
mainfrom
deps/osv-bd24c-floors-20261123

Conversation

@GBOGEB
@GBOGEB GBOGEB commented Nov 28, 2026
Copy link
Copy Markdown
Owner

PR Decision Brief

Purpose / why: BD-24b, second half. After c2591e15 fixed the PyPDF2 resolution, the remaining OSV red was 50 advisories in 4 packages. OSV attributes them to requirements-dev.txt through its declared floors (run on d781f508, 2026-11-16).

Before -> after:

Package Floor before Advisories at that floor Floor after Advisories after
aiohttp (requirements.txt, requirements-test.txt) 3.10.0 / 3.9.0 87 (pip-audit) / 43 (OSV) 3.14.4 0
setuptools (requirements.txt) 68.0 7 / 4 84.1.0 (still a floor) 0
virtualenv (requirements-dev.txt) 21.14.9 1 / 2 21.14.13 0
pytest 7.4.0 1 unchanged, see below 1

Scope / excluded work: four lines in three requirements files, plus a stale comment fixed: nothing imports pkg_resources. No workflow, test or gate changed.

Excluded: pytest (BD-24c, owner decision). requirements-test.txt pins pytest-asyncio>=0.23,<0.24, which requires pytest<9. Real test environments therefore install pytest 8.4.2 (2 PyPI advisories). Clearing that needs pytest-asyncio 1.x, which changes event-loop behaviour for about 40 async test sites. Also found: resolving dev+test together is already ResolutionImpossible on origin/main (<0.24 vs >=1.4.1). code-quality-pilot.yml installs the files one at a time, so CI is unaffected today.

1. Verification (do not guess)

Admission: HOLD until a native OSV run is possible.

Evidence State Receipt
Advisories at the touched floors (pip-audit 2.x, PyPI feed, floors pinned with ==, --no-deps) before 87/7/1 → after 0/0/0 local
Resolvability (pip install --dry-run, Python 3.13) requirements.txt, -dev, -test, DMAIC_V3/generators/requirements.txt all rc=0 local
Python support aiohttp 3.14.4 and setuptools 84.1.0 need ≥3.10; ssot/python_versions supports 3.11–3.15 local
Native OSV run UNKNOWN: GitHub Actions has refused every job across GBOGEB since about 2026-11-21 19:25 UTC ("account is locked due to a billing issue") blocked
Exact head 175aef0

2. Risk and reviewer decision

Risk and rollback: floors only. Installs already resolve to newer versions (3.14.5 / 84.2.1 / 21.15.12), so behaviour is unchanged except for an environment pinned to an old version. Revert = four lines.

Next action / owner: restore Actions billing, then dispatch osv-scheduled.yml on this branch. Decide BD-24c (pytest-asyncio 1.x).


Generated by Claude Code

…ries (BD-24b)

osv-scheduled (2026-11-16, run on d781f50) reported 50 advisories in 4
packages, attributed to requirements-dev.txt via its declared floors:
aiohttp 3.10.0 (43), setuptools 68.0 (4), virtualenv 21.14.9 (2),
pytest 7.4.0 (1). Raise the first three floors to the versions that fix
every listed advisory:

  requirements.txt       aiohttp >=3.14.4, setuptools >=84.1.0
  requirements-test.txt  aiohttp >=3.14.4,<4.0.0
  requirements-dev.txt   virtualenv >=21.14.13

setuptools stays a floor (build tooling is never hard-pinned). The old
comment "required for pkg_resources" was stale: no Python file imports
pkg_resources. All three need Python >=3.10; ssot/python_versions
supports 3.11-3.15 only.

pytest is NOT raised: requirements-test.txt pins pytest-asyncio<0.24,
which requires pytest<9, so a 9.0.3 floor would conflict; clearing it
needs pytest-asyncio 1.x (behaviour change for ~40 async sites), owner
decision BD-24c. Note: dev+test resolved together is already
ResolutionImpossible on origin/main (pytest-asyncio <0.24 vs >=1.4.1);
code-quality-pilot installs them separately, so CI is unaffected.

Local evidence (pip-audit, PyPI advisory feed, floors pinned exactly):
before aiohttp 3.10.0=87, setuptools 68.0=7, virtualenv 21.14.9=1;
after 0/0/0. pip --dry-run resolves requirements.txt, -dev, -test and
DMAIC_V3/generators/requirements.txt on Python 3.13. Native OSV run not
possible: Actions refused since 2026-11-21 (account billing lock).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RiTqsUkiwTTPSvhYT9mLNY
GBOGEB pushed a commit that referenced this pull request Nov 28, 2026
GitHub Actions has refused every job across GBOGEB since ~2026-11-21
19:25Z ("account is locked due to a billing issue"), so this delta uses
the last pre-lock native runs plus local reproduction on main 4390fb9
instead of a census. Builds on ERRATA_20261125 (green-needs-a-success;
release.yml stale-pending-validation; two unvalidated candidates).

Live code reds 16; new 2 (org billing blocker, BD-24c pytest-asyncio);
fixed-unverified 1 (inventory, owner 5903e68); closed: validate_docs
(BD-27 self-cleared). ci-governance red again since 11-16 = BD-28.
PRs this slice: #2804 BD-28 autoregen, #2817 BD-24b floors, #2821
BD-17a mypy 29->0. Corrections: BD-17a was 29 errors not 1; BD-24b had
a missed second half.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RiTqsUkiwTTPSvhYT9mLNY
@GBOGEB
GBOGEB marked this pull request as ready for review December 1, 2026 13:57
@chatgpt-codex-connector
chatgpt-codex-connector Bot commented Dec 1, 2026 •
Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-01T13:59:49.472854Z 175aef0 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

This branch has not been deployed

No deployments
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.

2 participants

0