Skip to content

Commit 0248501

Browse files
committed
fix: Building wheels with py36 now via Docker
1 parent 0c90d3e commit 0248501

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.circleci/config.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ jobs:
136136
key: data-v0-{{ .Revision }}-{{ epoch }}
137137
paths:
138138
- /tmp/data
139-
- /tmp/ds005/derivatives/freesurfer
140139

141140
deploy_docker_patches:
142141
machine:
@@ -283,13 +282,12 @@ jobs:
283282
- run:
284283
name: Build dMRIPrep
285284
command: |
285+
sudo setfacl -d -m group:$(id -gn):rwx /tmp/src/dmriprep
286+
sudo setfacl -m group:$(id -gn):rwx /tmp/src/dmriprep
286287
pyenv local 3.5.2
287288
THISVERSION=$( python get_version.py )
288-
virtualenv --python=python build
289-
source build/bin/activate
290-
pip install --upgrade "pip>=19.1" numpy
291289
echo "${CIRCLE_TAG:-$THISVERSION}" > dmriprep/VERSION
292-
python setup.py sdist
290+
docker run --rm=false --entrypoint=/bin/bash -v `pwd`:/io -w /io python:3.6.9 -c "pip install numpy && python setup.py sdist"
293291
docker run --rm=false -e PLAT='manylinux1_x86_64' -e PKGNAME='dmriprep' -v `pwd`:/io \
294292
quay.io/pypa/manylinux1_x86_64 /io/.circleci/pypi_wheel/build-wheels.sh
295293
- run:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[build-system]
2-
requires = ["setuptools >= 40.8.0", "wheel", "numpy", "cython"]
2+
requires = ["setuptools >= 40.8.0", "wheel"]

0 commit comments

Comments
 (0)