Skip to content

Commit b9d2990

Browse files
committed
Update poetry lock
1 parent 786f346 commit b9d2990

File tree

7 files changed

+37
-38
lines changed

7 files changed

+37
-38
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
repos:
2-
- repo: https://github.com/pre-commit/pre-commit-hooks
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
33
rev: v2.3.0
44
hooks:
5-
- id: check-yaml
6-
- id: end-of-file-fixer
7-
- id: trailing-whitespace
8-
- repo: https://github.com/psf/black
5+
- id: check-yaml
6+
- id: end-of-file-fixer
7+
- id: trailing-whitespace
8+
- repo: https://github.com/psf/black
99
rev: 22.10.0
1010
hooks:
11-
- id: black
11+
- id: black
12+
- repo: https://github.com/python-poetry/poetry
13+
rev: "1.8.4"
14+
hooks:
15+
- id: poetry-lock

docker/code-server/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
# PYTHON-BASE
77
# Sets up all our shared environment variables
88
################################
9-
FROM --platform=$TARGETPLATFORM linuxserver/code-server:latest as python-base
9+
FROM --platform=$TARGETPLATFORM linuxserver/code-server:latest AS python-base
1010

1111
ARG TARGETPLATFORM
1212

13-
# python
13+
# python
1414
ENV PYTHONUNBUFFERED=1 \
1515
# prevents python creating .pyc files
1616
PYTHONDONTWRITEBYTECODE=1 \
@@ -29,11 +29,11 @@ ENV PYTHONUNBUFFERED=1 \
2929
# BUILDER-BASE
3030
# Used to build deps + create our virtual environment
3131
################################
32-
FROM python-base as builder-base
32+
FROM python-base AS builder-base
3333
RUN apt-get update && \
3434
apt-get install -y curl bash-completion \
35-
software-properties-common \
36-
build-essential && \
35+
software-properties-common \
36+
build-essential && \
3737
add-apt-repository ppa:deadsnakes/ppa && \
3838
apt-get update && \
3939
apt-get install -y python3.12 python3.12-venv python3.12-dev && \

docker/dagster/Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
# PYTHON-BASE
77
# Sets up all our shared environment variables
88
################################
9-
FROM --platform=$TARGETPLATFORM python:3.11-slim as python-base
9+
FROM --platform=$TARGETPLATFORM python:3.11-slim AS python-base
1010

1111
ARG TARGETPLATFORM
1212

13-
# python
13+
# python
1414
ENV PYTHONUNBUFFERED=1 \
1515
# prevents python creating .pyc files
1616
PYTHONDONTWRITEBYTECODE=1 \
@@ -44,13 +44,13 @@ ENV PATH="$POETRY_HOME/bin:$VENV_PATH/bin:$PATH"
4444
# BUILDER-BASE
4545
# Used to build deps + create our virtual environment
4646
################################
47-
FROM python-base as builder-base
47+
FROM python-base AS builder-base
4848
RUN apt-get update \
4949
&& apt-get install --no-install-recommends -y \
50-
# deps for installing poetry
51-
curl \
52-
# deps for building python deps
53-
build-essential
50+
# deps for installing poetry
51+
curl \
52+
# deps for building python deps
53+
build-essential
5454

5555
# install poetry - respects $POETRY_VERSION & $POETRY_HOME
5656
# The --mount will mount the buildx cache directory to where
@@ -77,7 +77,7 @@ RUN --mount=type=cache,target=/root/.cache \
7777
# PRODUCTION
7878
# Final image used for runtime
7979
################################
80-
FROM python-base as production
80+
FROM python-base AS production
8181
COPY --from=builder-base $PYSETUP_PATH $PYSETUP_PATH
8282

8383
RUN mkdir -p /opt/dagster/dagster_home /opt/dagster/app

docker/jupyter/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# PYTHON-BASE
77
# Sets up all our shared environment variables
88
################################
9-
FROM --platform=$TARGETPLATFORM python:3.11-slim as python-base
9+
FROM --platform=$TARGETPLATFORM python:3.11-slim AS python-base
1010

1111
ARG TARGETPLATFORM
1212

@@ -44,7 +44,7 @@ ENV PATH="$POETRY_HOME/bin:$VENV_PATH/bin:$PATH"
4444
# BUILDER-BASE
4545
# Used to build deps + create our virtual environment
4646
################################
47-
FROM python-base as builder-base
47+
FROM python-base AS builder-base
4848
RUN apt-get update \
4949
&& apt-get install --no-install-recommends -y \
5050
# deps for installing poetry
@@ -64,14 +64,14 @@ COPY poetry.lock pyproject.toml ./
6464

6565
# install runtime deps - uses $POETRY_VIRTUALENVS_IN_PROJECT internally
6666
RUN --mount=type=cache,target=/root/.cache \
67-
poetry install --with dagster,mlflow
67+
poetry install --without dev
6868

6969

7070
################################
7171
# PRODUCTION
7272
# Final image used for runtime
7373
################################
74-
FROM python-base as production
74+
FROM python-base AS production
7575
COPY --from=builder-base $PYSETUP_PATH $PYSETUP_PATH
7676

7777
RUN apt-get update && apt-get install -y git

docker/mlflow/Dockerfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
# PYTHON-BASE
77
# Sets up all our shared environment variables
88
################################
9-
FROM --platform=$TARGETPLATFORM python:3.11-slim as python-base
9+
FROM --platform=$TARGETPLATFORM python:3.11-slim AS python-base
1010

1111
ARG TARGETPLATFORM
1212

13-
# python
13+
# python
1414
ENV PYTHONUNBUFFERED=1 \
1515
# prevents python creating .pyc files
1616
PYTHONDONTWRITEBYTECODE=1 \
@@ -44,14 +44,14 @@ ENV PATH="$POETRY_HOME/bin:$VENV_PATH/bin:$PATH"
4444
# BUILDER-BASE
4545
# Used to build deps + create our virtual environment
4646
################################
47-
FROM python-base as builder-base
47+
FROM python-base AS builder-base
4848
RUN apt-get update \
4949
&& apt-get install --no-install-recommends -y \
50-
# deps for installing poetry
51-
curl \
52-
# deps for building python deps
53-
build-essential \
54-
gcc
50+
# deps for installing poetry
51+
curl \
52+
# deps for building python deps
53+
build-essential \
54+
gcc
5555

5656
# install poetry - respects $POETRY_VERSION & $POETRY_HOME
5757
# The --mount will mount the buildx cache directory to where
@@ -72,7 +72,7 @@ RUN --mount=type=cache,target=/root/.cache \
7272
# PRODUCTION
7373
# Final image used for runtime
7474
################################
75-
FROM python-base as production
75+
FROM python-base AS production
7676
COPY --from=builder-base $PYSETUP_PATH $PYSETUP_PATH
7777

7878
COPY ./docker/mlflow/init-mlflow.sh /entrypoint.sh

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@ jupyterlab-lsp = "^5"
1313
pandas = ">=2"
1414
scikit-learn = ">=1.5" #FIXME new version
1515

16-
1716
[tool.poetry.group.dvc.dependencies]
1817
dvc = ">=3.22"
1918

20-
2119
[tool.poetry.group.dagster.dependencies]
2220
dagster = "^1.8.0"
2321
dagster-mlflow = "^0.24.7"
@@ -26,13 +24,11 @@ dagster-webserver = "^1.8.7"
2624
jupytext = "^1.15.2"
2725
xgboost = "^2.0.3"
2826

29-
3027
[tool.poetry.group.mlflow.dependencies]
3128
mlflow = ">=2.7"
3229
psycopg2-binary = "^2.9.10"
3330
pymysql = "^1.1.1"
3431

35-
3632
[tool.poetry.group.onnx.dependencies]
3733
fastapi = {version = "^0.115.6", extras = ["standard"]}
3834
onnxruntime = "^1.20"
@@ -42,7 +38,6 @@ skl2onnx = "^1.17.0"
4238
pre-commit = "^3.5.0"
4339
black = "^24.3.0"
4440

45-
4641
[build-system]
4742
requires = ["poetry-core"]
4843
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)