Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: recursive depth limit in setup call #51

Merged
merged 3 commits into from
May 22, 2023
Merged

Conversation

thatlittleboy
Copy link
Collaborator

Resolves #50.

Changes

  • Remove the checks for optional dependencies in the recursive setup calls. I don't think we want the setup() to continue if any of the test optional dependencies fail to install. Also the previous logic was very brittle/inaccurate and cause issues like Cannot install package: CUDA Error - Add Fall back option to CPU #50.
  • Remove MANIFEST.in file, it's not necessary because 1) the file path specified in the MANIFEST doesn't even exist, and 2) the package data is specified already in setup(). You can verify this by running pip install, and tree_shap.h is included in the wheel even without the MANIFEST.

we don't need this. 1) the path specified in the MANIFEST doesn't even
exist. and 2) the package data is specified already in setup(). You can
verify this by running pip install, and tree_shap.h is included in the
wheel even without the MANIFEST
Copy link
Owner

@dsgibbons dsgibbons left a comment

Choose a reason for hiding this comment

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

LGTM. I prefer the simpler testing setup.

@dsgibbons dsgibbons merged commit e4783ff into master May 22, 2023
@thatlittleboy thatlittleboy deleted the recursive-setup branch May 22, 2023 02:58
@thatlittleboy thatlittleboy mentioned this pull request May 22, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot install package: CUDA Error - Add Fall back option to CPU
2 participants