Bump dependencies and add Python 3.14 support#418
Open
jvanderaa wants to merge 3 commits into
Open
Conversation
Bumped click, coverage, mkdocs-redirects, netconan, pylint, and ruff, along with CI action pins (actions/checkout, docker/setup-buildx-action, pypa/gh-action-pypi-publish). Added Python 3.14 to the supported version range, expanded the CI matrices to cover it, and removed an indentation-flagged trailing comment in release.yml.
Resolved five open Dependabot advisories by adding minimum-version constraints to pyproject.toml so Poetry resolves transitive deps to patched releases: - lxml >=6.1.0 (XXE in iterparse default configuration) - urllib3 >=2.7.0 (sensitive-header forwarding on proxied redirects; decompression-bomb safeguard bypass) - requests >=2.33.0 (insecure temp file reuse in extract_zipped_paths) - pygments >=2.20.0 (ReDoS in GUID regex matching) Regenerated poetry.lock; only the four flagged packages changed.
- Added build-essential to the Dockerfile so transitive deps lacking cp3xx wheels can be source-built (relevant for the newest Python). - Added `numpy` as a direct dependency with Python-version markers so 3.11+ pulls numpy >=2.3 (with cp314 wheels) while 3.10 stays on the 2.2 line; this lets one lock resolve across the full supported range, including Python 3.14. - Bumped cffi (1.17 -> 2.0) so 3.14 uses the wheel-supported line rather than source-compiling. - Bumped pymdown-extensions (10.21 -> 10.21.2) to fix a None-filename regression with pygments 2.20.0 that broke `dev/extending.md` during docs build. - Held mkdocs-redirects at 1.2.2; 1.2.3 introduced a transitive dependency on the properdocs fork, which deserves separate evaluation before adoption. - Verified locally: full pytest suite passes on Python 3.14.4 inside a fresh image, and `invoke build-and-check-docs` succeeds.
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.
Closes #415.
Summary
check-in-dockerandpytestmatrices in CI.Security
Resolved five open Dependabot advisories by pinning minimum versions in pyproject.toml:
lxml >=6.1.0(XXE in iterparse default configuration)urllib3 >=2.7.0(sensitive-header forwarding on proxied redirects; decompression-bomb safeguard bypass)requests >=2.33.0(insecure temp file reuse in extract_zipped_paths)pygments >=2.20.0(ReDoS in GUID regex matching)