Skip to content

Commit e17a76f

Browse files
committed
pyproj: Add 3.8.0 patches
The 3.7.2 patches apply unchanged to 3.8.0; the build applies patches/pyproj/<version>/ for every version it builds.
1 parent 7bc48d7 commit e17a76f

1 file changed

Lines changed: 322 additions & 0 deletions

File tree

Lines changed: 322 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,322 @@
1+
From b8701042131d25c55776f2476e7a4e0b39906b29 Mon Sep 17 00:00:00 2001
2+
From: Ludovic Henry <git@ludovic.dev>
3+
Date: Wed, 26 Aug 2026 21:28:32 +0200
4+
Subject: [PATCH] package the licences of the libraries bundled into the wheel
5+
6+
Upstream-Status: To upstream [not yet submitted; the same gap exists in every pyproj manylinux/musllinux wheel on PyPI, so it needs a maintainer discussion rather than a drive-by PR]
7+
8+
ci/proj-compile-wheels.sh compiles SQLite, libtiff, nghttp2, OpenSSL and
9+
curl from source before PROJ, and auditwheel then vendors libcurl,
10+
libnghttp2, libsqlite3 and libtiff into pyproj.libs/ -- OpenSSL is built
11+
`no-shared` and so ends up linked statically inside libcurl. curl,
12+
libtiff, nghttp2 and OpenSSL all require their copyright notice to travel
13+
with a binary redistribution, but the wheel carries only pyproj's own
14+
LICENSE and LICENSE_proj.
15+
16+
Add each licence verbatim from the release the script pins (curl 8.6.0,
17+
libtiff 4.6.0, nghttp2 1.60.0, OpenSSL 3.2.1) and list them in
18+
pyproject.toml's license-files, which is an explicit list here rather
19+
than setuptools' default LICEN[CS]E* glob, so a file dropped at the
20+
project root would not be picked up on its own. SQLite is public domain
21+
and needs no notice.
22+
---
23+
LICENSE_curl | 22 ++++++
24+
LICENSE_libtiff | 23 +++++++
25+
LICENSE_nghttp2 | 23 +++++++
26+
LICENSE_openssl | 177 ++++++++++++++++++++++++++++++++++++++++++++++++
27+
pyproject.toml | 9 ++-
28+
5 files changed, 253 insertions(+), 1 deletion(-)
29+
create mode 100644 LICENSE_curl
30+
create mode 100644 LICENSE_libtiff
31+
create mode 100644 LICENSE_nghttp2
32+
create mode 100644 LICENSE_openssl
33+
34+
diff --git a/LICENSE_curl b/LICENSE_curl
35+
new file mode 100644
36+
index 0000000..d9e7e0b
37+
--- /dev/null
38+
+++ b/LICENSE_curl
39+
@@ -0,0 +1,22 @@
40+
+COPYRIGHT AND PERMISSION NOTICE
41+
+
42+
+Copyright (c) 1996 - 2024, Daniel Stenberg, <daniel@haxx.se>, and many
43+
+contributors, see the THANKS file.
44+
+
45+
+All rights reserved.
46+
+
47+
+Permission to use, copy, modify, and distribute this software for any purpose
48+
+with or without fee is hereby granted, provided that the above copyright
49+
+notice and this permission notice appear in all copies.
50+
+
51+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
52+
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
53+
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN
54+
+NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
55+
+DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
56+
+OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE
57+
+OR OTHER DEALINGS IN THE SOFTWARE.
58+
+
59+
+Except as contained in this notice, the name of a copyright holder shall not
60+
+be used in advertising or otherwise to promote the sale, use or other dealings
61+
+in this Software without prior written authorization of the copyright holder.
62+
diff --git a/LICENSE_libtiff b/LICENSE_libtiff
63+
new file mode 100644
64+
index 0000000..55b6567
65+
--- /dev/null
66+
+++ b/LICENSE_libtiff
67+
@@ -0,0 +1,23 @@
68+
+# LibTIFF license
69+
+
70+
+Copyright © 1988-1997 Sam Leffler\
71+
+Copyright © 1991-1997 Silicon Graphics, Inc.
72+
+
73+
+Permission to use, copy, modify, distribute, and sell this software and
74+
+its documentation for any purpose is hereby granted without fee, provided
75+
+that (i) the above copyright notices and this permission notice appear in
76+
+all copies of the software and related documentation, and (ii) the names of
77+
+Sam Leffler and Silicon Graphics may not be used in any advertising or
78+
+publicity relating to the software without the specific, prior written
79+
+permission of Sam Leffler and Silicon Graphics.
80+
+
81+
+THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
82+
+EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
83+
+WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
84+
+
85+
+IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
86+
+ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
87+
+OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
88+
+WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
89+
+LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
90+
+OF THIS SOFTWARE.
91+
diff --git a/LICENSE_nghttp2 b/LICENSE_nghttp2
92+
new file mode 100644
93+
index 0000000..8020179
94+
--- /dev/null
95+
+++ b/LICENSE_nghttp2
96+
@@ -0,0 +1,23 @@
97+
+The MIT License
98+
+
99+
+Copyright (c) 2012, 2014, 2015, 2016 Tatsuhiro Tsujikawa
100+
+Copyright (c) 2012, 2014, 2015, 2016 nghttp2 contributors
101+
+
102+
+Permission is hereby granted, free of charge, to any person obtaining
103+
+a copy of this software and associated documentation files (the
104+
+"Software"), to deal in the Software without restriction, including
105+
+without limitation the rights to use, copy, modify, merge, publish,
106+
+distribute, sublicense, and/or sell copies of the Software, and to
107+
+permit persons to whom the Software is furnished to do so, subject to
108+
+the following conditions:
109+
+
110+
+The above copyright notice and this permission notice shall be
111+
+included in all copies or substantial portions of the Software.
112+
+
113+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
114+
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
115+
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
116+
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
117+
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
118+
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
119+
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
120+
diff --git a/LICENSE_openssl b/LICENSE_openssl
121+
new file mode 100644
122+
index 0000000..49cc83d
123+
--- /dev/null
124+
+++ b/LICENSE_openssl
125+
@@ -0,0 +1,177 @@
126+
+
127+
+ Apache License
128+
+ Version 2.0, January 2004
129+
+ https://www.apache.org/licenses/
130+
+
131+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
132+
+
133+
+ 1. Definitions.
134+
+
135+
+ "License" shall mean the terms and conditions for use, reproduction,
136+
+ and distribution as defined by Sections 1 through 9 of this document.
137+
+
138+
+ "Licensor" shall mean the copyright owner or entity authorized by
139+
+ the copyright owner that is granting the License.
140+
+
141+
+ "Legal Entity" shall mean the union of the acting entity and all
142+
+ other entities that control, are controlled by, or are under common
143+
+ control with that entity. For the purposes of this definition,
144+
+ "control" means (i) the power, direct or indirect, to cause the
145+
+ direction or management of such entity, whether by contract or
146+
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
147+
+ outstanding shares, or (iii) beneficial ownership of such entity.
148+
+
149+
+ "You" (or "Your") shall mean an individual or Legal Entity
150+
+ exercising permissions granted by this License.
151+
+
152+
+ "Source" form shall mean the preferred form for making modifications,
153+
+ including but not limited to software source code, documentation
154+
+ source, and configuration files.
155+
+
156+
+ "Object" form shall mean any form resulting from mechanical
157+
+ transformation or translation of a Source form, including but
158+
+ not limited to compiled object code, generated documentation,
159+
+ and conversions to other media types.
160+
+
161+
+ "Work" shall mean the work of authorship, whether in Source or
162+
+ Object form, made available under the License, as indicated by a
163+
+ copyright notice that is included in or attached to the work
164+
+ (an example is provided in the Appendix below).
165+
+
166+
+ "Derivative Works" shall mean any work, whether in Source or Object
167+
+ form, that is based on (or derived from) the Work and for which the
168+
+ editorial revisions, annotations, elaborations, or other modifications
169+
+ represent, as a whole, an original work of authorship. For the purposes
170+
+ of this License, Derivative Works shall not include works that remain
171+
+ separable from, or merely link (or bind by name) to the interfaces of,
172+
+ the Work and Derivative Works thereof.
173+
+
174+
+ "Contribution" shall mean any work of authorship, including
175+
+ the original version of the Work and any modifications or additions
176+
+ to that Work or Derivative Works thereof, that is intentionally
177+
+ submitted to Licensor for inclusion in the Work by the copyright owner
178+
+ or by an individual or Legal Entity authorized to submit on behalf of
179+
+ the copyright owner. For the purposes of this definition, "submitted"
180+
+ means any form of electronic, verbal, or written communication sent
181+
+ to the Licensor or its representatives, including but not limited to
182+
+ communication on electronic mailing lists, source code control systems,
183+
+ and issue tracking systems that are managed by, or on behalf of, the
184+
+ Licensor for the purpose of discussing and improving the Work, but
185+
+ excluding communication that is conspicuously marked or otherwise
186+
+ designated in writing by the copyright owner as "Not a Contribution."
187+
+
188+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
189+
+ on behalf of whom a Contribution has been received by Licensor and
190+
+ subsequently incorporated within the Work.
191+
+
192+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
193+
+ this License, each Contributor hereby grants to You a perpetual,
194+
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
195+
+ copyright license to reproduce, prepare Derivative Works of,
196+
+ publicly display, publicly perform, sublicense, and distribute the
197+
+ Work and such Derivative Works in Source or Object form.
198+
+
199+
+ 3. Grant of Patent License. Subject to the terms and conditions of
200+
+ this License, each Contributor hereby grants to You a perpetual,
201+
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
202+
+ (except as stated in this section) patent license to make, have made,
203+
+ use, offer to sell, sell, import, and otherwise transfer the Work,
204+
+ where such license applies only to those patent claims licensable
205+
+ by such Contributor that are necessarily infringed by their
206+
+ Contribution(s) alone or by combination of their Contribution(s)
207+
+ with the Work to which such Contribution(s) was submitted. If You
208+
+ institute patent litigation against any entity (including a
209+
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
210+
+ or a Contribution incorporated within the Work constitutes direct
211+
+ or contributory patent infringement, then any patent licenses
212+
+ granted to You under this License for that Work shall terminate
213+
+ as of the date such litigation is filed.
214+
+
215+
+ 4. Redistribution. You may reproduce and distribute copies of the
216+
+ Work or Derivative Works thereof in any medium, with or without
217+
+ modifications, and in Source or Object form, provided that You
218+
+ meet the following conditions:
219+
+
220+
+ (a) You must give any other recipients of the Work or
221+
+ Derivative Works a copy of this License; and
222+
+
223+
+ (b) You must cause any modified files to carry prominent notices
224+
+ stating that You changed the files; and
225+
+
226+
+ (c) You must retain, in the Source form of any Derivative Works
227+
+ that You distribute, all copyright, patent, trademark, and
228+
+ attribution notices from the Source form of the Work,
229+
+ excluding those notices that do not pertain to any part of
230+
+ the Derivative Works; and
231+
+
232+
+ (d) If the Work includes a "NOTICE" text file as part of its
233+
+ distribution, then any Derivative Works that You distribute must
234+
+ include a readable copy of the attribution notices contained
235+
+ within such NOTICE file, excluding those notices that do not
236+
+ pertain to any part of the Derivative Works, in at least one
237+
+ of the following places: within a NOTICE text file distributed
238+
+ as part of the Derivative Works; within the Source form or
239+
+ documentation, if provided along with the Derivative Works; or,
240+
+ within a display generated by the Derivative Works, if and
241+
+ wherever such third-party notices normally appear. The contents
242+
+ of the NOTICE file are for informational purposes only and
243+
+ do not modify the License. You may add Your own attribution
244+
+ notices within Derivative Works that You distribute, alongside
245+
+ or as an addendum to the NOTICE text from the Work, provided
246+
+ that such additional attribution notices cannot be construed
247+
+ as modifying the License.
248+
+
249+
+ You may add Your own copyright statement to Your modifications and
250+
+ may provide additional or different license terms and conditions
251+
+ for use, reproduction, or distribution of Your modifications, or
252+
+ for any such Derivative Works as a whole, provided Your use,
253+
+ reproduction, and distribution of the Work otherwise complies with
254+
+ the conditions stated in this License.
255+
+
256+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
257+
+ any Contribution intentionally submitted for inclusion in the Work
258+
+ by You to the Licensor shall be under the terms and conditions of
259+
+ this License, without any additional terms or conditions.
260+
+ Notwithstanding the above, nothing herein shall supersede or modify
261+
+ the terms of any separate license agreement you may have executed
262+
+ with Licensor regarding such Contributions.
263+
+
264+
+ 6. Trademarks. This License does not grant permission to use the trade
265+
+ names, trademarks, service marks, or product names of the Licensor,
266+
+ except as required for reasonable and customary use in describing the
267+
+ origin of the Work and reproducing the content of the NOTICE file.
268+
+
269+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
270+
+ agreed to in writing, Licensor provides the Work (and each
271+
+ Contributor provides its Contributions) on an "AS IS" BASIS,
272+
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
273+
+ implied, including, without limitation, any warranties or conditions
274+
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
275+
+ PARTICULAR PURPOSE. You are solely responsible for determining the
276+
+ appropriateness of using or redistributing the Work and assume any
277+
+ risks associated with Your exercise of permissions under this License.
278+
+
279+
+ 8. Limitation of Liability. In no event and under no legal theory,
280+
+ whether in tort (including negligence), contract, or otherwise,
281+
+ unless required by applicable law (such as deliberate and grossly
282+
+ negligent acts) or agreed to in writing, shall any Contributor be
283+
+ liable to You for damages, including any direct, indirect, special,
284+
+ incidental, or consequential damages of any character arising as a
285+
+ result of this License or out of the use or inability to use the
286+
+ Work (including but not limited to damages for loss of goodwill,
287+
+ work stoppage, computer failure or malfunction, or any and all
288+
+ other commercial damages or losses), even if such Contributor
289+
+ has been advised of the possibility of such damages.
290+
+
291+
+ 9. Accepting Warranty or Additional Liability. While redistributing
292+
+ the Work or Derivative Works thereof, You may choose to offer,
293+
+ and charge a fee for, acceptance of support, warranty, indemnity,
294+
+ or other liability obligations and/or rights consistent with this
295+
+ License. However, in accepting such obligations, You may act only
296+
+ on Your own behalf and on Your sole responsibility, not on behalf
297+
+ of any other Contributor, and only if You agree to indemnify,
298+
+ defend, and hold each Contributor harmless for any liability
299+
+ incurred by, or claims asserted against, such Contributor by reason
300+
+ of your accepting any such warranty or additional liability.
301+
+
302+
+ END OF TERMS AND CONDITIONS
303+
diff --git a/pyproject.toml b/pyproject.toml
304+
index 7343965..48fe575 100644
305+
--- a/pyproject.toml
306+
+++ b/pyproject.toml
307+
@@ -17,7 +17,14 @@ maintainers = [
308+
{name = "pyproj contributors"},
309+
]
310+
license = "MIT"
311+
-license-files = ["LICENSE", "LICENSE_proj"]
312+
+license-files = [
313+
+ "LICENSE",
314+
+ "LICENSE_proj",
315+
+ "LICENSE_curl",
316+
+ "LICENSE_libtiff",
317+
+ "LICENSE_nghttp2",
318+
+ "LICENSE_openssl",
319+
+]
320+
keywords = [
321+
"GIS",
322+
"map",

0 commit comments

Comments
 (0)