Skip to content

Commit

Permalink
downgrade pip to work around python-poetry/poetry#826
Browse files Browse the repository at this point in the history
  • Loading branch information
cjw296 committed Mar 3, 2019
1 parent 6ec7eed commit e5a5e61
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ matrix:
- python: "3.7"

install:
- "pip uninstall -y attrs mock numpy nose pytest py"
- "pip install 'pip<19'"
- "pip freeze"
- "curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python"
- "source $HOME/.poetry/env"
- "poetry install"
Expand Down
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ testfixtures = "^6.3"
autobahn = "^18.11"
coverage = "<5"

[tool.carthorse]
version-from = "poetry"
when = [
"version-not-tagged"
]
actions = [
{ run="poetry publish --username chrisw --password $POETRY_PASS --build"},
{ name="create-tag"},
]

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

0 comments on commit e5a5e61

Please sign in to comment.