diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 1c65c2c..7ae9650 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,6 +33,7 @@ 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" + update-types: ["version-update:semver-major", "version-update:semver-minor"] diff --git a/README.md b/README.md index 7caa949..c11e8f9 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 diff --git a/docker/Dockerfile b/docker/Dockerfile index 4fd9f4d..58f0da6 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.*/ensurepip/_bundled/*.whl # Copy application and virtual environment from builder COPY --from=builder /app ./ diff --git a/poetry.lock b/poetry.lock index ee1852e..9b37b9f 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 7d78f83..c0f3a3c 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"