Skip to content

Commit 1eeb27b

Browse files
committed
Have setuptools-conda build conda packages from wheel
Should circumvent build issues in osx-64 and win github runners having mismatched build tools from miniconda.
1 parent 73a05c1 commit 1eeb27b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,15 @@ jobs:
104104
path: ./dist
105105

106106
- name: Set Variables for Conda Build
107+
# build conda package from wheel
108+
# avoids conda build issues on github osx-x64 and win runners
107109
if: matrix.conda
108110
shell: bash
109111
run: |
110112
if [ $NOARCH == true ]; then
111113
CONDA_BUILD_ARGS="--noarch"
112114
else
113-
CONDA_BUILD_ARGS=""
115+
CONDA_BUILD_ARGS="--from-wheel"
114116
fi
115117
echo "CONDA_BUILD_ARGS=$CONDA_BUILD_ARGS" >> $GITHUB_ENV
116118

0 commit comments

Comments
 (0)