Skip to content

Commit de694ea

Browse files
srsly: Add version 2.5.4 (#2448)
* srsly: Add version 2.5.4 Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> * srsly: Carry the 2.5.3 patch forward to 2.5.4 0001 applies unchanged: it only adds a new LICENSE.ruamel_yaml file at the project root, so it does not depend on any line offsets elsewhere. Checked upstream's release-v2.5.4 MANIFEST.in, setup.py PACKAGE_DATA and the srsly/ruamel_yaml tree against release-v2.5.3: the vendored ruamel.yaml LICENSE is still unpackaged and no root-level LICENSE.ruamel_yaml exists yet, so the same gap remains. Verified the patch applies cleanly against a fresh release-v2.5.4 checkout and that the copied text matches srsly/ruamel_yaml/LICENSE byte for byte. --------- Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> Co-authored-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> Co-authored-by: Ludovic Henry <git@ludovic.dev>
1 parent f47f9dd commit de694ea

2 files changed

Lines changed: 59 additions & 0 deletions

File tree

‎docs/packages/srsly.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,4 @@ versions:
1818
- filename: srsly-2.5.3-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl
1919
sha256: 69e43bf0cbf57b538ee88f87b1183bc395a039c38f880cf0e066342f54997edc
2020
requires-python: <3.15,>=3.9
21+
- version: 2.5.4
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2+
From: Ludovic Henry <git@ludovic.dev>
3+
Date: Thu, 27 Aug 2026 04:43:26 +0200
4+
Subject: [PATCH] package the vendored ruamel.yaml licence with the wheels
5+
6+
Upstream-Status: To upstream [not yet submitted; the same gap is in every srsly 2.x wheel on PyPI and srsly 3.0.0 unvendors the library altogether, so this needs a maintainer decision on the 2.x line rather than a drive-by PR]
7+
8+
srsly vendors ruamel.yaml under srsly/ruamel_yaml and ships it in every
9+
wheel, but srsly/ruamel_yaml/LICENSE is not packaged: MANIFEST.in only
10+
recurses over source files and PACKAGE_DATA only globs *.pyx/*.pxd/*.c/
11+
*.h/*.cpp, so the wheel carries srsly's own MIT LICENSE alone. None of
12+
the vendored ruamel.yaml modules carries a copyright header either, so
13+
nothing in the wheel reproduces the notice its MIT licence requires to
14+
travel with copies.
15+
16+
The other vendored trees do not have this problem -- ujson, msgpack and
17+
cloudpickle each keep their full licence text in the sources that ship in
18+
the wheel (srsly/ujson/lib/ultrajson.h, srsly/msgpack/pack.h,
19+
srsly/cloudpickle/cloudpickle.py).
20+
21+
Copying the file to the project root as LICENSE.ruamel_yaml needs no
22+
packaging change: setuptools' default license_files glob is LICEN[CS]E*
23+
at the root, so it lands in the wheel's dist-info/licenses/ beside
24+
srsly's own.
25+
26+
Signed-off-by: Ludovic Henry <git@ludovic.dev>
27+
---
28+
LICENSE.ruamel_yaml | 21 +++++++++++++++++++++
29+
1 file changed, 21 insertions(+)
30+
create mode 100644 LICENSE.ruamel_yaml
31+
32+
diff --git a/LICENSE.ruamel_yaml b/LICENSE.ruamel_yaml
33+
new file mode 100644
34+
index 0000000..5b863d3
35+
--- /dev/null
36+
+++ b/LICENSE.ruamel_yaml
37+
@@ -0,0 +1,21 @@
38+
+ The MIT License (MIT)
39+
+
40+
+ Copyright (c) 2014-2020 Anthon van der Neut, Ruamel bvba
41+
+
42+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
43+
+ of this software and associated documentation files (the "Software"), to deal
44+
+ in the Software without restriction, including without limitation the rights
45+
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
46+
+ copies of the Software, and to permit persons to whom the Software is
47+
+ furnished to do so, subject to the following conditions:
48+
+
49+
+ The above copyright notice and this permission notice shall be included in
50+
+ all copies or substantial portions of the Software.
51+
+
52+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
53+
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
54+
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
55+
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
56+
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
57+
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
58+
+ SOFTWARE.

0 commit comments

Comments
 (0)