Skip to content

Commit 71f3e3f

Browse files
benjefferymergify[bot]
authored andcommitted
Fix 32bit CI
1 parent bef0b4a commit 71f3e3f

File tree

3 files changed

+23
-29
lines changed

3 files changed

+23
-29
lines changed

.circleci/config.yml

+10-8
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ commands:
1111
sudo apt-get update
1212
sudo apt-get install -y ninja-build libcunit1-dev valgrind clang doxygen python3-pip
1313
# Install meson to the system packages so we can run it as root
14+
pip install --upgrade pip wheel
1415
sudo pip install meson
15-
pip install numpy==1.18.5
16+
pip install --user numpy #Needed for some build steps in requirements.txt
1617
pip install --user -r python/requirements/CI-complete/requirements.txt
1718
# Remove tskit installed by msprime
1819
pip uninstall tskit -y
@@ -153,7 +154,7 @@ commands:
153154
jobs:
154155
build:
155156
docker:
156-
- image: cimg/python:3.7
157+
- image: cimg/python:3.10
157158
working_directory: /home/circleci/tskit
158159
steps:
159160
- checkout
@@ -162,10 +163,10 @@ jobs:
162163
# It's sometimes necessary to nuke the cache, and the simplest
163164
# way to do it is to change the key. We can increment this
164165
# version number when we want to do this.
165-
key: tskit-{{ .Branch }}-v6
166+
key: tskit-{{ .Branch }}-v8
166167
- setup
167168
- save_cache:
168-
key: tskit-{{ .Branch }}-v6
169+
key: tskit-{{ .Branch }}-v8
169170
paths:
170171
- "/home/circleci/.local"
171172
- compile_and_test
@@ -194,20 +195,21 @@ jobs:
194195
195196
build-32:
196197
docker:
197-
- image: tskitimages/testing-32bit:2.0
198+
- image: tskitimages/testing-32bit:4.0
198199
working_directory: /home/circleci/tskit
199200
steps:
200201
- checkout
201202
- run: sudo chown -R circleci:circleci *
202203
- restore_cache:
203-
key: tskit-32-{{ .Branch }}-v7
204+
key: tskit-32-{{ .Branch }}-v8
204205
- setup
205206
- save_cache:
206-
key: tskit-32-{{ .Branch }}-v7
207+
key: tskit-32-{{ .Branch }}-v8
207208
paths:
208209
- "/home/circleci/.local"
209210
# We need to install curl for the codecov upload.
210-
- run: sudo apt-get install -y curl
211+
- run: |
212+
sudo apt-get install -y curl wget
211213
- compile_and_test
212214

213215
workflows:

.circleci/images/32bit/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM i386/python:3.7-slim-bullseye
1+
FROM i386/python:3.10-slim-bullseye
22

3-
RUN apt-get update && apt-get install -y sudo rustc cargo libhdf5-dev libgsl-dev pkg-config libssl-dev
3+
RUN apt-get update && apt-get install -y sudo rustc cargo libhdf5-dev libgsl-dev pkg-config libssl-dev llvm build-essential
44
RUN adduser --disabled-password --gecos "" circleci
55
RUN echo 'circleci ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
66

Original file line numberDiff line numberDiff line change
@@ -1,23 +1,15 @@
1-
biopython==1.79
2-
black==21.12b0
3-
coverage==6.5.0
4-
dendropy==4.5.2
5-
flake8==5.0.4
6-
h5py==3.7.0
7-
jsonschema==4.16.0
1+
biopython==1.81
2+
coverage==7.2.7
3+
dendropy==4.6.1
4+
h5py==3.9.0
85
kastore==0.3.2
96
lshmm==0.0.4
10-
msgpack==1.0.4
7+
msgpack==1.0.5
118
msprime==1.2.0
12-
networkx==2.6.3 # Held at 2.6.3 for Python 3.7 compatibility
13-
newick==1.3.2
14-
numpy==1.21.6 # Held at 1.21.6 for Python 3.7 compatibility
15-
portion==2.3.0
16-
pyparsing==3.0.9
17-
pysam==0.19.1
18-
pytest==7.1.3
19-
pytest-cov==4.0.0
20-
pytest-xdist==2.5.0
21-
svgwrite==1.4.3
9+
networkx==3.1
10+
portion==2.4.1
11+
pytest==7.4.0
12+
pytest-cov==4.1.0
13+
pytest-xdist==3.3.1
2214
tszip==0.2.2
23-
xmlunittest==0.5.0
15+
xmlunittest==0.5.0

0 commit comments

Comments
 (0)