Skip to content

Commit dc783d8

Browse files
authored
Merge pull request #860 from effigies/mnt/upgrade
MNT: Update environment definition files
2 parents 6edfb38 + 9aadcb8 commit dc783d8

File tree

3 files changed

+53
-78
lines changed

3 files changed

+53
-78
lines changed

Dockerfile

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# MIT License
44
#
5-
# Copyright (c) 2022 The NiPreps Developers
5+
# Copyright (c) The NiPreps Developers
66
#
77
# Permission is hereby granted, free of charge, to any person obtaining a copy
88
# of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@
2323
# SOFTWARE.
2424

2525
# Ubuntu 22.04 LTS - Jammy
26-
ARG BASE_IMAGE=ubuntu:jammy-20230308
26+
ARG BASE_IMAGE=ubuntu:jammy-20240125
2727

2828
#
2929
# Build wheel
@@ -42,7 +42,7 @@ RUN python -m build /src
4242
# Utilities for downloading packages
4343
FROM ${BASE_IMAGE} as downloader
4444
# Bump the date to current to refresh curl/certificates/etc
45-
RUN echo "2023.12.12"
45+
RUN echo "2024.03.08"
4646
RUN apt-get update && \
4747
apt-get install -y --no-install-recommends \
4848
binutils \
@@ -61,7 +61,7 @@ RUN curl -sSL https://surfer.nmr.mgh.harvard.edu/pub/dist/freesurfer/7.3.2/frees
6161
# AFNI
6262
FROM downloader as afni
6363
# Bump the date to current to update AFNI
64-
RUN echo "2023.07.20"
64+
RUN echo "2024.03.08"
6565
RUN mkdir -p /opt/afni-latest \
6666
&& curl -fsSL --retry 5 https://afni.nimh.nih.gov/pub/dist/tgz/linux_openmp_64.tgz \
6767
| tar -xz -C /opt/afni-latest --strip-components 1 \
@@ -81,9 +81,16 @@ RUN mkdir -p /opt/afni-latest \
8181

8282
# Micromamba
8383
FROM downloader as micromamba
84+
85+
# Install a C compiler to build extensions when needed.
86+
# traits<6.4 wheels are not available for Python 3.11+, but build easily.
87+
RUN apt-get update && \
88+
apt-get install -y --no-install-recommends build-essential && \
89+
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
90+
8491
WORKDIR /
8592
# Bump the date to current to force update micromamba
86-
RUN echo "2023.04.05"
93+
RUN echo "2024.03.08"
8794
RUN curl -Ls https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
8895

8996
ENV MAMBA_ROOT_PREFIX="/opt/conda"

env.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@ channels:
44
- conda-forge
55
# Update this ~yearly; last updated April 2023
66
dependencies:
7-
- python=3.10
7+
- python=3.11
88
# Intel Math Kernel Library for numpy
9-
- mkl=2022.1
9+
- mkl=2023.2
1010
- mkl-service=2.4
1111
# Base scientific python stack; required by FSL, so pinned here
1212
- numpy=1.26
1313
- scipy=1.11
1414
- matplotlib=3.8
15-
- pandas=2.1
15+
- pandas=2.2
1616
- h5py=3.10
1717
# Dependencies compiled against numpy, best to stick with conda
1818
- scikit-image=0.22
19-
- scikit-learn=1.3
19+
- scikit-learn=1.4
2020
# Utilities
21-
- graphviz=6.0
21+
- graphviz=9.0
2222
# Workflow dependencies: ANTs
23-
- ants=2.5.0
23+
- ants=2.5
2424
# Workflow dependencies: FSL (versions pinned in 6.0.7.4)
2525
- fsl-bet2=2111.4
2626
- fsl-flirt=2111.2

requirements.txt

