Skip to content

Commit

Permalink
pin poetry for now
Browse files Browse the repository at this point in the history
We can unpin poetry when either of these issues are closed:
- python-poetry/poetry#7572
- pgjones/hypercorn#102
  • Loading branch information
plockaby committed Mar 4, 2023
1 parent f838be3 commit 64cc112
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yaml
Expand Up @@ -23,7 +23,8 @@ jobs:

- name: setup poetry and pre-commit
run: |
pip install poetry
# TODO unpin poetry when either of these are fixed:
pip install poetry==1.3.2
- name: setup application
run: |
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile
Expand Up @@ -22,7 +22,10 @@ FROM base AS builder
RUN apt-get -q update && apt-get install -y --no-install-recommends git

# now become the app user to set up poetry and the versioning tool
RUN pip3 install poetry dunamai --no-cache-dir && mkdir -p $APP_ROOT && chown 1000:100 $APP_ROOT
# TODO unpin poetry when either of these are fixed:
# - https://github.com/python-poetry/poetry/issues/7572
# - https://github.com/pgjones/hypercorn/issues/102
RUN pip3 install poetry==1.3.2 dunamai --no-cache-dir && mkdir -p $APP_ROOT && chown 1000:100 $APP_ROOT
COPY --chown=1000:1000 . $APP_ROOT

# update the version number of our application
Expand Down

0 comments on commit 64cc112

Please sign in to comment.