Skip to content

Commit dda50dd

Browse files
authored
CI: Clean up pre-release builds (#3040)
Pre-release tests on GitHub actions are taking a long time, almost all in installation. It turns out the Pandas is uploading sdists, but not a full set of wheels, to nightly. This adds `--prefer-binary` to just get the latest wheel they uploaded. Also, we don't plan to update dependencies during maintenance phases, so I'm disabling pre-release tests for `maint/` branches. If this is merged, I'll cherry-pick onto `maint/20.2.x` and `maint/23.1.x`.
1 parent e329aa1 commit dda50dd

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/pre-release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,9 @@ on:
44
push:
55
branches:
66
- master
7-
- maint/*
87
pull_request:
98
branches:
109
- master
11-
- maint/*
1210

1311
defaults:
1412
run:

.maint/ci/env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ SETUP_REQUIRES="pip build"
33
# Numpy and scipy upload nightly/weekly/intermittent wheels
44
NIGHTLY_WHEELS="https://pypi.anaconda.org/scipy-wheels-nightly/simple"
55
STAGING_WHEELS="https://pypi.anaconda.org/multibuild-wheels-staging/simple"
6-
PRE_PIP_FLAGS="--pre --extra-index-url $NIGHTLY_WHEELS --extra-index-url $STAGING_WHEELS"
6+
PRE_PIP_FLAGS="--pre --extra-index-url $NIGHTLY_WHEELS --extra-index-url $STAGING_WHEELS --prefer-binary"

0 commit comments

Comments
 (0)