Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

honglooker
Copy link
Contributor

fix(local_runtime): Search for libs in sys._base_executable when available. (#3178)

Search directory for libraries should look in the same directory as
sys._base_executable. Since sys._base_executable may be unset, fallback
to sys.executable

Found this when trying to build using a venv for
tensorstore on Windows:
* Github CI uses nuget to download Python.
* Build sets up a Python venv.

The venv does not include all the lib directories required to link an
extension.

Fixes #3172


Co-authored-by: Richard Levasseur [email protected]

laramiel and others added 2 commits August 26, 2025 20:58
…lable. (bazel-contrib#3178)

Search directory for libraries should look in the same directory as
sys._base_executable. Since sys._base_executable may be unset, fallback
to sys.executable

Found this when trying to build using a venv for
[tensorstore](https://github.com/google/tensorstore) on Windows:
* Github CI uses nuget to download Python.
* Build sets up a Python venv.

The venv does not include all the lib directories required to link an
extension.

Fixes bazel-contrib#3172

---------

Co-authored-by: Richard Levasseur <[email protected]>
@honglooker
Copy link
Contributor Author

Whoa, this pulled in a lot more than I expected. Think I'll need to re-do this.

@honglooker honglooker changed the base branch from main to release/1.5 August 26, 2025 21:42
@honglooker
Copy link
Contributor Author

Ah, was the wrong base. Updated

@rickeylev

@rickeylev
Copy link
Collaborator

CI failure is something that was fixed at head and just part of the CI config (old ubuntu version, iirc). Merging.

@rickeylev rickeylev merged commit 019fb4b into bazel-contrib:release/1.5 Aug 28, 2025
1 of 3 checks passed
@honglooker honglooker deleted the release/1.5 branch August 28, 2025 15:08
@honglooker honglooker restored the release/1.5 branch August 28, 2025 15:08
github-merge-queue bot pushed a commit that referenced this pull request Aug 29, 2025
Update the main changelog with 1.5.4 notes from #3217
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.

GetPythonInfo failed on trying to update to 1.5.3
3 participants