Skip to content

Instantly share code, notes, and snippets.

@stefanfoulis
Created October 26, 2018 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save stefanfoulis/030d7fa0d6d488c0c31f16652e20dbf4 to your computer and use it in GitHub Desktop.
Save stefanfoulis/030d7fa0d6d488c0c31f16652e20dbf4 to your computer and use it in GitHub Desktop.
Upgrade Poetry to version from git
RUN pipsi install --python=python3 poetry
# It is kind of hard to install from a .tar.gz of the repo if there is no
# setup.py in there.
RUN mkdir -p /tmp/poetry-master && cd /tmp/poetry-master && wget https://github.com/sdispater/poetry/archive/bdd7909ce7cb729975f31bfdbb4c756a1dd914dd.tar.gz && tar -xzvf bdd7909ce7cb729975f31bfdbb4c756a1dd914dd.tar.gz && cd poetry-bdd7909ce7cb729975f31bfdbb4c756a1dd914dd && poetry build && /root/.pipsi/venvs/poetry/bin/pip3 install --upgrade dist/poetry-0.12.4-py2.py3-none-any.whl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment