File tree Expand file tree Collapse file tree 3 files changed +13
-11
lines changed
Expand file tree Collapse file tree 3 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 8585
8686 - name : Install pip and setuptools
8787 run : |
88- python -m pip install --upgrade pip==23.0.0
89- python -m pip install --upgrade pip==23.0.0
88+ python -m pip install --upgrade setuptools
89+ python -m pip install --upgrade pip
9090
9191 - name : Install system dependencies
9292 run : |
9999 # install package
100100 - name : Install the package
101101 run : |
102+ simulatorVersion=$(jq -r '.version' biosimulators.json)
103+ # AMICI has to be installed before biosimulators_amici to get the right version
104+ AMICI_PARALLEL_COMPILE="" python -m pip install amici==$simulatorVersion
102105 python -m pip install .[all]
103- AMICI_PARALLEL_COMPILE="" python -m pip install amici
104106
105107 # ############################################
106108 # # Lint
@@ -178,7 +180,7 @@ jobs:
178180 with :
179181 token : ${{ secrets.CODECOV_TOKEN }}
180182 flags : unittests
181- file : ./coverage.xml
183+ files : ./coverage.xml
182184
183185 # ############################################
184186 # # Compile documentation
Original file line number Diff line number Diff line change 22FROM python:3.11-slim-bookworm
33
44ARG VERSION="0.1.22"
5- ARG SIMULATOR_VERSION="0.24 .0"
5+ ARG SIMULATOR_VERSION="0.34 .0"
66
77# metadata
88LABEL \
@@ -47,11 +47,11 @@ RUN apt-get update -y \
4747
4848# Copy code for command-line interface into image and install it
4949COPY . /root/Biosimulators_AMICI
50- RUN pip install pip==23.0.1
51- RUN SETUPTOOLS_SCM_PRETEND_VERSION_FOR_BIOSIMULATORS_AMICI=${VERSION} pip install /root/Biosimulators_AMICI \
50+ RUN python -m pip install -U setuptools pip
51+ # AMICI has to be installed before biosimulators_amici to get the right version
52+ RUN AMICI_PARALLEL_COMPILE="" python -m pip install amici==${SIMULATOR_VERSION}
53+ RUN SETUPTOOLS_SCM_PRETEND_VERSION_FOR_BIOSIMULATORS_AMICI=${VERSION} python -m pip install /root/Biosimulators_AMICI \
5254 && rm -rf /root/Biosimulators_AMICI
53- # RUN pip install sympy /root/Biosimulators_AMICI amici==${SIMULATOR_VERSION} \
54- # && rm -rf /root/Biosimulators_AMICI
5555ENV VERBOSE=0 \
5656 MPLBACKEND=PDF \
5757 AMICI_PARALLEL_COMPILE=""
Original file line number Diff line number Diff line change 11{
22 "id" : " amici" ,
33 "name" : " AMICI" ,
4- "version" : " 0.24 .0" ,
4+ "version" : " 0.34 .0" ,
55 "description" : " AMICI provides an interface for the SUNDIALS solvers CVODES (for ordinary differential equations) and IDAS (for algebraic differential equations)." ,
66 "urls" : [
77 {
1010 }
1111 ],
1212 "image" : {
13- "url" : " ghcr.io/biosimulators/biosimulators_amici/amici:0.24 .0" ,
13+ "url" : " ghcr.io/biosimulators/biosimulators_amici/amici:0.34 .0" ,
1414 "format" : {
1515 "namespace" : " EDAM" ,
1616 "id" : " format_3973" ,
You can’t perform that action at this time.
0 commit comments