Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 671069c

Browse filesBrowse files
authored
CI Dynamically select unpack directory (#18957)
1 parent 255718b commit 671069c
Copy full SHA for 671069c

File tree

Expand file treeCollapse file tree

2 files changed

+2
-5
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-5
lines changed

‎.github/workflows/wheels.yml

Copy file name to clipboardExpand all lines: .github/workflows/wheels.yml
+1-5Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ on:
1717
# Manual run
1818
workflow_dispatch:
1919

20-
env:
21-
SCIKIT_LEARN_VERSION: 0.24.dev0
22-
2320
jobs:
2421
# Check whether to build the wheels and the source tarball
2522
check_build_trigger:
@@ -84,8 +81,7 @@ jobs:
8481
env:
8582
CONFTEST_PATH: ${{ github.workspace }}/conftest.py
8683
CONFTEST_NAME: conftest.py
87-
CIBW_ENVIRONMENT: WHEEL_DIRNAME=scikit_learn-$SCIKIT_LEARN_VERSION
88-
OMP_NUM_THREADS=2
84+
CIBW_ENVIRONMENT: OMP_NUM_THREADS=2
8985
OPENBLAS_NUM_THREADS=2
9086
SKLEARN_SKIP_NETWORK_TESTS=1
9187
SKLEARN_BUILD_PARALLEL=3

‎build_tools/github/repair_windows_wheels.sh

Copy file name to clipboardExpand all lines: build_tools/github/repair_windows_wheels.sh
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ BITNESS=$3
1010
# By default, the Windows wheels are not repaired.
1111
# In this case, we need to vendor VCRUNTIME140.dll
1212
wheel unpack "$WHEEL"
13+
WHEEL_DIRNAME=$(ls -d scikit_learn-*)
1314
python build_tools/github/vendor.py "$WHEEL_DIRNAME" "$BITNESS"
1415
wheel pack "$WHEEL_DIRNAME" -d "$DEST_DIR"
1516
rm -rf "$WHEEL_DIRNAME"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.