Skip to content

Commit e3b2fb7

Browse files
committed
Merge branch 'new-poetry-install'
2 parents 5f3c783 + 703ecc0 commit e3b2fb7

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.circleci/config.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ references:
55
run:
66
name: Install Poetry
77
command: |
8-
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
8+
# Need to use version < 1.2.0 in order to support Python 3.6
9+
curl -sSL https://install.python-poetry.org | python3 - --version 1.1.15
910
restore-dependencies-cache: &restore-dependencies-cache
1011
restore_cache:
1112
keys:
@@ -14,7 +15,6 @@ references:
1415
run:
1516
name: Install Dependencies
1617
command: |
17-
source $HOME/.poetry/env
1818
poetry install
1919
poetry run pip install "django~=<< parameters.django-version >>.0"
2020
save-dependencies-cache: &save-dependencies-cache
@@ -65,7 +65,6 @@ jobs:
6565
- run:
6666
name: Run Tests
6767
command: |
68-
source $HOME/.poetry/env
6968
poetry run ./runtests
7069
7170
lint:
@@ -82,7 +81,6 @@ jobs:
8281
- run:
8382
name: Run Flake8
8483
command: |
85-
source $HOME/.poetry/env
8684
poetry run flake8
8785
8886
type-check:
@@ -99,7 +97,6 @@ jobs:
9997
- run:
10098
name: Run Mypy
10199
command: |
102-
source $HOME/.poetry/env
103100
poetry run ./script/type-check
104101
105102
deploy:
@@ -112,7 +109,6 @@ jobs:
112109
- run:
113110
name: Push to PyPI
114111
command: |
115-
source $HOME/.poetry/env
116112
poetry publish \
117113
--build \
118114
--username "${PYPI_USERNAME}" \

0 commit comments

Comments
 (0)