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] make it possible to build wheels without internet connection (fixes #5979) #6042

Merged
merged 3 commits into from Aug 21, 2023

Conversation

jameslamb
Copy link
Collaborator

@jameslamb jameslamb commented Aug 15, 2023

Fixes #5979.

Makes it possible to build wheels with build-python.sh in environments without internet access.

That's relevant to repackaging like the creation of FreeBSD ports described in #5979.

How I tested this

On my Mac laptop...

... installed build dependencies

pip install \
    build \
    scikit-build-core \
    wheel

... turned off wifi and build a wheel

sh ./build-python.sh \
    --no-isolation \
    bdist_wheel

@jameslamb jameslamb merged commit 5fe84f8 into master Aug 21, 2023
41 checks passed
@jameslamb jameslamb deleted the python/no-internet branch August 21, 2023 01:24
Copy link

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 Nov 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python bindings fail to build without internet connection
2 participants