Raise the python-engineio and python-socketio floors past their advisories
SH
8h ago+5+5+0123456789-4-4-0123456789
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:
| Package | Affected range | Advisories | First clean release |
|---|---|---|---|
| python-engineio | 4.12.0 to 4.13.1 | GHSA-cgwc-pv48-fhj5, GHSA-m9gh-vj53-gvh9, PYSEC-2026-3032, PYSEC-2026-3033 | 4.13.2 |
| python-socketio | 5.12.0 to 5.13.x | GHSA-g8c6-8fjj-2r4m, PYSEC-2026-1854 (plus the two below) | 5.14.0 |
| python-socketio | 5.14.0 to 5.16.1 | GHSA-5w7q-77mv-v69f, PYSEC-2026-3042 | 5.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.0andpython-socketio >=5.16.2,<6.0. The upper bounds are unchanged. uv.lockalready locks 4.14.0 and 5.17.0, so the resolved versions don't change. Only the two specifiers recorded underreflex'srequires-distchange: without themuv lock --checkfails against the newpyproject.toml. I edited those two lines rather than re-runninguv lock, because re-locking with uv 0.13.6 also rewrites unrelated marker entries (e.g.httpcore2).- A
miscnews fragment for the root package.
Testing
uv lock --check(uv 0.13.6, as in CI, and 0.11.8, the minimum in CONTRIBUTING) anduv sync --locked: pass.scripts/check_min_deps.py --python 3.11 reflexand--python 3.14 reflex: PASS. This resolves the new minimums from PyPI and type-checksreflexagainst 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-checkandreflex-release sync --check: pass.
Screenshots
Lowest versions a fresh install can resolve from the declared ranges, with their OSV advisory counts:
| Before | After |
|---|---|
![]() | ![]() |

