Skip to content

Commit

Permalink
* Remove pip-wheel-metadata in the built Docker image so that it does…
Browse files Browse the repository at this point in the history
…n't conflict with downstream builds (mitigation for pypa/pip#6213)

* Ran a `poetry lock` to bump dependencies
  • Loading branch information
mildbyte committed Apr 12, 2019
1 parent 8de240a commit 78ba763
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 18 deletions.
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,12 @@ COPY . /splitgraph
RUN $HOME/.poetry/bin/poetry config settings.virtualenvs.create false
RUN cd /splitgraph && $HOME/.poetry/bin/poetry install --no-dev

# The pip-wheel-metadata is supposed to be temporary. For downstream image builds, Poetry tries to reinstall Splitgraph
# from /splitgraph again and fails with
#
# FileExistsError: [Errno 17] File exists: '/splitgraph/pip-wheel-metadata
# /splitgraph-0.0.0.dist-info'
# See https://github.com/pypa/pip/issues/6213
RUN rm /splitgraph/pip-wheel-metadata -rf

CMD sgr
36 changes: 18 additions & 18 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 78ba763

Please sign in to comment.