I have tried a few different ways to install poetry:
Here, with pipx:
image: python:3.9pipelines: default: - step: caches: - pip script: - python3 -m pip install --user pipx - python3 -m pipx ensurepath - pipx install poetry - poetry install - poetry run pytest -v tests/* --junitxml=test-reports/report.xml
<span>bash: pipx: command not found</span>
image: python:3.9pipelines: default: - step: script: - curl -sSL https://install.python-poetry.org | python3 - - export PATH="$HOME/.poetry/bin:$PATH" - poetry install
Hi @Scott Fay,
Can you try the following commands? I was able to install poetry using these commands.
- curl -sSL https://install.python-poetry.org | python3 -- export PATH="$HOME/.local/bin:$PATH"- poetry --version
Bitbucket Pipelines builds run in Docker containers with Linux platform, so I used the instructions detailed below for Linux:
Kind regards,Theodora
You can also setup Poetry via a pipe now:
script: - pipe: atlassian/poetry-cli-setup:0.2.0 - ./setup-poetry.sh - poetry install
See here for more details: https://bitbucket.org/product/features/pipelines/integrations?search=poetry&p=atlassian/poetry-cli-setup
It looks like you're new here. Sign in or register to get started.