Skip to content
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
39d2ee9
Move array creation exports from dpnp_iface.py to __init__.py
vlad-perevezentsev Nov 12, 2025
75bfb02
Move binary operations exports from dpnp_iface.py to __init__.py
vlad-perevezentsev Nov 12, 2025
bcb3697
Move couting function exports from dpnp_iface.py to __init__.py
vlad-perevezentsev Nov 12, 2025
ca4e526
Move functional function exports from dpnp_iface.py to __init__.py
vlad-perevezentsev Nov 12, 2025
804098f
Move histogram function exports from dpnp_iface.py to __init__.py
vlad-perevezentsev Nov 12, 2025
36c9173
Move indexing function exports from dpnp_iface.py to __init__.py
vlad-perevezentsev Nov 12, 2025
f20bdc5
Move linear algebra function exports from dpnp_iface.py to __init__.py
vlad-perevezentsev Nov 12, 2025
bebfc84
Move logic function exports from dpnp_iface.py to __init__.py
vlad-perevezentsev Nov 12, 2025
defce44
Move manipulation function exports from dpnp_iface.py to __init__.py
vlad-perevezentsev Nov 12, 2025
9914214
Move mathematical function exports from dpnp_iface.py to __init__.py
vlad-perevezentsev Nov 12, 2025
c152d7b
Move nan function exports from dpnp_iface.py to __init__.py
vlad-perevezentsev Nov 12, 2025
6d58414
Move searching function exports from dpnp_iface.py to __init__.py
vlad-perevezentsev Nov 12, 2025
fbb7b82
Move sorting function exports from dpnp_iface.py to __init__.py
vlad-perevezentsev Nov 12, 2025
a92158a
Move statistics function exports from dpnp_iface.py to __init__.py
vlad-perevezentsev Nov 12, 2025
9c96ced
Move trigonometric function exports from dpnp_iface.py to __init__.py
vlad-perevezentsev Nov 12, 2025
490c4ef
Move window function exports from dpnp_iface.py to __init__.py
vlad-perevezentsev Nov 12, 2025
68affb3
Merge master into refactor_public_api_exports
vlad-perevezentsev Nov 12, 2025
47d599e
Remove wildcard import dpnp_algo in dpnp_iface.py
vlad-perevezentsev Nov 12, 2025
382f144
Move dpnp_iface exports to __init__.py
vlad-perevezentsev Nov 12, 2025
b5d8308
Merge master into refactor_public_api_exports
vlad-perevezentsev Nov 13, 2025
80ea4fb
Remove unnecessary pylint disables
vlad-perevezentsev Nov 13, 2025
1ee5b5a
Return no-name-in-module pylint disable
vlad-perevezentsev Nov 13, 2025
7cbc63a
Remove __all__ from dpnp_array_api_info.py
vlad-perevezentsev Nov 14, 2025
b8a4b73
Unify type exports in __init__.py and remove wildcard import
vlad-perevezentsev Nov 14, 2025
57fb9f3
Unify byte_bounds() export in __init__.py and remove wildcard import
vlad-perevezentsev Nov 14, 2025
723e2c1
Update changelog
vlad-perevezentsev Nov 14, 2025
3ee2076
Apply remarks
vlad-perevezentsev Nov 18, 2025
ebf3431
Remove pylint no-member disable
vlad-perevezentsev Nov 18, 2025
a9c5398
Add explicit __all__ exports to dpnp/__init__.py
vlad-perevezentsev Nov 18, 2025
bcb399f
Merge master into refactor_public_api_exports
vlad-perevezentsev Nov 18, 2025
1f3060e
Merge refactor_public_api_exports into clean_init_exports
vlad-perevezentsev Nov 18, 2025
21f9837
Expand __all__ in relation to new changes
vlad-perevezentsev Nov 18, 2025
afaf007
Apply remarks
vlad-perevezentsev Nov 18, 2025
244721b
Remove obsolete pre-commit disables
vlad-perevezentsev Nov 18, 2025
2bbd6de
Revert E501 flake ignore
vlad-perevezentsev Nov 18, 2025
7971b3b
Move is_type_supported() to dpnp_iface_random.py and remove from publ…
vlad-perevezentsev Nov 18, 2025
d591a57
Merge master into clean_init_exports
vlad-perevezentsev Dec 17, 2025
e17f107
Move flatiter import to indexing section
vlad-perevezentsev Dec 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Also, that release drops support for Python 3.9, making Python 3.10 the minimum
* Redesigned `dpnp.modf` function to be a part of `ufunc` and `vm` pybind11 extensions [#2654](https://github.com/IntelPython/dpnp/pull/2654)
* Refactored `dpnp.fft` and `dpnp.random` submodules by removing wildcard imports and defining explicit public exports [#2649](https://github.com/IntelPython/dpnp/pull/2649)
* Added support for the `out` keyword to accept a tuple, bringing ufunc signatures into alignment with those in NumPy [#2664](https://github.com/IntelPython/dpnp/pull/2664)
* Unified `dpnp` public API exports by consolidating function exports in `__init__.py` and removing wildcard imports [#2665](https://github.com/IntelPython/dpnp/pull/2665) [#2666](https://github.com/IntelPython/dpnp/pull/2666)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we remove "--disable=c-extension-no-member" from .pre-commit-config.yaml now?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And E501 skipping in .flake8

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably you meant F403 : ‘from module import *’ used
Since some files that are to be removed in the future still contain wildcard imports I would prefer not to change flake8 config

dpnp/dpnp_algo/__init__.py:29:1: F403 'from dpnp.dpnp_algo.dpnp_algo import *' used; unable to detect undefined names
from dpnp.dpnp_algo.dpnp_algo import *
^
dpnp/dpnp_utils/__init__.py:29:1: F403 'from dpnp.dpnp_utils.dpnp_algo_utils import *' used; unable to detect undefined names
from dpnp.dpnp_utils.dpnp_algo_utils import *
^
dpnp/random/dpnp_iface_random.py:44:1: F403 'from dpnp.dpnp_algo import *' used; unable to detect undefined names
from dpnp.dpnp_algo import *
^
dpnp/random/dpnp_iface_random.py:45:1: F403 'from dpnp.dpnp_utils import *' used; unable to detect undefined names
from dpnp.dpnp_utils import *
^
dpnp/random/dpnp_iface_random.py:47:1: F403 'from .dpnp_algo_random import *' used; unable to detect undefined names
from .dpnp_algo_random import *
^
5     F403 'from dpnp.dpnp_algo.dpnp_algo import *' used; unable to detect undefined names
5

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm fine to remove that in the follow up PR


### Deprecated

Expand Down
Loading
Loading