Raise the python-engineio and python-socketio floors past their advisories

SH
8h ago
+5-4

All Submissions:

  • Have you followed the guidelines stated in CONTRIBUTING.md file?
  • Have you checked to ensure there aren't any other open Pull Requests for the desired changed?

Type of change

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

Closes #8026.

What

reflex declares python-engineio >=4.12.0 and python-socketio >=5.12.0. An install that resolves the lowest allowed versions (--resolution lowest-direct, or an environment that already has older copies installed) gets releases with published OSV advisories:

PackageAffected rangeAdvisoriesFirst clean release
python-engineio4.12.0 to 4.13.1GHSA-cgwc-pv48-fhj5, GHSA-m9gh-vj53-gvh9, PYSEC-2026-3032, PYSEC-2026-30334.13.2
python-socketio5.12.0 to 5.13.xGHSA-g8c6-8fjj-2r4m, PYSEC-2026-1854 (plus the two below)5.14.0
python-socketio5.14.0 to 5.16.1GHSA-5w7q-77mv-v69f, PYSEC-2026-30425.16.2

I checked each of those versions against the OSV API: 4.12.0, 4.13.0 and 4.13.1 report 4 advisories, 4.13.2 and 4.14.0 report none; 5.12.0 reports 4, 5.14.0, 5.16.0 and 5.16.1 report 2, 5.16.2 and 5.17.0 report none.

How

  • Floors raised to python-engineio >=4.13.2,<5.0 and python-socketio >=5.16.2,<6.0. The upper bounds are unchanged.
  • uv.lock already locks 4.14.0 and 5.17.0, so the resolved versions don't change. Only the two specifiers recorded under reflex's requires-dist change: without them uv lock --check fails against the new pyproject.toml. I edited those two lines rather than re-running uv lock, because re-locking with uv 0.13.6 also rewrites unrelated marker entries (e.g. httpcore2).
  • A misc news fragment for the root package.

Testing

  • uv lock --check (uv 0.13.6, as in CI, and 0.11.8, the minimum in CONTRIBUTING) and uv sync --locked: pass.
  • scripts/check_min_deps.py --python 3.11 reflex and --python 3.14 reflex: PASS. This resolves the new minimums from PyPI and type-checks reflex against them.
  • uv run pytest tests/units --cov --no-cov-on-fail --cov-report=: 16840 passed, 74 skipped, coverage 82.85%.
  • uv run pre-commit run --all-files (ruff, codespell, pyright, ty, both pyright type_checking hooks, biome): all passed. scripts/make_pyi.py --check, reflex-release changelog-check and reflex-release sync --check: pass.

Screenshots

Lowest versions a fresh install can resolve from the declared ranges, with their OSV advisory counts:

BeforeAfter
beforeafter