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

Disable dependabot version updates #791

Merged
merged 2 commits into from
Jan 3, 2025

Conversation

akaihola
Copy link
Owner

Fixes #788

Enforcing newest versions of Darker's dependencies may cause a problem for those users who like to install Darker in the same environment as the package they are reformatting. Their package may have an upper version limit for a dependency, e.g. to prevent an unintended update to an incompatible major version. If Darker then requires a minimum version newer than that limit, the installation of Darker will fail.

It's reasonable to keep Dependabot security updates (based on the Github Advisory Database) enabled, but for the above reasons, Dependabot version updates should in my opinion be disabled. We should support oldest possible non-vulnerable versions of our dependencies, and yet in a fresh environment users will still get the newest versions automatically installed.

@akaihola akaihola added CI dependencies Pull requests that update a dependency file labels Dec 30, 2024
@akaihola akaihola self-assigned this Dec 30, 2024
@akaihola akaihola force-pushed the disable-dependabot-version-updates branch from f751743 to e4bb908 Compare January 2, 2025 21:05
Enforcing newest versions of Darker's dependencies may cause a problem
for those users who like to install Darker in the same environment as
the package they are reformatting. Their package may have an upper
version limit for a dependency, e.g. to prevent an unintended update to
an incompatible major version. If Darker then requires a minimum version
newer than that limit, the installation of Darker will fail.

It's reasonable to keep Dependabot security updates (based on the Github
Advisory Database) enabled, but for the above reasons, Dependabot
version updates should in my opinion be disabled. We should support
oldest possible non-vulnerable versions of our dependencies, and yet in
a fresh environment users will still get the newest versions
automatically installed.

See also #788
@akaihola akaihola force-pushed the disable-dependabot-version-updates branch from e4bb908 to 78fbed8 Compare January 2, 2025 22:06
@akaihola akaihola merged commit e86dd27 into master Jan 3, 2025
37 of 38 checks passed
@akaihola akaihola deleted the disable-dependabot-version-updates branch January 3, 2025 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI dependencies Pull requests that update a dependency file
Projects
Development

Successfully merging this pull request may close these issues.

Dependabot version updates may cause problems
1 participant