Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent dependabot from proposing Python version upgrades beyond 3.11. #3038

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

smarnach
Copy link
Contributor

While we want to upgrade Python to a newer version at some point, I don't think it's useful for depednabot to suggest this to us every week.

@smarnach smarnach requested a review from a team as a code owner October 17, 2024 13:42
Copy link
Contributor

@willkg willkg left a comment

Choose a reason for hiding this comment

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

I tried to verify the dependency name we should use here. I landed on this PR which has a blurb with the related ignore conditions.

#3034

image

I think that suggests this change does what we want it to.

@@ -14,6 +14,9 @@ updates:
interval: "weekly"
rebase-strategy: "disabled"
open-pull-requests-limit: 10
ignore:
- dependency-name: python
versions: [">=3.12"]
Copy link
Contributor

Choose a reason for hiding this comment

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

I never know what to do in situations like this where there are multiple places in the code base related to a single thing, but they're not connected.

For example, we have this ignore bit here and it's tied to the docker base image we use. When we update the docker base image, we need to remember to update this, too. Will we? What helps us remember? Should we add a comment to docker/Dockerfile? Should we have a runbook for updating the Python version?

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.

2 participants