Skip to content

build: ignore updates that need a newer Python - #60

Merged
uniqueg merged 2 commits into
devfrom
build/dependabot-py39-ignores
Nov 6, 2026
Merged

uniqueg merged 2 commits into
devfrom
build/dependabot-py39-ignores

Conversation

@uniqueg

@uniqueg uniqueg commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Summary

Closes #59.

Dependabot ignores, for the app's pip entry, the updates that can't work in the FOCA 0.7 base image (Python 3.9, pip 21.2), next to the existing ones for pytest, coverage and setuptools, to be lifted with the move to a newer FOCA:

  • gunicorn >=24 and kubernetes >=36: no releases for Python 3.9 (pip in the base image finds 23.0.0 and 35.0.0 as the newest).
  • setuptools >=80 (was >=81): setuptools 80 makes setup.py develop run pip install -e with PEP 517, which pip 21.2 can't do, so the editable install of make test fails.

Light lane: configuration only.

How it was verified

🤖 Generated with Claude Code

Summary by Sourcery

Build:

  • Update Dependabot configuration to ignore gunicorn, Kubernetes, and setuptools releases incompatible with the current FOCA 0.7 Python and pip environment.

gunicorn >=24 and kubernetes >=36 need a newer Python than the FOCA 0.7
base image's 3.9; setuptools 80 breaks the editable install with the
image's pip 21.2. Lift with the move to a newer FOCA.

Closes #59

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates Dependabot configuration to ignore gunicorn, kubernetes, and setuptools releases that cannot be installed or used with the Python 3.9 and pip 21.2 versions in the FOCA 0.7 base image, while preserving existing compatibility exclusions.

File-Level Changes

Change Details Files
Expand Dependabot version exclusions to keep Python dependencies compatible with the FOCA 0.7 runtime.
  • Ignore gunicorn releases starting at 24, which do not support Python 3.9.
  • Ignore kubernetes releases starting at 36, which do not support Python 3.9.
  • Lower the setuptools exclusion threshold from 81 to 80 because setuptools 80 triggers a PEP 517 editable-install path unsupported by pip 21.2.
  • Document the Python, pip, and FOCA compatibility rationale alongside the exclusions.
.github/dependabot.yml

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@codecov

codecov Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (1e9dc7c) to head (79901b5).

Additional details and impacted files
@@            Coverage Diff            @@
##               dev       #60   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines          669       669           
=========================================
  Hits           669       669           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@uniqueg
uniqueg marked this pull request as ready for review November 6, 2026 05:55
@uniqueg
uniqueg requested a review from akash2237778 as a code owner November 6, 2026 05:55

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!

Linked issues

#59 build: ignore updates that need a newer Python · 1 of 1 met

# Requirement Status Notes
1 Dependabot doesn't propose gunicorn >=24, kubernetes >=36 or setuptools >=80 for the app. ✅ Met The pip entry for / ignores gunicorn >=24, kubernetes >=36, and setuptools >=80.

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@uniqueg
uniqueg merged commit cd814cb into dev Nov 6, 2026
34 of 44 checks passed
@uniqueg
uniqueg deleted the build/dependabot-py39-ignores branch November 6, 2026 06:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build: ignore updates that need a newer Python

1 participant