From efce9aaffa7b58e961313b3594c25f65991227ab Mon Sep 17 00:00:00 2001 From: "george.robertson1" <50412379+georgeRobertson@users.noreply.github.com> Date: Thu, 28 May 2026 16:09:48 +0100 Subject: [PATCH] build: Upgrade poetry version to v2.4.1 and lock boto3 and botocore dependencies added `min-release-age` argument to poetry.toml to ensure dependencies are at least 10 days old before upgrading. This was made available in poetry v2.4 --- .mise.toml | 2 +- CONTRIBUTE.md | 2 +- Makefile | 5 ----- poetry.lock | 8 ++++---- poetry.toml | 3 +++ pyproject.toml | 4 ++-- 6 files changed, 11 insertions(+), 13 deletions(-) diff --git a/.mise.toml b/.mise.toml index d41748e..be3149d 100644 --- a/.mise.toml +++ b/.mise.toml @@ -1,4 +1,4 @@ [tools] python="3.12" -poetry="2.3.3" +poetry="2.4.1" java="liberica-1.8.0" diff --git a/CONTRIBUTE.md b/CONTRIBUTE.md index b5d1eed..d300ec4 100644 --- a/CONTRIBUTE.md +++ b/CONTRIBUTE.md @@ -58,7 +58,7 @@ poetry install --with lint ## Installation for Development -We are utilising Poetry for build dependency management and packaging. If you're on a system that has `Make` available, you can simply run `make install` to setup a local virtual environment with all the dependencies installed (this won't install Poetry for you). +We are utilising Poetry for build dependency management and packaging. To install simply run `poetry install`. If you need to update any of the dependencies then you will need to run `poetry lock` before the install command. **Please always review the contents of the lock before installing. We have a `min-release-age` of `10` which means that packages will not be updated until they have been released for at least 10 days. ## Testing diff --git a/Makefile b/Makefile index 7f31aa7..50bf37c 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,5 @@ activate = poetry run -# dev -install: - poetry lock - poetry install --with dev - # dist wheel: poetry build -f wheel diff --git a/poetry.lock b/poetry.lock index ec61a6d..b297876 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.3.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.4.1 and should not be changed by hand. [[package]] name = "annotated-types" @@ -2210,8 +2210,8 @@ files = [ [package.dependencies] numpy = [ {version = ">=1.22.4", markers = "python_version < \"3.11\""}, - {version = ">=1.26.0", markers = "python_version >= \"3.12\""}, {version = ">=1.23.2", markers = "python_version == \"3.11\""}, + {version = ">=1.26.0", markers = "python_version >= \"3.12\""}, ] python-dateutil = ">=2.8.2" pytz = ">=2020.1" @@ -2685,8 +2685,8 @@ astroid = ">=3.3.8,<=3.4.0.dev0" colorama = {version = ">=0.4.5", markers = "sys_platform == \"win32\""} dill = [ {version = ">=0.2", markers = "python_version < \"3.11\""}, - {version = ">=0.3.7", markers = "python_version >= \"3.12\""}, {version = ">=0.3.6", markers = "python_version == \"3.11\""}, + {version = ">=0.3.7", markers = "python_version >= \"3.12\""}, ] isort = ">=4.2.5,<5.13 || >5.13,<7" mccabe = ">=0.6,<0.8" @@ -3541,4 +3541,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.1" python-versions = ">=3.10,<3.13" -content-hash = "793e65e9dcefec411b9423ed3587c05121529b422f9299ac99cd157c7dec7c01" +content-hash = "51f12438f19735cc22c101196738cb41084c214da78793e99ea30c61a3815ebd" diff --git a/poetry.toml b/poetry.toml index 9255596..9d82d94 100644 --- a/poetry.toml +++ b/poetry.toml @@ -1,5 +1,8 @@ [experimental] new-installer = false +[solver] +min-release-age = 10 + [virtualenvs] in-project = true diff --git a/pyproject.toml b/pyproject.toml index 64e4bc8..7de0cbb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,8 +31,8 @@ packages = [ [tool.poetry.dependencies] python = ">=3.10,<3.13" # breaking changes beyond 3.12 -boto3 = ">=1.34.162,<1.36" # breaking change beyond 1.36 -botocore = ">=1.34.162,<1.36" # breaking change beyond 1.36 +boto3 = "1.35.99" # breaking change beyond 1.36 +botocore = "1.35.99" # breaking change beyond 1.36 delta-spark = "3.2.0" duckdb = "1.1.3" # breaking changes beyond 1.1 Jinja2 = "3.1.6"