Skip to content

deps: stop Dependabot reopening the ImageSharp major it cannot build - #55

Merged
XtremeOwnageDotCom merged 1 commit into
mainfrom
deps/ignore-imagesharp-major
Sep 2, 2026
Merged

deps: stop Dependabot reopening the ImageSharp major it cannot build#55
XtremeOwnageDotCom merged 1 commit into
mainfrom
deps/ignore-imagesharp-major

Conversation

@XtremeOwnageDotCom

Copy link
Copy Markdown
Contributor

Companion to closing #49.

What & why

Directory.Packages.props already pins ImageSharp to the 3.1.x line on purpose, with a comment explaining why. Nothing communicated that to Dependabot, so every ImageSharp release opens a PR that cannot build and has to be closed by hand — #49 being the current one.

I verified the pin is still correct rather than trusting the comment. Building against 4.1.1:

error : No Six Labors license found. Set $(SixLaborsLicenseKey), set $(SixLaborsLicenseFile),
        or add a 'sixlabors.lic' file to the project/workspace.
error : Please obtain a license from https://sixlabors.com/pricing/
Build FAILED.

Still a hard failure at build time, not a warning. For a zero-config OSS binary that ships to users, the 3.1.x Apache-2.0 line remains the right place to be.

The change

Ignore major updates for SixLabors.ImageSharp and SixLabors.ImageSharp.Drawing. Drawing is included because its next major depends on ImageSharp 4.x and so inherits the same licensing constraint — otherwise it becomes the same recurring PR under a different name.

Minor and patch updates are unaffected and still flow through the existing group, so security and bug fixes on 3.1.x keep arriving.

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Refactor / chore

Checklist

  • dotnet build Netdocs.slnx -c Release succeeds
  • .github/dependabot.yml parses as valid YAML
  • Added/updated tests — CI configuration, nothing to test
  • Updated docs under docs-site/docs/** — no user-facing behaviour change

Notes for reviewers

This is worth revisiting only if Six Labors changes its licensing, or if you ever decide to buy a key — at which point deleting these four lines is the whole migration.

🤖 Generated with Claude Code

ImageSharp 4.0 moved to the Six Labors Split License and its build targets fail
outright without a registered key:

  error : No Six Labors license found. Set $(SixLaborsLicenseKey), set
          $(SixLaborsLicenseFile), or add a 'sixlabors.lic' file
  error : Please obtain a license from https://sixlabors.com/pricing/

Directory.Packages.props already pins the 3.1.x line for that reason, but
nothing told Dependabot, so every ImageSharp release opens a PR that cannot
build and has to be closed by hand. Ignore the major for ImageSharp and for
Drawing, whose next major depends on ImageSharp 4.x and so inherits the same
constraint. Minor and patch updates still flow.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@XtremeOwnageDotCom
XtremeOwnageDotCom merged commit ab431d3 into main Sep 2, 2026
1 check passed
@XtremeOwnageDotCom
XtremeOwnageDotCom deleted the deps/ignore-imagesharp-major branch September 2, 2026 03:27
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.

1 participant