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

[python-package] ignore pip cache dir in build-python.sh #5945

Merged
merged 1 commit into from
Jun 30, 2023

Conversation

jameslamb
Copy link
Collaborator

Follow-up to #5907.

Tells pip install in sh ./build-python.sh install to:

  • not consult the pip cache dir (the place pip puts .tar.gz and .whl files it downloads) when installing
  • not add the just-locally-build sdist/wheel to that cache dir

This ensures that build-python.sh install will overwrite an existing installation of lightgbm, even if it had been run previously in the same environment.

@jameslamb jameslamb merged commit 8de30d7 into master Jun 30, 2023
@jameslamb jameslamb deleted the python/no-cache branch June 30, 2023 12:52
@github-actions
Copy link

github-actions bot commented Oct 4, 2023

This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 4, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants