Repository navigation
chore(deps): refresh the lockfile for security advisories - #40
Merged
Merged
Conversation
The weekly dependency scan, and the audit that runs before publishing to PyPI, were failing on anyio, certifi, dnspython, filelock, sqlparse and virtualenv. Update them with Poetry 2.4.1, the version CI uses. The fixed releases of dnspython and filelock need Python 3.11 or newer, so a plain update left the vulnerable builds in place for 3.11-3.14. Add minimum versions for both to the dev group, split by Python version. That group is not published, so the package's dependencies are unchanged. Python 3.10 keeps the older dnspython and filelock because no fixed release supports it; the audits run on 3.12.
Merged
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.
Why
The weekly Dependency Vulnerability Scan has been failing, and the same audit runs in
publish.ymlbefore anything is uploaded to PyPI, so a release would have stopped there. It reports 36 advisories in 6 packages:anyio,certifianddnspython(runtime, via httpx and email-validator), andfilelock,sqlparseandvirtualenv(dev/optional).What changed
poetry.lockregenerated with Poetry 2.4.1, the version CI uses. 10 packages move: the 6 above plus 4 that their new versions require.pyproject.toml, dev group only: minimum versions fordnspythonandfilelock, split by Python version. Their fixed releases need Python 3.11+, so a plain update left the vulnerable builds selected for 3.11-3.14.User impact: none
The published dependency ranges are unchanged (verified by comparing the built wheel's metadata with
main's). The lockfile only affects this repo's CI and development environment.Verification
Known remainder
Python 3.10 keeps the older
dnspythonandfilelockbecause no fixed release supports 3.10. The audits run on 3.12. If 3.10 support is dropped later, the twopyproject.tomlentries can be removed.