From 3c68eaf98d68a2c46ac5b700b7965938ed208ef0 Mon Sep 17 00:00:00 2001 From: Peter Schmidbauer Date: Sat, 26 Oct 2019 23:00:06 +0200 Subject: [PATCH] Prepare travis for upcoming poetry 1.0 release The poetry version command will change in poetry 1.0 (see sdispater/poetry#1191). Without any argument, it won't bump the version anymore but instead just print the current version. This will break the current travis before_install. Let's pin poetry to ~0.12.17 for now and change it once poetry v1.0 releases. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index fea48f50..49663798 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ dist: xenial # required for Python >= 3.7 language: python python: "3.7" before_install: - - pip install poetry + - pip install poetry~=0.12.17 install: # we run `poetry version` here to appease poetry about '0.0.0-source' - poetry version @@ -11,7 +11,7 @@ script: - poetry run python --version - poetry run behave before_deploy: - - pip install poetry + - pip install poetry~=0.12.17 - poetry config http-basic.pypi $PYPI_USER $PYPI_PASS - poetry version $TRAVIS_TAG - poetry build