Skip to content

Commit

Permalink
chore(project): Pin poetry version to 1.8.5 (#11999)
Browse files Browse the repository at this point in the history
Because

- Poetry introduced some breaking changes with their v2 release

This commit

- Pins all poetry installs to 1.8.5 for now.

Fixes #11998
  • Loading branch information
b4handjr authored Jan 7, 2025
1 parent 527533a commit 6b66647
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ jobs:
name: Download test files and run
command: |
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/mozilla/application-services/main/install-nimbus-cli.sh | bash
pip install poetry
pip install poetry=1.8.5
make integration_test_nimbus_fenix PYTEST_ARGS="$PYTEST_ARGS"
- android/save-gradle-cache:
cache-prefix: v1a
Expand Down Expand Up @@ -357,7 +357,7 @@ jobs:
- run:
name: Run Tests
command: |
curl -sSL https://install.python-poetry.org | python3 - --version 1.8.4
curl -sSL https://install.python-poetry.org | python3 - --version 1.8.5
echo 'export PATH=/Users/distiller/.local/bin:$PATH' >> "$BASH_ENV"
source $BASH_ENV
cd firefox-ios/firefox-ios/firefox-ios-tests/Tests/ExperimentIntegrationTests
Expand Down
2 changes: 1 addition & 1 deletion experimenter/tests/integration/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ RUN apt-get update -qqy && \
python3-venv \
python3-pip

RUN pip install poetry
RUN pip install poetry==1.8.5

WORKDIR /code
2 changes: 1 addition & 1 deletion experimenter/tests/nimbus_integration_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if [[ -n "${FIREFOX_RELEASE}" ]]; then
install_firefox "https://ftp.mozilla.org/pub/firefox/releases/${FIREFOX_DESKTOP_RELEASE_VERSION_ID}/linux-x86_64/en-US/firefox-${FIREFOX_DESKTOP_RELEASE_VERSION_ID}.tar.bz2"
fi

curl -sSL https://install.python-poetry.org | python3 - --version 1.8.4
curl -sSL https://install.python-poetry.org | python3 - --version 1.8.5
sudo chmod -R a+rwx /code/experimenter/tests/integration/
mkdir -m a+rwx -p /code/experimenter/tests/integration/test-reports

Expand Down

0 comments on commit 6b66647

Please sign in to comment.