Lines changed: 35 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
1-
#
2-
# This file is autogenerated by pip-compile with Python 3.10
3-
# by the following command:
4-
#
5-
# pip-compile
6-
#
1+
# This file was autogenerated by uv via the following command:
2+
# uv pip compile pyproject.toml -c - -p 3.11 -o requirements.txt
73
astor==0.8.1
84
# via formulaic
9-
attrs==23.1.0
10-
# via niworkflows (pyproject.toml)
11-
bids-validator==1.14.0
5+
attrs==23.2.0
6+
bids-validator==1.14.1
127
# via pybids
13-
certifi==2023.11.17
8+
certifi==2024.2.2
149
# via requests
1510
charset-normalizer==3.3.2
1611
# via requests
@@ -30,28 +25,23 @@ etelemetry==0.3.1
3025
# via nipype
3126
filelock==3.13.1
3227
# via nipype
33-
fonttools==4.46.0
28+
fonttools==4.49.0
3429
# via matplotlib
3530
formulaic==0.5.2
3631
# via pybids
37-
greenlet==3.0.2
32+
greenlet==3.0.3
3833
# via sqlalchemy
3934
h5py==3.10.0
4035
# via nitransforms
4136
idna==3.6
4237
# via requests
43-
imageio==2.33.1
38+
imageio==2.34.0
4439
# via scikit-image
45-
importlib-resources==6.1.1 ; python_version < "3.11"
46-
# via
47-
# niworkflows (pyproject.toml)
48-
# templateflow
4940
interface-meta==1.3.0
5041
# via formulaic
5142
isodate==0.6.1
5243
# via rdflib
53-
jinja2==3.1.2
54-
# via niworkflows (pyproject.toml)
44+
jinja2==3.1.3
5545
joblib==1.3.2
5646
# via
5747
# nilearn
@@ -61,41 +51,33 @@ kiwisolver==1.4.5
6151
lazy-loader==0.3
6252
# via scikit-image
6353
looseversion==1.3.0
64-
# via
65-
# nipype
66-
# niworkflows (pyproject.toml)
67-
lxml==4.9.3
54+
# via nipype
55+
lxml==5.1.0
6856
# via
6957
# nilearn
7058
# prov
7159
# svgutils
72-
markupsafe==2.1.3
60+
markupsafe==2.1.5
7361
# via jinja2
74-
matplotlib==3.8.2
75-
# via
76-
# niworkflows (pyproject.toml)
77-
# seaborn
62+
matplotlib==3.8.3
63+
# via seaborn
7864
networkx==3.2.1
7965
# via
8066
# nipype
8167
# prov
8268
# scikit-image
83-
nibabel==5.2.0
69+
nibabel==5.2.1
8470
# via
8571
# nilearn
8672
# nipype
8773
# nitransforms
88-
# niworkflows (pyproject.toml)
8974
# pybids
90-
nilearn==0.10.2
91-
# via niworkflows (pyproject.toml)
75+
nilearn==0.10.3
9276
nipype==1.8.6
93-
# via niworkflows (pyproject.toml)
9477
nitransforms==23.0.1
95-
# via niworkflows (pyproject.toml)
9678
num2words==0.5.13
9779
# via pybids
98-
numpy==1.26.2
80+
numpy==1.26.4
9981
# via
10082
# contourpy
10183
# formulaic
@@ -106,7 +88,6 @@ numpy==1.26.2
10688
# nilearn
10789
# nipype
10890
# nitransforms
109-
# niworkflows (pyproject.toml)
11091
# pandas
11192
# pybids
11293
# scikit-image
@@ -121,43 +102,38 @@ packaging==23.2
121102
# nibabel
122103
# nilearn
123104
# nipype
124-
# niworkflows (pyproject.toml)
125105
# scikit-image
126-
pandas==2.1.4
106+
pandas==2.2.1
127107
# via
128108
# formulaic
129109
# nilearn
130-
# niworkflows (pyproject.toml)
131110
# pybids
132111
# seaborn
133-
pillow==10.1.0
112+
pillow==10.2.0
134113
# via
135114
# imageio
136115
# matplotlib
137116
# scikit-image
138117
prov==2.0.0
139118
# via nipype
140119
pybids==0.16.4
141-
# via
142-
# niworkflows (pyproject.toml)
143-
# templateflow
144-
pydot==1.4.2
120+
# via templateflow
121+
pydot==2.0.0
145122
# via nipype
146-
pyparsing==3.1.1
123+
pyparsing==3.1.2
147124
# via
148125
# matplotlib
149126
# pydot
150127
# rdflib
151-
python-dateutil==2.8.2
128+
python-dateutil==2.9.0.post0
152129
# via
153130
# matplotlib
154131
# nipype
155132
# pandas
156133
# prov
157-
pytz==2023.3.post1
134+
pytz==2024.1
158135
# via pandas
159136
pyyaml==6.0.1
160-
# via niworkflows (pyproject.toml)
161137
rdflib==7.0.0
162138
# via
163139
# nipype
@@ -168,52 +144,44 @@ requests==2.31.0
168144
# nilearn
169145
# templateflow
170146
scikit-image==0.22.0
171-
# via niworkflows (pyproject.toml)
172-
scikit-learn==1.3.2
147+
scikit-learn==1.4.1.post1
173148
# via nilearn
174149
scipy==1.11.4
175150
# via
176151
# formulaic
177152
# nilearn
178153
# nipype
179154
# nitransforms
180-
# niworkflows (pyproject.toml)
181155
# pybids
182156
# scikit-image
183157
# scikit-learn
184-
seaborn==0.13.0
185-
# via niworkflows (pyproject.toml)
158+
seaborn==0.13.2
186159
simplejson==3.19.2
187160
# via nipype
188161
six==1.16.0
189162
# via
190163
# isodate
191164
# python-dateutil
192-
sqlalchemy==2.0.23
165+
sqlalchemy==2.0.28
193166
# via pybids
194167
svgutils==0.3.4
195-
# via niworkflows (pyproject.toml)
196-
templateflow==23.1.0
197-
# via niworkflows (pyproject.toml)
198-
threadpoolctl==3.2.0
168+
templateflow==24.0.0
169+
threadpoolctl==3.3.0
199170
# via scikit-learn
200-
tifffile==2023.12.9
171+
tifffile==2024.2.12
201172
# via scikit-image
202-
tqdm==4.66.1
173+
tqdm==4.66.2
203174
# via templateflow
204175
traits==6.3.2
205-
# via
206-
# nipype
207-
# niworkflows (pyproject.toml)
176+
# via nipype
208177
transforms3d==0.4.1
209-
# via niworkflows (pyproject.toml)
210-
typing-extensions==4.9.0
178+
typing-extensions==4.10.0
211179
# via
212180
# formulaic
213181
# sqlalchemy
214-
tzdata==2023.3
182+
tzdata==2024.1
215183
# via pandas
216-
urllib3==2.1.0
184+
urllib3==2.2.1
217185
# via requests
218186
wrapt==1.16.0
219187
# via formulaic

0 commit comments

Comments
 (0)