Skip to content

Add complete Apache-2.0 license header for Arrow.h#9792

Open
pctablet505 wants to merge 2 commits into
python-pillow:mainfrom
pctablet505:fix-9657-arrow-license-header
Open

Add complete Apache-2.0 license header for Arrow.h#9792
pctablet505 wants to merge 2 commits into
python-pillow:mainfrom
pctablet505:fix-9657-arrow-license-header

Conversation

@pctablet505

@pctablet505 pctablet505 commented Jul 15, 2026

Copy link
Copy Markdown

Fixes #9657.

The current header in src/libImaging/Arrow.h only notes "Apache License 2.0" with a spec link, which is not enough attribution for the vendored Apache-2.0 snippet. This adds the full license header and copyright notice while leaving the struct definitions and the ARROW_C_DATA_INTERFACE guard untouched.

Replace the minimal license comment in src/libImaging/Arrow.h with the
full Apache-2.0 header from the upstream Apache Arrow project, including
the copyright ownership notice required by section 4(d) of the license.

Fixes python-pillow#9657
@radarhere radarhere changed the title docs: add complete Apache-2.0 license header for Arrow.h Add complete Apache-2.0 license header for Arrow.h Jul 16, 2026
@radarhere

radarhere commented Jul 16, 2026

Copy link
Copy Markdown
Member

Why has this been marked as a draft?

@wiredfool

wiredfool commented Jul 16, 2026 via email

Copy link
Copy Markdown
Member

@aclark4life

Copy link
Copy Markdown
Member

swear we had another pr a week or two back that was doing this as well.

Could it have been opened as a draft ?

@radarhere

Copy link
Copy Markdown
Member

It was #9787, but that and its creator @muhamedfazalps appear to be no more.

@pctablet505
pctablet505 marked this pull request as ready for review July 16, 2026 13:25
…urce

The definitions in Arrow.h are the free-standing structures published in
the Apache Arrow C Data Interface documentation and copied under the
Apache License 2.0, not a copy of the upstream abi.h source file. Replace
the header with a vendoring note recording the documentation source URL,
the license, an SPDX identifier and the copyright holder, matching the
style used for other vendored headers such as
src/thirdparty/pythoncapi_compat.h, and keep the ARROW_C_DATA_INTERFACE
guard exactly as-is.

Fixes python-pillow#9657
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incomplete license header for src/libImaging/Arrow.h

4 participants