Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Separating force reinstall from package installation #533

Merged

Conversation

IFenton
Copy link
Contributor

@IFenton IFenton commented Mar 24, 2023

Currently if allow_install=True, the package, and it's dependencies, will be force reinstalled. However, this can have unintended consequence. The current issue I have noticed is that even if all the requirements are already satisfied, installing the model will reinstall these required packages.

This relates to #223, #249, #253

@IFenton IFenton marked this pull request as ready for review March 24, 2023 14:18
@IFenton IFenton requested a review from ots22 March 24, 2023 14:18
Copy link
Member

@ots22 ots22 left a comment

Choose a reason for hiding this comment

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

Sorry for the slow response.

Great, looks good to me - #522 is also related (does it fix this?)

Would perhaps be good to spell out in a comment why the second case can't take a force argument, since it is surprising!

@ots22 ots22 merged commit 556ad2c into alan-turing-institute:update-install May 3, 2023
ots22 added a commit that referenced this pull request May 3, 2023
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