Skip to content

Commit 08999ec

Browse files
committed
add support for python 3.11 and 3.12
1 parent c21f964 commit 08999ec

File tree

5 files changed

+902
-827
lines changed

5 files changed

+902
-827
lines changed

Diff for: Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.10-slim
1+
FROM python:3.12-slim
22

33
WORKDIR /code
44

@@ -25,7 +25,7 @@ ENV POETRY_HOME=/opt/poetry
2525

2626
# install poetry into its own venv
2727
RUN python3 -m venv $POETRY_HOME && \
28-
$POETRY_HOME/bin/pip install poetry==1.7.1
28+
$POETRY_HOME/bin/pip install poetry==1.8.0
2929

3030
ENV VIRTUAL_ENV=/poetry-env \
3131
PATH="/poetry-env/bin:$POETRY_HOME/bin:$PATH"
@@ -39,6 +39,6 @@ USER $USERNAME
3939
COPY --chown=${USER_UID}:${USER_GID} pyproject.toml poetry.lock README.md /code/
4040
COPY --chown=${USER_UID}:${USER_GID} starling/__init__.py /code/starling/__init__.py
4141

42-
RUN poetry install --with docs,dev
42+
RUN poetry install --with docs,dev && poetry self add poetry-plugin-export
4343

4444
COPY --chown=${USER_UID}:${USER_GID} . .

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
![build](https://github.com/camlab-bioml/starling/actions/workflows/main.yml/badge.svg)
44
![](https://img.shields.io/badge/Python-3.9-blue)
55
![](https://img.shields.io/badge/Python-3.10-blue)
6+
![](https://img.shields.io/badge/Python-3.11-blue)
7+
![](https://img.shields.io/badge/Python-3.12-blue)
68

79

810
STARLING is a probabilistic model for clustering cells measured with spatial expression assays (e.g. IMC, MIBI, etc...) while accounting for segmentation errors.

0 commit comments

Comments
 (0)