diff --git a/.github/workflows/build-protobuf-py-ext.yml b/.github/workflows/build-protobuf-py-ext.yml index 698a5f4af79f..6ec46811ac9a 100644 --- a/.github/workflows/build-protobuf-py-ext.yml +++ b/.github/workflows/build-protobuf-py-ext.yml @@ -90,7 +90,10 @@ jobs: # in this monorepo is packages/protobuf-py-ext/ -- so upstream's # published wheels carry no licence text at all, only the # License-Expression classifier. - run: cp LICENSE packages/protobuf-py-ext/ + # Newer releases already link the root LICENSE into the package directory, + # where cp refuses to copy a file onto itself. + run: | + [ LICENSE -ef packages/protobuf-py-ext/LICENSE ] || cp LICENSE packages/protobuf-py-ext/ - name: Stage the riscv64 smoke tests # Upstream's own tests/ directory exercises protobuf-py-ext only through diff --git a/docs/packages/protobuf-py-ext.yaml b/docs/packages/protobuf-py-ext.yaml index 0ea172419ec4..46bae77bf9ba 100644 --- a/docs/packages/protobuf-py-ext.yaml +++ b/docs/packages/protobuf-py-ext.yaml @@ -41,3 +41,4 @@ versions: - filename: protobuf_py_ext-0.6.0-cp314-cp314t-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl sha256: 7c8fe282a36a9e14ee91680e555b89dc47236c249045d2c50b8afecfa1074052 requires-python: '>=3.10' +- version: 0.7.0