Repository navigation
ci: drop Python 3.10 and upgrade dependencies flagged by Dependabot - #324
Merged
Merged
Conversation
- Require Python >= 3.11: requires-python, the test matrix (3.11-3.14) and the docs and release workflows. Pillow 13, the first patched release, needs Python 3.11. Drop the stale 3.9/3.10 classifiers and add 3.14, which CI already tests. - Upgrade pillow, virtualenv, filelock, certifi and setuptools in the lock to patched versions. - Note the new minimum Python version in CONTRIBUTING.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Marco (marcopeix)
approved these changes
Oct 26, 2026
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.
Summary
This PR drops Python 3.10 support and updates the locked dependencies, so that every open Dependabot alert on
uv.lockis resolved. It mirrors Nixtla/mlforecast#812 and Nixtla/nixtla#929.Pillow 13.0.0, the first patched Pillow release, requires Python 3.11. While 3.10 was supported, the lock kept Pillow 12.3.0 for 3.10, so the Pillow alerts could not close. Python 3.10 reached end of life in October 2026.
This is a user-facing change and should be called out in the next release notes.
Changes
Python 3.10 dropped
pyproject.toml:requires-python = ">=3.11". The stale 3.9 and 3.10 classifiers are removed, and the missing 3.14 classifier is added, since CI already tests 3.14.pytest.yml: the test matrix is now 3.11–3.14 on Linux, macOS and Windows.build-docs.yamlandrelease.ymlnow use 3.11 instead of 3.10.CONTRIBUTING.mdstates the new minimum version.Dependencies
Only the five alerted packages were upgraded in the lock (
uv lock --upgrade-package ...). The other changes come from dropping the 3.10 lock fork: contourpy, distlib, numpy and scipy each collapse to a single version, andexceptiongroupis removed.Python 3.15 is not part of this PR
Adding Python 3.15 to CI was investigated and left out, because utilsforecast needs pandas 3 and polars 2 compatibility work first.
fill_gapstests fail on quarterly frequencies ('QS-FEB' == <QuarterBegin: startingMonth=11>).offset_timestests fail around daylight-saving changes.None. With thepolarsextra's current cap (<=1.31), the 3.15 run has 338 failures and 2 errors. With polars 2.1, the removedget_categoriesand other API changes cause the remaining polars failures. mlforecast's polars-on-3.15 failures partly come from this utilsforecast code.Suggested follow-up: make utilsforecast compatible with pandas 3 and polars 2, lift the
polars<=1.31cap, and then add 3.15 to the matrix.These numbers were measured on Python 3.15.0rc2. CI would use 3.15.1.
Testing
uv lock --checkpasses. All five alerted packages resolve at or above their patched versions.test_distributed_evaluate) failed only because Java is not installed locally. CI covers it.🤖 Generated with Claude Code