Conversation
requests, python-dotenv, webdriver-manager and defusedxml were declared unbounded, so an installer could resolve any version — including ones predating known advisories — whenever another constraint in the environment held them back. Floors chosen from evidence rather than convenience: - requests>=2.33.0 is the first release carrying the extract_zipped_paths fix (GHSA-gc5v-m9x4-r6x2). - webdriver-manager>=4.0.0 is the line this package is developed against. 3.9.1 does expose DriverCacheManager and the cache_manager kwarg the wrapper uses, so this is a policy floor, not an API requirement. - python-dotenv>=1.0.0 and defusedxml>=0.7.1 are the stable current lines. These are minimums only; no upper bounds, so the package stays co-installable. faker and sqlalchemy are deliberately left alone — both are optional extras imported lazily behind guards and are absent from the package metadata, so a floor there would add friction without benefit.
|
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
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.



Follow-up to #105, which floored Pillow. The other runtime dependencies were
still declared unbounded, so an installer could resolve any version —
including ones predating known advisories — whenever another constraint in
the environment held them back.
requests>=2.33.0python-dotenv>=1.0.0webdriver-manager>=4.0.0defusedxml>=0.7.1Applied to
pyproject.toml,dev.toml(both published packages) and thedefusedxmlentries inrequirements.txt/dev_requirements.txt.Why these floors
extract_zipped_pathsfix (GHSA-gc5v-m9x4-r6x2, published March 2026). This is the one floor with
a concrete security driver.
against. Worth being explicit: this is a policy floor, not an API
requirement — 3.9.1 does expose both
DriverCacheManagerand thecache_managerkwarg thatwebdriver_wrapperpasses, so the code would runon it. 4.x is simply what is exercised.
lines (defusedxml 0.7.1 has been latest since 2021).
All are minimums with no upper bounds, so the package stays co-installable.
The trade-off worth noting is
requests>=2.33.0: it is a recent release, soit will force an upgrade in environments pinning older requests. That is the
intent of a security floor, but it is the most likely of these to be felt.
Deliberately not bounded
fakerandsqlalchemyare optional extras, imported lazily behind guards(
_require_faker(), function-localfrom sqlalchemy import ...) and absentfrom the package metadata entirely. A floor there would add friction without
a security benefit.
Verification
Local venv was still on the vulnerable Pillow 12.2.0, below the floor #105
published. Upgraded it and re-ran everything on 12.3.0 — the version this
package now forces on every installer:
Built the wheel and confirmed the floors reach the metadata installers read:
twine checkPASSED. Every installed version satisfies its declared floor.Should publish normally — this changes the package's install contract.
🤖 Generated with Claude Code