pymc icon indicating copy to clipboard operation
pymc copied to clipboard

Fix broken import of sp_sum

Open PatrickRobotham opened this issue 1 week ago • 2 comments

sp_sum has been moved in pytensor from pytensor.sparse.basic to pytensor.sparse.math

The higher level module pytensor.sparse exports this function.

Description

Related Issue

  • [x] Closes #7983
  • [ ] Related to #

Checklist

Type of change

  • [ ] New feature / enhancement
  • [x] Bug fix
  • [ ] Documentation
  • [ ] Maintenance
  • [ ] Other (please specify):

PatrickRobotham avatar Dec 02 '25 12:12 PatrickRobotham

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 91.49%. Comparing base (87f80f9) to head (ef352dc).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #7984   +/-   ##
=======================================
  Coverage   91.49%   91.49%           
=======================================
  Files         116      116           
  Lines       18963    18964    +1     
=======================================
+ Hits        17350    17351    +1     
  Misses       1613     1613           
Files with missing lines Coverage Δ
pymc/distributions/multivariate.py 93.92% <100.00%> (+<0.01%) :arrow_up:
:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Dec 02 '25 12:12 codecov[bot]

Didn't notice the open PR, I left a comment on the original issue. PyMC main should be compatible with the pinned PyTensor dependency not its main branch. We'll be doing a new PyTensor release soon and follow with update on the PyMC side

ricardoV94 avatar Dec 02 '25 13:12 ricardoV94