This repository was archived by the owner on Apr 26, 2024. It is now read-only.
File tree 3 files changed +2
-11
lines changed
3 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -283,7 +283,6 @@ jobs:
283
283
- run : sudo apt-get -qq install xmlsec1
284
284
- uses : matrix-org/setup-python-poetry@v1
285
285
with :
286
- python-version : ${{ matrix.python-version }}
287
286
extras : " postgres"
288
287
- run : .ci/scripts/test_export_data_command.sh
289
288
Original file line number Diff line number Diff line change
1
+ Update docker image to use a stable version of poetry.
Original file line number Diff line number Diff line change 46
46
47
47
# We install poetry in its own build stage to avoid its dependencies conflicting with
48
48
# synapse's dependencies.
49
- # We use a specific commit from poetry's master branch instead of our usual 1.1.14,
50
- # to incorporate fixes to some bugs in `poetry export`. This commit corresponds to
51
- # https://github.com/python-poetry/poetry/pull/5156 and
52
- # https://github.com/python-poetry/poetry/issues/5141 ;
53
- # without it, we generate a requirements.txt with incorrect environment markers,
54
- # which causes necessary packages to be omitted when we `pip install`.
55
- #
56
- # NB: In poetry 1.2 `poetry export` will be moved into a plugin; we'll need to also
57
- # pip install poetry-plugin-export (https://github.com/python-poetry/poetry-plugin-export).
58
49
RUN --mount=type=cache,target=/root/.cache/pip \
59
- pip install --user "poetry-core ==1.1.0a7" "git+https://github.com/python-poetry/poetry.git@fb13b3a676f476177f7937ffa480ee5cff9a90a5 "
50
+ pip install --user "poetry==1.2.0 "
60
51
61
52
WORKDIR /synapse
62
53
You can’t perform that action at this time.
0 commit comments