Skip to content

Commit f889ffc

Browse files
committed
install poetry for wheels-version.sh and deploy-pypi.sh
1 parent 1d1e1b7 commit f889ffc

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

.circleci/config.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
- ./Dockerfile
4040
- ./README.md
4141
- ./build-codex.sh
42+
- ./build-install-poetry.sh
4243
- ./build-wheels.sh
4344
- ./deploy-pypi.sh
4445
- ./dist
@@ -53,6 +54,10 @@ jobs:
5354
steps:
5455
- attach_workspace:
5556
at: .
57+
command:
58+
- run:
59+
command: ./build-install-poetry.sh
60+
name: Install poetry
5661
- run:
5762
command: ./docker/docker-login.sh
5863
name: Login to Docker Hub
@@ -71,6 +76,9 @@ jobs:
7176
steps:
7277
- attach_workspace:
7378
at: .
79+
- run:
80+
command: ./build-install-poetry.sh
81+
name: Install poetry
7482
- run:
7583
command: ./docker/docker-login.sh
7684
name: Login to Docker Hub

build-install-poetry.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
# install poetry, for wheels-version.sh & deploy-pypi.sh
3+
set -euo pipefail
4+
pip3 install -U pip
5+
pip3 install -U poetry

deploy-pypi.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
#!/bin/bash
22
set -euo pipefail
3-
pip3 install -U pip
4-
pip3 install -U poetry
53
poetry publish -u "$PYPI_USER" -p "$PYPI_PASS"

0 commit comments

Comments
 (0)