Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/packages/srsly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ versions:
- filename: srsly-2.5.3-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl
sha256: 69e43bf0cbf57b538ee88f87b1183bc395a039c38f880cf0e066342f54997edc
requires-python: <3.15,>=3.9
- version: 2.5.4
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Ludovic Henry <git@ludovic.dev>
Date: Thu, 27 Aug 2026 04:43:26 +0200
Subject: [PATCH] package the vendored ruamel.yaml licence with the wheels

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]

srsly vendors ruamel.yaml under srsly/ruamel_yaml and ships it in every
wheel, but srsly/ruamel_yaml/LICENSE is not packaged: MANIFEST.in only
recurses over source files and PACKAGE_DATA only globs *.pyx/*.pxd/*.c/
*.h/*.cpp, so the wheel carries srsly's own MIT LICENSE alone. None of
the vendored ruamel.yaml modules carries a copyright header either, so
nothing in the wheel reproduces the notice its MIT licence requires to
travel with copies.

The other vendored trees do not have this problem -- ujson, msgpack and
cloudpickle each keep their full licence text in the sources that ship in
the wheel (srsly/ujson/lib/ultrajson.h, srsly/msgpack/pack.h,
srsly/cloudpickle/cloudpickle.py).

Copying the file to the project root as LICENSE.ruamel_yaml needs no
packaging change: setuptools' default license_files glob is LICEN[CS]E*
at the root, so it lands in the wheel's dist-info/licenses/ beside
srsly's own.

Signed-off-by: Ludovic Henry <git@ludovic.dev>
---
LICENSE.ruamel_yaml | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
create mode 100644 LICENSE.ruamel_yaml

diff --git a/LICENSE.ruamel_yaml b/LICENSE.ruamel_yaml
new file mode 100644
index 0000000..5b863d3
--- /dev/null
+++ b/LICENSE.ruamel_yaml
@@ -0,0 +1,21 @@
+ The MIT License (MIT)
+
+ Copyright (c) 2014-2020 Anthon van der Neut, Ruamel bvba
+
+ Permission is hereby granted, free of charge, to any person obtaining a copy
+ of this software and associated documentation files (the "Software"), to deal
+ in the Software without restriction, including without limitation the rights
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ copies of the Software, and to permit persons to whom the Software is
+ furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included in
+ all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
Loading