Skip to content

Resolve conda-build’s dependency analysis warnings#2772

Open
antonwolfy wants to merge 8 commits into
masterfrom
resolve-conda-build-warnings
Open

Resolve conda-build’s dependency analysis warnings#2772
antonwolfy wants to merge 8 commits into
masterfrom
resolve-conda-build-warnings

Conversation

@antonwolfy

@antonwolfy antonwolfy commented Feb 16, 2026

Copy link
Copy Markdown
Contributor

The conda-build's post-build dependency analysis was emitting a number of warnings on every package build (both Linux and Windows). This PR resolves them — partly by adding genuinely-missing run dependencies, and partly by silencing the
false positives that come from conda-build's static scan being unable to see header-only usage and runtime (RPATH / add_dll_directory) library resolution.

No runtime behavior changes; this is a conda recipe / CI hygiene change.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?

@antonwolfy antonwolfy added this to the 0.20.0 release milestone Feb 16, 2026
@antonwolfy antonwolfy self-assigned this Feb 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

View rendered docs @ https://intelpython.github.io/dpnp/pull/2772/index.html

@github-actions

github-actions Bot commented Feb 16, 2026

Copy link
Copy Markdown
Contributor

Array API standard conformance tests for dpnp=0.21.0dev2=py313h509198e_30 ran successfully.
Passed: 1374
Failed: 1
Skipped: 5

@coveralls

coveralls commented Feb 16, 2026

Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 78.109% (-0.002%) from 78.111% — resolve-conda-build-warnings into master

@antonwolfy antonwolfy force-pushed the resolve-conda-build-warnings branch from 9df6735 to 9e44657 Compare February 17, 2026 12:21
@antonwolfy antonwolfy force-pushed the resolve-conda-build-warnings branch from 9e44657 to c1a8aab Compare July 9, 2026 11:36
NumPy and Python enter `run` via auto-injected run_exports (numpy is in
host via build-system.requires; python is the interpreter). dpnp uses
them only through C headers and the stable NumPy C-API at build time, so
those ABI pins scan as unused "overdepends". The real runtime deps stay
as the explicit numpy/python lines under requirements/run.
The libDPCTLSyclInterface.so is dynamically linked but resolved at runtime via
a relative RPATH into the dpctl package's directory, so conda-build's
overlinking scan cannot attribute it to a package. dpctl is guaranteed to
be installed by the explicit pin_compatible('dpctl', ...) run dependency.
@antonwolfy antonwolfy marked this pull request as ready for review July 9, 2026 17:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants