Skip to content

Commit 1cd3266

Browse files
authored
Merge pull request #34 from virtualcell/python-3.10
upgrade from python 3.9 to 3.10 in Docker
2 parents b2ce4a0 + 23f4976 commit 1cd3266

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

.github/workflows/cd.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ jobs:
5353
- name: checkout vcell-solvers repo
5454
uses: actions/checkout@v4
5555

56+
- uses: actions/setup-python@v5
57+
with:
58+
python-version: '3.10'
59+
5660
- name: Install Intel MacOS dependencies
5761
if: matrix.platform == 'macos-13'
5862
shell: bash
@@ -69,6 +73,7 @@ jobs:
6973
gcc --version
7074
gfortran --version
7175
cmake --version
76+
python --version
7277
brew info boost
7378
brew info hdf5
7479

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.9.7-slim AS build
1+
FROM python:3.10.15-slim AS build
22

33
RUN apt-get -y update && apt-get install -y apt-utils && \
44
apt-get install -y -qq -o=Dpkg::Use-Pty=0 build-essential gfortran zlib1g-dev \
@@ -38,12 +38,12 @@ RUN $JAVA_HOME/bin/jlink \
3838
--output /javaruntime
3939

4040
# Define base image and copy in jlink created minimal Java 17 environment
41-
FROM python:3.9.7-slim
41+
FROM python:3.10.15-slim
4242
ENV JAVA_HOME=/opt/java/openjdk
4343
ENV PATH="${JAVA_HOME}/bin:${PATH}"
4444
COPY --from=jre-build /javaruntime $JAVA_HOME
4545

46-
# now we have Java 17 and Python 3.9
46+
# now we have Java 17 and Python 3.10.15 installed
4747
ENV DEBIAN_FRONTEND=noninteractive
4848
ENV LANG=en_US.UTF-8
4949

Stochastic/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if (APPLE)
4040
if (PROCESSOR_ARCHITECTURE STREQUAL "arm64")
4141
link_directories("/opt/homebrew/lib")
4242
else ()
43-
link_directories("/usr/local/Cellar/hdf5/1.14.3_1/lib")
43+
link_directories("/usr/local/lib")
4444
endif()
4545
endif()
4646

0 commit comments

Comments
 (0)