Skip to content

chore(deps): bump scipy to >=1.17.1 - #382

Merged
AzulGarza merged 7 commits into
mainfrom
chore/scipy-1.17.1
Oct 12, 2026
Merged

AzulGarza merged 7 commits into
mainfrom
chore/scipy-1.17.1

Conversation

@AzulGarza

@AzulGarza AzulGarza commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

Summary

  • On Python 3.11+, require scipy>=1.17.1 (lock: 1.17.1 on 3.11, 1.18.1 on 3.12+).
  • On Python 3.10, keep scipy<=1.15.3 (SciPy 1.17+ has no 3.10 wheels).
  • Refresh uv.lock; Python 3.10 support unchanged (requires-python >=3.10).

Local check

  • uv run pre-commit run --all-files — passed
  • pytest tests/models/test_models.py::test_using_level[model24] -n 0 (Tafsut) — passed on 3.11

Test plan

  • CI on 3.10 / 3.11 / 3.12 / 3.13

scipy 1.17+ does not support Python 3.10; raise the project floor and refresh the lockfile.

Co-authored-by: Cursor <cursoragent@cursor.com>
Copilot AI balanced review requested due to automatic review settings October 9, 2026 22:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Published documentation remains inconsistent with Python 3.11+, and the stated Python 3.12 SciPy resolution differs from the lockfile.

2 open findings
What changed in this PR

Raises the minimum supported Python and SciPy versions and aligns CI and installation guidance.

Changes:

  • Requires Python 3.11+ and SciPy 1.17.1+.
  • Removes Python 3.10 from CI and package classifiers.
  • Refreshes dependency resolution and README guidance.
File Description
README.md Updates Python installation requirements.
pyproject.toml Raises Python/SciPy constraints and classifiers.
.github/​workflows/​ci.yaml Removes Python 3.10 from CI.
uv.lock Refreshes resolved dependencies.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread README.md Outdated
Comment thread pyproject.toml Outdated
Use environment markers so 3.10 stays on scipy<=1.15.3 while newer interpreters resolve scipy 1.17+.

Co-authored-by: Cursor <cursoragent@cursor.com>
@AzulGarza AzulGarza mentioned this pull request Oct 9, 2026
2 tasks
AzulGarza and others added 5 commits October 9, 2026 15:58
utilsforecast rejects 0 in `level`; use decile-style levels in tests and example notebooks.

Co-authored-by: Cursor <cursoragent@cursor.com>
Align with quantile interpolation and TimesFM level support; fixes level forecast tests on CI with foundationforecast 0.1.8.

Co-authored-by: Cursor <cursoragent@cursor.com>
TimeCopilot stats/ML wrappers inherit cross_validation from FoundationForecast but
often skip base __init__; default exog_strategy=False and ensure state before CV.
Align TimeCopilotForecaster.cross_validation signature with futr_exog_list.

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep cross_validation exog_strategy guard only; explicit __init__ broke call-arg
typing for multiply-inherited foundation wrappers in mypy.

Co-authored-by: Cursor <cursoragent@cursor.com>
FoundationForecast>=0.1.12 rejects level 0; use [20, 80] instead of [0, 80].

Co-authored-by: Cursor <cursoragent@cursor.com>
@AzulGarza
AzulGarza merged commit 7c51f44 into main Oct 12, 2026
18 of 20 checks passed
@AzulGarza
AzulGarza deleted the chore/scipy-1.17.1 branch October 12, 2026 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants