Skip to content

Commit

Permalink
pin markupsafe (#6713)
Browse files Browse the repository at this point in the history
  • Loading branch information
alangenfeld committed Feb 18, 2022
1 parent 93b0bf9 commit 787c7ca
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ FROM python:3.8-slim

ARG DAGIT_BACKCOMPAT_VERSION

COPY pins.txt pins.txt

RUN pip install \
-r pins.txt \
dagster=="${DAGIT_BACKCOMPAT_VERSION}" \
dagster-postgres=="${DAGIT_BACKCOMPAT_VERSION}" \
dagster-docker=="${DAGIT_BACKCOMPAT_VERSION}" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ FROM python:3.8-slim

ARG USER_CODE_BACKCOMPAT_VERSION

COPY pins.txt pins.txt

RUN pip install \
-r pins.txt \
dagster=="${USER_CODE_BACKCOMPAT_VERSION}" \
dagster-postgres=="${USER_CODE_BACKCOMPAT_VERSION}" \
dagster-docker=="${USER_CODE_BACKCOMPAT_VERSION}"
Expand All @@ -17,4 +20,4 @@ EXPOSE 8090

# CMD allows this to be overridden from run launchers or executors that want
# to run other commands against your repository
CMD ["dagster", "api", "grpc", "-h", "0.0.0.0", "-p", "8090", "-f", "repo.py"]
CMD ["dagster", "api", "grpc", "-h", "0.0.0.0", "-p", "8090", "-f", "repo.py"]
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# pins for recently released packages that cause problems in older dagster versions
markupsafe<=2.0.1
grpcio-health-checking<1.44.0
1 change: 1 addition & 0 deletions python_modules/dagster/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def get_version() -> str:
"contextvars; python_version < '3.7'",
# https://github.com/dagster-io/dagster/issues/4167
"Jinja2<3.0",
"markupsafe<=2.0.1",
"PyYAML>=5.1",
# core (not explicitly expressed atm)
# alembic 1.6.3 broke our migrations: https://github.com/sqlalchemy/alembic/issues/848
Expand Down

0 comments on commit 787c7ca

Please sign in to comment.