Skip to content

Require Python 3.13, drop unused dependencies, update lockfile - #575

Merged
aarmey merged 1 commit into
mainfrom
update-deps-py313
Nov 14, 2026
Merged

aarmey merged 1 commit into
mainfrom
update-deps-py313

Conversation

@aarmey

@aarmey aarmey commented Nov 14, 2026

Copy link
Copy Markdown
Member
  • Raise minimum Python to 3.13 (requires-python, ruff target, ty environment, docs).
  • Remove bioinfokit, which was never imported.
  • Remove fancyimpute, used only for IterativeSVD in figureM2.impute_pca. It is replaced by a short numpy iterative-SVD routine with the same defaults (zero init, gradual rank increase, 200 iterations max, 1e-5 tolerance). This also drops cvxpy, cvxopt, knnimpute and nose from the install.
  • Raise the scikit-learn floor to 1.8 and pytest-cov to 7.x. Refresh uv.lock with uv lock --upgrade.
  • Rename the ty ignore rule invalid-method-override to incompatible-method-override, as the newer ty warns about it.

Checked locally: ruff, ruff format and ty are clean, and pytest passes (89 passed). A synthetic rank-3 matrix with 20% of entries missing is recovered to a mean absolute error of about 3e-5 by the new impute_pca, and observed entries are left unchanged. I did not compare against fancyimpute's output directly.

@aarmey
aarmey merged commit 70f8b20 into main Nov 14, 2026
2 checks passed
@aarmey
aarmey deleted the update-deps-py313 branch November 14, 2026 18:40
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.

1 participant