Skip to content

Commit

Permalink
using poetry 1 doesn't need --pre
Browse files Browse the repository at this point in the history
  • Loading branch information
jrabbit committed Jan 5, 2020
1 parent aac9374 commit 3399f18
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ python:
- "3.8"

install:
- pip install tox-travis nltk coverage
- pip install tox-travis nltk coverage poetry
- python -c "import nltk;[nltk.download(x) for x in ['punkt' ,'averaged_perceptron_tagger']]"

script: tox
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ WORKDIR /usr/src/app

COPY . /usr/src/app

RUN pip install --pre poetry && poetry install --no-dev -v -E subtitles -E nlp
RUN pip install poetry && poetry install --no-dev -v -E subtitles -E nlp

EXPOSE 2001

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ envlist = py36, py37, py38
skipsdist = true

[testenv]
deps = poetry==1.0.0b5
deps = poetry
commands =
poetry install -v -E nlp -E subtitles
poetry run green -r
Expand Down

0 comments on commit 3399f18

Please sign in to comment.