Skip to content

Commit

Permalink
build: update poetry to latest version (#513)
Browse files Browse the repository at this point in the history
Poetry is the workflow management tool used for this project and forms
the root of all other actions taken when working with this repository.
It is also used to manage dependencies and therefore should be treated
very carefully, with updates to newer versions taken deliberately.

This PR updates `poetry` to the latest version of v1.8.5 to account for
the [changes introduced](https://python-poetry.org/history) in v1.8.5,
with these actions taken:

* Bump all instances of `poetry` to the new version
  * Installs in workflows
  * pre-commit hook revision
  * Dockerfiles
  * Full comparison:
*
[python-poetry/[email protected]](python-poetry/poetry@1.8.4...1.8.5)

Attempting to update the lockfile with the new version of `poetry` did
not result in any changes, likely because the dependencies were updated
earlier today. The next weekly dependency bump will update the reference
to the version of `poetry` used to create the lockfile in `poetry.lock`.

None of the changes or new features in this new version required any
updates to the use of `poetry` in this project.
  • Loading branch information
maxrake authored Dec 10, 2024
1 parent 2e30082 commit 85d69fa
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto_updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
env:
PYTHON_VERSION: "3.12"
POETRY_VERSION: "1.8.4"
POETRY_VERSION: "1.8.5"
defaults:
run:
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:

env:
PYTHON_VERSION: "3.12"
POETRY_VERSION: "1.8.4"
POETRY_VERSION: "1.8.5"

jobs:
publish_preview:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ on:

env:
PYTHON_VERSION: "3.12"
POETRY_VERSION: "1.8.4"
POETRY_VERSION: "1.8.5"

jobs:
build_dist:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ defaults:

env:
PYTHON_VERSION: "3.12"
POETRY_VERSION: "1.8.4"
POETRY_VERSION: "1.8.5"

jobs:
QA:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ repos:
# https://python-poetry.org/docs/pre-commit-hooks/#why-does-pre-commit-autoupdate-not-update-to-the-latest-version
# NOTE: This `rev` should be manually updated whenever `poetry` is updated. The `rev` can be found by checking out
# the `poetry` repository and running the command: `git show-ref --tags <tag_name>`
rev: ea12d9e3ef6f89dc37dd145870843130eabd50a1 # frozen: 1.8.4
rev: 19a2f7bddb9bdf931a229ea0913a84021f3f9b93 # frozen: 1.8.5
hooks:
- id: poetry-check
args: [--lock]
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ ENV PHYLUM_VENV="/opt/venv"
ENV PHYLUM_VENV_PIP="${PHYLUM_VENV}/bin/pip"
ENV PIP_NO_COMPILE=1
ENV PIP_DISABLE_PIP_VERSION_CHECK=1
ENV POETRY_VERSION="1.8.4"
ENV POETRY_VERSION="1.8.5"

WORKDIR ${APP_PATH}

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.slim
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ ENV PHYLUM_VENV="/opt/venv"
ENV PHYLUM_VENV_PIP="${PHYLUM_VENV}/bin/pip"
ENV PIP_NO_COMPILE=1
ENV PIP_DISABLE_PIP_VERSION_CHECK=1
ENV POETRY_VERSION="1.8.4"
ENV POETRY_VERSION="1.8.5"

WORKDIR ${APP_PATH}

Expand Down

0 comments on commit 85d69fa

Please sign in to comment.