• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IntelPython / dpnp / 40004195584
83%

Build:
DEFAULT BRANCH: master
Ran 23 Oct 2026 08:12PM UTC
Jobs 1
Files 271
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

23 Oct 2026 06:32PM UTC coverage: 82.627% (+0.007%) from 82.62%
40004195584

push

github

web-flow
Deprecate unused `dpnp.config` settings (#3107)

`dpnp.config` defines `__DPNP_QUEUE_GPU__`, `__DPNP_OUTPUT_NUMPY__` and
`__DPNP_OUTPUT_DPCTL_DEFAULT_SHARED__`, read from the `DPNP_QUEUE_GPU`,
`DPNP_OUTPUT_NUMPY` and `DPNP_OUTPUT_DPCTL_DEFAULT_SHARED` environment
variables, but nothing in dpnp uses them, so setting those variables has
no effect.

This PR deprecates the three attributes before removing them: they are
no longer module attributes but are served by a module-level
`__getattr__`, which returns the same value as before (still read from
the environment at import) and emits a `DeprecationWarning`:
```
`dpnp.config.__DPNP_OUTPUT_NUMPY__` is deprecated, and will be removed in a future release. It has no effect.
```
Any other unknown name still raises `AttributeError`. They can be
removed in a future release by deleting `_DEPRECATED_SETTINGS` and
`__getattr__`.

`__DPNP_ORIGIN__` and `__DPNP_RAISE_EXCEPION_ON_NUMPY_FALLBACK__` are
still used and are not changed. The test suite's own use of the
`DPNP_QUEUE_GPU` environment variable, which `dpnp/tests/conftest.py`
reads directly to pick the GPU skip list, is not affected.

The new `dpnp/tests/test_config.py` checks that each deprecated
attribute warns and returns its value, and that an unknown name raises
`AttributeError`. Importing `dpnp` emits no warning, and the warning
points at the caller's line.

1604 of 2994 branches covered (53.57%)

Branch coverage included in aggregate %.

21 of 21 new or added lines in 1 file covered. (100.0%)

29419 of 34552 relevant lines covered (85.14%)

17681.42 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40004195584.1 23 Oct 2026 08:12PM UTC 271
82.63
GitHub Action Run
Source Files on build 40004195584
  • Tree
  • List 271
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #40004195584
  • ea74566d on github
  • Prev Build on master (#39993054521)
  • Next Build on master (#40091187048)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc