Skip to content

Commit 4239d84

Browse files
committed
Remove unneeded CI steps in build_wheels job
The removed steps were installing the `basemap` data packages in the host environment where `cibuildwheel` is run, but the `basemap` wheels are later built and tested by `cibuildwheel` in isolated environments (where we do need the `basemap` data packages), so installing the `basemap` data packages in the host environment has no purpose.
1 parent 42b5247 commit 4239d84

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -87,30 +87,6 @@ jobs:
8787
path: ./data_packages/
8888
merge-multiple: true
8989

90-
- name: Install data packages (Linux/macOS)
91-
if: runner.os != 'Windows'
92-
shell: bash
93-
run: |
94-
# Install the wheel data packages with wildcard
95-
python -m pip install ./data_packages/*.whl
96-
97-
# Verify that the data packages can be imported
98-
python -c "import mpl_toolkits.basemap_data; print('mpl_toolkits.basemap_data installed successfully')"
99-
100-
- name: Install data packages (Windows)
101-
if: runner.os == 'Windows'
102-
shell: pwsh
103-
run: |
104-
# Install the wheel data packages sequentially
105-
$wheels = Get-ChildItem -Path "./data_packages" -Filter "*.whl" -Recurse
106-
foreach ($wheel in $wheels) {
107-
Write-Host "Installing $($wheel.FullName)"
108-
python -m pip install $wheel.FullName
109-
}
110-
111-
# Verify that the data packages can be imported
112-
python -c "import mpl_toolkits.basemap_data; print('mpl_toolkits.basemap_data installed successfully')"
113-
11490
- name: Download basemap sdist
11591
uses: actions/download-artifact@v4
11692
with:

0 commit comments

Comments
 (0)