Skip to content

Commit

Permalink
Install numpy pre-release before build (assume it is used by tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
djhoese committed Sep 7, 2023
1 parent 82ef5db commit 2c4c895
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ jobs:
CIBW_TEST_COMMAND: "python -c \"import vispy; vispy.test('nobackend')\""
CIBW_BUILD_VERBOSITY: "2"
# Get numpy release candidate to have Python 3.12 compatibility (hopefully)
CIBW_BEFORE_BUILD: "pip install -U numpy Cython"
CIBW_BEFORE_BUILD_MACOS: "pip install -U pip setuptools"
CIBW_BEFORE_BUILD_LINUX: "yum install -y fontconfig || apk add fontconfig-dev jpeg-dev; pip install -U pip setuptools; pip install freetype-py"
CIBW_BEFORE_BUILD: "pip install -U Cython pip setuptools; pip install -U --pre numpy"
#CIBW_BEFORE_BUILD_MACOS: "pip install -U pip setuptools"
CIBW_BEFORE_BUILD_LINUX: "yum install -y fontconfig || apk add fontconfig-dev jpeg-dev; pip install freetype-py"
# If freetype-py is installed from source (no wheel found), include bundled freetype library
CIBW_ENVIRONMENT_WINDOWS: "FREETYPEPY_BUNDLE_FT=1"
CIBW_ENVIRONMENT: "GITHUB_ACTIONS=true"
Expand Down

0 comments on commit 2c4c895

Please sign in to comment.