From 75982b940e2f05442c3b3a2e127d0659fb004040 Mon Sep 17 00:00:00 2001 From: "riseproject-dev[bot]" <330740410+riseproject-dev[bot]@users.noreply.github.com> Date: Thu, 22 Oct 2026 12:09:10 +0000 Subject: [PATCH 1/2] pygraphviz: Add version 2.0.4 Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> --- docs/packages/pygraphviz.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/packages/pygraphviz.yaml b/docs/packages/pygraphviz.yaml index c9b3841c8456..285bd4f14f9d 100644 --- a/docs/packages/pygraphviz.yaml +++ b/docs/packages/pygraphviz.yaml @@ -50,3 +50,4 @@ versions: gpl-sources: filename: gpl-sources.tar description: the copyleft libraries bundled in the wheel +- version: 2.0.4 From b2e1972b0549a3aff8a7c52904efc39164a3ba44 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Fri, 23 Oct 2026 08:39:03 +0800 Subject: [PATCH 2/2] pygraphviz: copy the 2.0.3 patch for 2.0.4 The licence-files widening still applies unchanged to pygraphviz-2.0.4. --- ...s-of-the-libraries-bundled-in-the-wh.patch | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 patches/pygraphviz/2.0.4/0001-Ship-the-licences-of-the-libraries-bundled-in-the-wh.patch diff --git a/patches/pygraphviz/2.0.4/0001-Ship-the-licences-of-the-libraries-bundled-in-the-wh.patch b/patches/pygraphviz/2.0.4/0001-Ship-the-licences-of-the-libraries-bundled-in-the-wh.patch new file mode 100644 index 000000000000..eb3bc208839d --- /dev/null +++ b/patches/pygraphviz/2.0.4/0001-Ship-the-licences-of-the-libraries-bundled-in-the-wh.patch @@ -0,0 +1,35 @@ +From f0aed7f4528cff54aaa8f61d799df8814c67ffb3 Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Fri, 28 Aug 2026 11:34:14 +0200 +Subject: [PATCH] Ship the licences of the libraries bundled in the wheels + +The Linux and Windows wheels bundle the shared libraries graphviz links -- +cairo, pango, fontconfig, freetype, harfbuzz, fribidi, libthai, libdatrie, +graphite2, gd, libpng, libjpeg, libtiff, libwebp, libxcb and others. Several +are LGPL and the rest are MIT/BSD-style; all of them require their licence +text or copyright notice to travel with a binary redistribution. The wheels +ship only pygraphviz's own LICENSE and LICENSE.graphviz. + +`license-files` is an explicit list, so setuptools' default LICEN[CS]E* glob +is off and a licence file dropped beside LICENSE is ignored. Widen the second +entry to LICENSE.* so the build can stage one file per bundled library -- +LICENSE.graphviz keeps matching, so nothing is lost. + +Upstream-Status: To upstream [same gap affects upstream's own manylinux and Windows wheels; not yet submitted to pygraphviz/pygraphviz] +--- + pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/pyproject.toml b/pyproject.toml +index 43d2896..e78521f 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -13,7 +13,7 @@ description = "Python interface to Graphviz" + readme = "README.rst" + requires-python = ">=3.10" + license = "BSD-3-Clause" +-license-files = ['LICENSE', 'LICENSE.graphviz'] ++license-files = ['LICENSE', 'LICENSE.*'] + dynamic = ["version"] + keywords = [ + "Networks",