From 5126955102d9b4f092714ff4c1568fb26c153a2a Mon Sep 17 00:00:00 2001 From: "riseproject-dev[bot]" <330740410+riseproject-dev[bot]@users.noreply.github.com> Date: Tue, 6 Oct 2026 08:41:44 +0000 Subject: [PATCH 1/2] cadquery-ocp-novtk: Add version 8.0.1.1.0 Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> --- docs/packages/cadquery-ocp-novtk.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/packages/cadquery-ocp-novtk.yaml b/docs/packages/cadquery-ocp-novtk.yaml index f2658f33c01..3d8ed42e5a6 100644 --- a/docs/packages/cadquery-ocp-novtk.yaml +++ b/docs/packages/cadquery-ocp-novtk.yaml @@ -15,3 +15,4 @@ versions: - filename: cadquery_ocp_novtk-8.0.1.0.0-cp314-cp314-manylinux_2_39_riscv64.whl sha256: e86de239998ff724820361709adebcc1a85fcef9c87af1ecd31a510ac4953f1c requires-python: <3.15,>=3.11 +- version: 8.0.1.1.0 From 1fa815fff3f461773a622dd37e68fdfd2c3043f3 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Fri, 9 Oct 2026 16:32:03 +0000 Subject: [PATCH 2/2] cadquery-ocp-novtk: carry forward riscv64 patches to 8.0.1.1.0 Nightly version bump omitted the patches/cadquery-ocp-novtk/ directory for 8.0.1.1.0, so the build's unconditional `git apply .../*.patch` step failed with "No such file or directory" before any build/test ran. Copied forward the same patch set from 8.0.1.0.0 (unchanged since then). --- ...P-OCCT-and-vendored-library-licences.patch | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 patches/cadquery-ocp-novtk/8.0.1.1.0/0001-Package-the-OCP-OCCT-and-vendored-library-licences.patch diff --git a/patches/cadquery-ocp-novtk/8.0.1.1.0/0001-Package-the-OCP-OCCT-and-vendored-library-licences.patch b/patches/cadquery-ocp-novtk/8.0.1.1.0/0001-Package-the-OCP-OCCT-and-vendored-library-licences.patch new file mode 100644 index 00000000000..37a6080d560 --- /dev/null +++ b/patches/cadquery-ocp-novtk/8.0.1.1.0/0001-Package-the-OCP-OCCT-and-vendored-library-licences.patch @@ -0,0 +1,45 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Ludovic Henry +Date: Sat, 19 Sep 2026 10:00:00 +0200 +Subject: [PATCH] Package the OCP, OCCT and vendored library licences + +The wheel bundles the whole OCCT runtime (LGPL-2.1 with the OCCT exception) in +`cadquery_ocp_novtk.libs/` plus whatever else auditwheel/delocate vendors from +the build image, and OCP's own sources are Apache-2.0 - yet the published +wheels carry no licence file at all: `[tool.setuptools.package-data]` names the +key `cadquery_ocp`, which matches no package in the built tree (the sources +live in `OCP/`, and the novtk build renames the distribution), and the legacy +`license = { text = ... }` table suppresses setuptools' default licence glob. +LGPL-2.1 section 6 and the OCCT exception both require their text to travel +with the binary, so every wheel is short its licence notices. + +Declare the licence as a PEP 639 expression, which re-enables `license-files`, +and glob `LICENSE*` so the project's own licence and the `LICENSE.` files +the build drops beside it both reach `.dist-info/licenses/`. The "License ::" +classifier has to go with it: setuptools rejects a classifier alongside a +license expression. + +Upstream-Status: To upstream [not yet submitted; which third-party licences the wheel should carry depends on the platform's own vendored closure, so it needs a maintainer discussion rather than a drive-by PR] +--- + pypi/pyproject.toml | 6 ++---- + 1 file changed, 2 insertions(+), 4 deletions(-) + +diff --git a/pypi/pyproject.toml b/pypi/pyproject.toml +index 1111111..2222222 100644 +--- a/pypi/pyproject.toml ++++ b/pypi/pyproject.toml +@@ -9,10 +9,8 @@ description = "Python wrapper for Open CASCADE Technology 3D geometry library ba + authors = [{ name = "Bernhard Walter" }] + requires-python = ">=3.11,<3.15" + readme = "README.md" +-license = { text = "Apache-2.0" } +-classifiers = [ +- "License :: OSI Approved :: Apache Software License", +-] ++license = "Apache-2.0" ++license-files = ["LICENSE*"] + dependencies = ["cadquery-ocp-proxy==0.0.0.0"] + + [tool.setuptools] +-- +2.51.0