Skip to content

👷 ci: allow the MIT-0 cffi licence in dependency-review - #550

Merged
konih merged 1 commit into
mainfrom
ci/cffi-mit0-licence
Nov 13, 2026
Merged

konih merged 1 commit into
mainfrom
ci/cffi-mit0-licence

Conversation

@konih

@konih konih commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

TL;DR: #544 (pip-compile refresh) fails dependency-review on licence only: cffi 2.1.1 relicensed from MIT to MIT-0. MIT-0 is MIT without the attribution clause, so it is more permissive than a licence we already allow.

This adds pkg:pypi/cffi as a package-scoped allow-dependencies-licenses exception with a reason comment. That follows the existing convention (cairosvg, certifi, #521): cffi is a cairosvg dependency of the docs-site build and never ships.

Testing: hack/test/ci_workflow_security_test.sh passes, both plain and with --self-test. After this merges, re-running #544 should turn dependency-review green.

@codecov

codecov Bot commented Nov 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

cffi 2.1.1 relicensed to MIT-0, which is more permissive than the
allowed MIT. It is a cairosvg dependency of the docs-site build and
never ships. Scoped to the package like the other exceptions.
@konih
konih force-pushed the ci/cffi-mit0-licence branch from 6134c48 to 8167917 Compare November 13, 2026 10:54
@sonarqubecloud

Copy link
Copy Markdown

@konih
konih merged commit 6236144 into main Nov 13, 2026
41 checks passed
@konih
konih deleted the ci/cffi-mit0-licence branch November 13, 2026 11:17
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