Skip to content

Update for Python 3.14 Compatibility - #3

Open
cccs-jaw wants to merge 1 commit into
FutureComputing4AI:masterfrom
CybercentreCanada:update-python-314
Open

cccs-jaw wants to merge 1 commit into
FutureComputing4AI:masterfrom
CybercentreCanada:update-python-314

Conversation

@cccs-jaw

@cccs-jaw cccs-jaw commented Oct 27, 2026 •

Copy link
Copy Markdown

Hello,

This PR resolves some blockers with installing ClarAVy in a Python 3.14 environment. The primary initial blocker is that the constrained SciPy / scikit-learn dependency versions don't support Python 3.14. When I upgraded these, this cascaded into issues with numba-scipy (which is no longer being maintained and doesn't support the necessary versions of SciPy for Python 3.14)

This PR makes the following changes to resolve the compatibility issue:

  • Updated SciPy / scikit-learn and XGBoost constraints for Python 3.14
  • Removed obsolete numba-scipy dependency
  • Bind SciPy’s psi implementation directly using Numba’s Cython integration
  • Also simplified pyproject / setup.cfg.

Let me know if you'd like me to make any revisions.

@cccs-jaw
cccs-jaw marked this pull request as draft October 27, 2026 18:24
@cccs-jaw cccs-jaw changed the title Update so it is compatible with Python 3.14 Update for Python 3.14 Compatibility Oct 27, 2026
… Removed obsolete numby-scipy dependency. Also simplified pyproject / setup.cfg.
@cccs-jaw
cccs-jaw marked this pull request as ready for review October 27, 2026 21:20
@cccs-jaw

cccs-jaw commented Nov 2, 2026

Copy link
Copy Markdown
Author

Hello @rjjoyce / @rjjoyce8 , just wanted to ping you on this PR. If you have time, could you review this PR and let me know if there are any revisions you would like me to make?

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