Skip to content

Conversation

@oscarkey
Copy link
Contributor

@oscarkey oscarkey commented Sep 1, 2025

We depend on joblib, see e.g. tabpfn.preprocessing, but currently do not declare this (things still work because scikit-learn depends on it).

Specify >=1.2.0, the same as scikit-learn, so the previous minimum version is maintained.

We depend on joblib, see e.g. `tabpfn.preprocessing`, but currently
do not declare this (things still work because scikit-learn depends
on it).

Specify >=1.2.0, the same as scikit-learn, so the previous minimum
version is maintained.
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request correctly adds joblib as an explicit dependency, which is a good practice for ensuring project stability. I have one suggestion to improve the maintainability of the pyproject.toml file by sorting the dependencies list.

@oscarkey oscarkey requested a review from priorphil September 2, 2025 08:25
Copy link
Contributor

@priorphil priorphil left a comment

Choose a reason for hiding this comment

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

Should we then import joblib directly instead of going the indirection via sklearn?

@oscarkey
Copy link
Contributor Author

oscarkey commented Sep 2, 2025

oh I didn't even notice that! Updated

@oscarkey oscarkey merged commit 99c9704 into main Sep 3, 2025
10 checks passed
@oscarkey oscarkey deleted the ok-joblib-dependency branch September 3, 2025 15:57
oscarkey added a commit that referenced this pull request Nov 12, 2025
* Record copied public PR 477

* Declare joblib dependency. (#477)

We depend on joblib, see e.g. tabpfn.preprocessing, but currently do not declare this (things still work because scikit-learn depends on it).

Specify >=1.2.0, the same as scikit-learn, so the previous minimum version is maintained.

(cherry picked from commit 99c9704)

---------

Co-authored-by: mirror-bot <mirror-bot@users.noreply.github.com>
Co-authored-by: Oscar Key <oscar@priorlabs.ai>
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.

3 participants