From f8508e6c48b37641bfc273f7a6460999709097d6 Mon Sep 17 00:00:00 2001 From: "Ryan M. Richard" Date: Wed, 7 Oct 2026 11:37:25 -0500 Subject: [PATCH 1/2] refactor to break SCF dependency loop --- pyproject.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index cd450b4f..6971e498 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,6 +16,13 @@ requires = [ "scikit-build-core>=0.10", "setuptools-scm>=8", + # Ecosystem packages this build resolves from installed wheels rather + # than fetching from git master, so the wheel links against exactly the + # binaries users get at runtime and ships only its own files. Mirror + # [project].dependencies; leave the floors unbounded so the newest + # release is always resolved. + "nwchemex-nwxcmake>=0.1.0", + "nwchemex-simde>=0.0.77", ] build-backend = "scikit_build_core.build" @@ -41,6 +48,11 @@ dev = ["pytest", "pre-commit", "requests"] metadata.version.provider = "scikit_build_core.metadata.setuptools_scm" # All installed content comes from the CMake install; no pure-Python packages. wheel.packages = [] +# Ship only this project's own install rules ("chemcache") plus third-party +# dependencies this build had to fetch itself ("Unspecified", CMake's default +# component). Ecosystem dependencies are resolved from their own wheels, and +# their files belong to those wheels. +install.components = ["chemcache", "Unspecified"] build-dir = "build" [tool.setuptools_scm] From 0d8f7fd6aba011d268ace2677b3270b839a77956 Mon Sep 17 00:00:00 2001 From: "Ryan M. Richard" Date: Wed, 7 Oct 2026 12:21:20 -0500 Subject: [PATCH 2/2] make docs use wheel --- .github/workflows/merge.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/merge.yaml b/.github/workflows/merge.yaml index 71045ca6..c05ee084 100644 --- a/.github/workflows/merge.yaml +++ b/.github/workflows/merge.yaml @@ -26,10 +26,12 @@ jobs: secrets: inherit deploy_nwx_docs: + needs: [build_pypi_dist] uses: NWChemEx/.github/.github/workflows/deploy_nwx_docs.yaml@master with: doc_target: "chemcache_cxx_api" generate_module_docs: true + wheel_artifact_name: dist-ubuntu-latest secrets: inherit platform_matrix: