From c5f5689c8cfcd90599dde6c52140228efa9ed365 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 9 Nov 2026 15:30:44 +0000 Subject: [PATCH 1/2] Bump the version to 2.2.0 2.2.0 carries the R NNS 14.0 bit-level parity work merged in #193. The version moves together in pyproject.toml, nns.__version__, the README's current-version row and the uv.lock entry for the project, as scripts/check_version_consistency.py requires. The release provenance in sync/nns_source.json already records R 14.0 (r_commit 7b07a837), so a v2.2.0 tag passes scripts/check_release_provenance.py. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Wws6NpuQ72C5sfEYVoVmGt --- README.md | 2 +- pyproject.toml | 2 +- src/nns/__init__.py | 2 +- uv.lock | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 392f4c11..5e2ffb69 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ native and does not call R at runtime. |---|---| | Distribution package | `ovvo-nns` | | Import package | `nns` | -| Current version | `2.1.0` | +| Current version | `2.2.0` | | Python | `>=3.11` | | Required runtime dependencies | NumPy, SciPy, Matplotlib | | R required at runtime | No | diff --git a/pyproject.toml b/pyproject.toml index 6bbba9a0..3c3b9b60 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "ovvo-nns" -version = "2.1.0" +version = "2.2.0" description = "Python port of nonlinear nonparametric statistics from R NNS" readme = "README.md" requires-python = ">=3.11" diff --git a/src/nns/__init__.py b/src/nns/__init__.py index 8eecdfa1..85752921 100644 --- a/src/nns/__init__.py +++ b/src/nns/__init__.py @@ -4,7 +4,7 @@ from nns.pm_matrix import pm_matrix as pm_matrix -__version__ = "2.1.0" +__version__ = "2.2.0" _EXPORTS = { "BoostResult": ("nns.boost", "BoostResult"), diff --git a/uv.lock b/uv.lock index 4c70d886..30ee8cbe 100644 --- a/uv.lock +++ b/uv.lock @@ -1167,7 +1167,7 @@ wheels = [ [[package]] name = "ovvo-nns" -version = "2.1.0" +version = "2.2.0" source = { editable = "." } dependencies = [ { name = "matplotlib" }, From b8bce52285d073e631178566e39924f3972d944a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 9 Nov 2026 15:31:20 +0000 Subject: [PATCH 2/2] Restore protected workflow baseline --- .github/workflows/r14-reproduction.yml | 72 -------------------------- 1 file changed, 72 deletions(-) delete mode 100644 .github/workflows/r14-reproduction.yml diff --git a/.github/workflows/r14-reproduction.yml b/.github/workflows/r14-reproduction.yml deleted file mode 100644 index 75bc6e30..00000000 --- a/.github/workflows/r14-reproduction.yml +++ /dev/null @@ -1,72 +0,0 @@ -name: R14 parity reproduction bundle - -on: - workflow_dispatch: - push: - branches: [automation/r14-stack-cache-20261106] - paths: [.github/workflows/r14-reproduction.yml] - -permissions: - contents: read - -jobs: - bundle: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 - with: - python-version: '3.13' - - name: Archive tracked source and pinned R package - shell: bash - run: | - set -euo pipefail - mkdir -p reproduction/wheels - git archive --format=tar.gz --output=reproduction/python-source.tar.gz HEAD - git rev-parse HEAD > reproduction/python-commit.txt - curl --fail --location --retry 3 \ - https://raw.githubusercontent.com/OVVO-Financial/NNS/7b07a837c130ba7220dbe16c584221508757d5ae/NNS_14.0.tar.gz \ - --output reproduction/NNS_14.0.tar.gz - sha256sum reproduction/*.tar.gz > reproduction/SHA256SUMS - python -m pip download --only-binary=:all: --dest reproduction/wheels \ - hypothesis pytest-benchmark pytest-xdist nanobind scikit-build-core ruff mypy - - uses: actions/upload-artifact@v4 - with: - name: r14-reproduction-source - path: reproduction/ - retention-days: 7 - if-no-files-found: error - - oracle-runtime: - runs-on: ubuntu-latest - container: debian:trixie - steps: - - name: Build exact R source oracle - shell: bash - run: | - set -euo pipefail - apt-get update -qq - DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ - ca-certificates curl r-base-core r-base-dev r-cran-rcpp \ - r-cran-rcppparallel r-cran-jsonlite r-cran-mass r-cran-mlbench - curl --fail --location --retry 3 \ - https://raw.githubusercontent.com/OVVO-Financial/NNS/7b07a837c130ba7220dbe16c584221508757d5ae/NNS_14.0.tar.gz \ - --output /tmp/NNS_14.0.tar.gz - echo '5060f6ec426c889501740bf8a585d41f37a746554cb6fdf81f301ca41232cd5b /tmp/NNS_14.0.tar.gz' | sha256sum -c - - MAKEFLAGS=-j2 R CMD INSTALL /tmp/NNS_14.0.tar.gz - mkdir -p oracle-runtime/dependent-libraries - Rscript -e 'library(NNS); stopifnot(packageVersion("NNS") == "14.0"); sessionInfo()' > oracle-runtime/session-info.txt - find /usr/lib/R /usr/local/lib/R -name '*.so' -print0 | \ - xargs -0 -r ldd 2>/dev/null | awk '/=> \/.* \(/{print $3}' | sort -u > oracle-runtime/library-paths.txt - while IFS= read -r lib; do - cp -L "${lib}" oracle-runtime/dependent-libraries/ - done < oracle-runtime/library-paths.txt - tar -h -C / -czf oracle-runtime/r14-runtime.tar.gz \ - usr/bin/R usr/bin/Rscript usr/lib/R usr/share/R etc/R usr/local/lib/R - sha256sum oracle-runtime/r14-runtime.tar.gz > oracle-runtime/SHA256SUMS - - uses: actions/upload-artifact@v4 - with: - name: r14-executable-oracle-debian13 - path: oracle-runtime/ - retention-days: 7 - if-no-files-found: error