Skip to content

Commit c316f2f

Browse files
ci: remove old code to support old poetry version
1 parent bb35d1a commit c316f2f

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,7 @@ before_script:
4848
- python3 -m venv .venv
4949
- source .venv/bin/activate
5050
- pip install --upgrade pip
51-
# For py3.6, stick to Poetry 1.1.15, because with Poetry 1.2.0 there is a build issue on Python 3.6:
52-
# "pydantic-1.9.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl is not a supported wheel on this platform."
53-
# Note: Poetry and the project dependencies should also be installed in separate virtual-envs (that is not done here)
54-
- >
55-
if [[ ! -z "${USE_OLD_POETRY_VERSION}" ]]; then
56-
echo "Installing old poetry version"
57-
pip install poetry==1.1.15
58-
else
59-
echo "Installing newer poetry version"
60-
pip install poetry==2.1.2
61-
fi
51+
- pip install poetry==2.1.2
6252
- poetry --version
6353
- poetry install -vv -E keyring
6454

0 commit comments

Comments
 (0)