From 3a148f7ed49da476329289aa01b85165d2329153 Mon Sep 17 00:00:00 2001 From: Irving Popovetsky Date: Mon, 23 Nov 2026 07:58:10 -0800 Subject: [PATCH 1/5] Pin Python to 3.14 for Dependabot and Poetry - dependabot: ignore python >=3.15 for the docker ecosystem - pyproject: python = ">=3.14,<3.15"; lock content-hash updated only - Dockerfile stays on python:3.14.10-slim-trixie (latest 3.14 tag) Co-Authored-By: Claude Opus 5.5 --- .github/dependabot.yml | 4 ++++ poetry.lock | 4 ++-- pyproject.toml | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 1c65c2c3..a376eb9e 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -38,3 +38,7 @@ updates: labels: - "dependencies" - "docker" + # Stay on Python 3.14; remove this rule to move to 3.15 + ignore: + - dependency-name: "python" + versions: [">=3.15"] diff --git a/poetry.lock b/poetry.lock index ee1852e5..9b37b9ff 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1665,5 +1665,5 @@ files = [ [metadata] lock-version = "2.1" -python-versions = "^3.14" -content-hash = "140ddbde4c342ab899c4df043197eaa4c5f0337a6bc16dee15e443e5d4a67f99" +python-versions = ">=3.14,<3.15" +content-hash = "004bd0449d169b9e0130656cfa0ed10c479a4c46a331636bad9d064861570666" diff --git a/pyproject.toml b/pyproject.toml index 7d78f831..c0f3a3c5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ readme = "README.md" packages = [{include = "pybot"}] [tool.poetry.dependencies] -python = "^3.14" +python = ">=3.14,<3.15" aiohttp = "^3.9" python-dotenv = "^1.0" pyyaml = "^6.0" From 8248866ed1de99dc5332ce6c355ccd507e3320b9 Mon Sep 17 00:00:00 2001 From: Irving Popovetsky Date: Mon, 23 Nov 2026 08:00:02 -0800 Subject: [PATCH 2/5] README: state Python 3.14 is required, 3.15+ unsupported Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7caa949a..c11e8f94 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ Bug reports and pull requests are welcome on [Github](https://github.com/Operati ## Quick Start Recommended versions of tools used within the repo: -- `python@3.14` or greater +- `python@3.14` (required; 3.15+ is not supported yet) - `git@2.17.1` or greater - `poetry@2.0` or greater - [Poetry](https://python-poetry.org/) is a packaging and dependency manager, similar to pip or pipenv From 1f03a6faa2d122edd325963ef89d0b0e62526f2b Mon Sep 17 00:00:00 2001 From: Irving Popovetsky Date: Mon, 23 Nov 2026 08:05:02 -0800 Subject: [PATCH 3/5] Remove pip wheel bundled for ensurepip from final image The wheel vendors msgpack 1.1.2, urllib3 2.7.0 and setuptools 70.3.0, which carry HIGH CVEs. Co-Authored-By: Claude Opus 5.5 --- docker/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 4fd9f4df..5d58b1ea 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -46,8 +46,9 @@ ENV PIP_DISABLE_PIP_VERSION_CHECK=on \ WORKDIR /app -# pip is not used at runtime, and its vendored packages carry CVEs -RUN python -m pip uninstall -y pip +# pip is not used at runtime, and its vendored packages carry CVEs; the wheel bundled for ensurepip carries them too +RUN python -m pip uninstall -y pip && \ + rm -f /usr/local/lib/python3.14/ensurepip/_bundled/*.whl # Copy application and virtual environment from builder COPY --from=builder /app ./ From e4d08938b6c42a5037e99cd00f94351352226391 Mon Sep 17 00:00:00 2001 From: Irving Popovetsky Date: Mon, 23 Nov 2026 08:08:35 -0800 Subject: [PATCH 4/5] dependabot: ignore python major and minor updates for docker Same form as OperationCode/back-end PR #416. Patch releases still flow. Co-Authored-By: Claude Opus 5.5 --- .github/dependabot.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index a376eb9e..3d804067 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -38,7 +38,7 @@ updates: labels: - "dependencies" - "docker" - # Stay on Python 3.14; remove this rule to move to 3.15 ignore: + # Stay on the current minor's patch releases; bump the minor by hand - dependency-name: "python" - versions: [">=3.15"] + update-types: ["version-update:semver-major", "version-update:semver-minor"] From d70ccb72a3020c10085227dafc8bc4c77291f266 Mon Sep 17 00:00:00 2001 From: Irving Popovetsky Date: Mon, 23 Nov 2026 08:20:04 -0800 Subject: [PATCH 5/5] dependabot cleanup and version-agnostic wheel removal - remove labels (none of the named labels exist) and open-pull-requests-limit - add 7-day cooldown to pip and github-actions - group github-actions into one PR; drop redundant pip group patterns - Dockerfile: match python3.* so the wheel removal survives a minor bump Co-Authored-By: Claude Opus 5.5 --- .github/dependabot.yml | 21 ++++++++------------- docker/Dockerfile | 2 +- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 3d804067..7ae96504 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -6,17 +6,13 @@ updates: schedule: interval: "weekly" day: "monday" - open-pull-requests-limit: 5 + cooldown: + default-days: 7 groups: python-minor: - patterns: - - "*" update-types: - "minor" - "patch" - labels: - - "dependencies" - - "python" # GitHub Actions - package-ecosystem: "github-actions" @@ -24,10 +20,12 @@ updates: schedule: interval: "weekly" day: "monday" - open-pull-requests-limit: 5 - labels: - - "dependencies" - - "github-actions" + cooldown: + default-days: 7 + groups: + actions: + patterns: + - "*" # Docker - package-ecosystem: "docker" @@ -35,9 +33,6 @@ updates: schedule: interval: "weekly" day: "monday" - labels: - - "dependencies" - - "docker" ignore: # Stay on the current minor's patch releases; bump the minor by hand - dependency-name: "python" diff --git a/docker/Dockerfile b/docker/Dockerfile index 5d58b1ea..58f0da6d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -48,7 +48,7 @@ WORKDIR /app # pip is not used at runtime, and its vendored packages carry CVEs; the wheel bundled for ensurepip carries them too RUN python -m pip uninstall -y pip && \ - rm -f /usr/local/lib/python3.14/ensurepip/_bundled/*.whl + rm -f /usr/local/lib/python3.*/ensurepip/_bundled/*.whl # Copy application and virtual environment from builder COPY --from=builder /app ./