Skip to content

[MAINT] Update pinned sklearn and numpy#20

Merged
arokem merged 16 commits intotractometry:mainfrom
chiuhoward:numpy2-sklearn161
Feb 3, 2025
Merged

[MAINT] Update pinned sklearn and numpy#20
arokem merged 16 commits intotractometry:mainfrom
chiuhoward:numpy2-sklearn161

Conversation

@chiuhoward
Copy link
Contributor

@chiuhoward chiuhoward commented Jan 31, 2025

numpy==2.2 and sklearn==1.6.1

@chiuhoward chiuhoward changed the title Update pinned sklearn and numpy [MAINT] Update pinned sklearn and numpy Jan 31, 2025
@chiuhoward
Copy link
Contributor Author

@arokem I think we’re up against a pretty big hurdle but that has been well-documented. If I’m understanding this correctly we’re just waiting for the next stable release of xgboost? (or use sklearn<1.6.1 which kind of defeats the purpose of this branch)

scikit-learn/scikit-learn#30542

The other test failure is due to neurocombat_sklearn where I believe we need to change sparse to sparse_output for OneHotEncoder.

https://github.com/Warvito/neurocombat_sklearn/blob/25306f0a2f088764b40a376ba276a2126ff820b4/neurocombat_sklearn/neurocombat_sklearn.py#L191

@arokem
Copy link
Member

arokem commented Feb 1, 2025 via email

@arokem
Copy link
Member

arokem commented Feb 3, 2025

This is now green! 🙌 Any reason not to merge?

@arokem arokem merged commit eab61b6 into tractometry:main Feb 3, 2025
2 checks passed
@arokem
Copy link
Member

arokem commented Feb 4, 2025

One remaining challenge is that pypi will not let us upload our software with a GitHub dependency: https://github.com/tractometry/AFQ-Insight/actions/runs/13125078725/job/36619634880#step:6:174, so I think that we still need to vendorize neurocombat_sklearn into our software, which I will attempt on a follow-up PR.

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