Skip to content

Conversation

antonwolfy
Copy link
Contributor

@antonwolfy antonwolfy commented Sep 19, 2025

The PR excludes running scipy relating tests from the scope, because there is the scipy import issue:

  File "/home/runner/miniconda3/envs/test/lib/python3.9/site-packages/dpctl/__init__.py", line 51, in <module>
    from ._sycl_queue import (
  File "dpctl/_sycl_queue.pyx", line 1, in init dpctl._sycl_queue
  File "/home/runner/miniconda3/envs/test/lib/python3.9/site-packages/dpctl/memory/__init__.py", line 31, in <module>
    from ._memory import (
  File "dpctl/memory/_memory.pyx", line 69, in init dpctl.memory._memory
  File "/home/runner/miniconda3/envs/test/lib/python3.9/site-packages/numpy/__init__.py", line 155, in <module>
    from . import fft
  File "/home/runner/miniconda3/envs/test/lib/python3.9/site-packages/numpy/fft/__init__.py", line 215, in <module>
    import mkl_fft.interfaces.numpy_fft as _nfft
  File "/home/runner/miniconda3/envs/test/lib/python3.9/site-packages/mkl_fft/__init__.py", line 45, in <module>
    import mkl_fft.interfaces  # isort: skip
  File "/home/runner/miniconda3/envs/test/lib/python3.9/site-packages/mkl_fft/interfaces/__init__.py", line 29, in <module>
    import scipy.fft
  File "/home/runner/miniconda3/envs/test/lib/python3.9/site-packages/scipy/__init__.py", line 110, in <module>
    __all__.remove('linalg')
ValueError: list.remove(x): x not in list

when installing the packages from https://software.repos.intel.com/python/conda/ channel.

The support of python 3.9 for scipy was stopped to upload there for a long time ago and the latest available is scipy 1.8.1 which is too old and has the import issue.

  • 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?

Copy link
Contributor

github-actions bot commented Sep 19, 2025

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

Copy link
Contributor

github-actions bot commented Sep 19, 2025

Array API standard conformance tests for dpnp=0.19.0dev4=py313h509198e_7 ran successfully.
Passed: 1227
Failed: 0
Skipped: 9

@coveralls
Copy link
Collaborator

Coverage Status

coverage: 71.78%. remained the same
when pulling 9da19ab on exclude-scipy-from-testing-with-python-3.9
into b93b328 on master.

Copy link
Collaborator

@vlad-perevezentsev vlad-perevezentsev left a comment

Choose a reason for hiding this comment

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

LGTM
Thank you @antonwolfy

@antonwolfy antonwolfy merged commit 66b9b3b into master Sep 22, 2025
110 of 116 checks passed
@antonwolfy antonwolfy deleted the exclude-scipy-from-testing-with-python-3.9 branch September 22, 2025 09:12
github-actions bot added a commit that referenced this pull request Sep 22, 2025
The PR excludes running scipy relating tests from the scope, because
there is the scipy import issue:
```bash
  File "/home/runner/miniconda3/envs/test/lib/python3.9/site-packages/dpctl/__init__.py", line 51, in <module>
    from ._sycl_queue import (
  File "dpctl/_sycl_queue.pyx", line 1, in init dpctl._sycl_queue
  File "/home/runner/miniconda3/envs/test/lib/python3.9/site-packages/dpctl/memory/__init__.py", line 31, in <module>
    from ._memory import (
  File "dpctl/memory/_memory.pyx", line 69, in init dpctl.memory._memory
  File "/home/runner/miniconda3/envs/test/lib/python3.9/site-packages/numpy/__init__.py", line 155, in <module>
    from . import fft
  File "/home/runner/miniconda3/envs/test/lib/python3.9/site-packages/numpy/fft/__init__.py", line 215, in <module>
    import mkl_fft.interfaces.numpy_fft as _nfft
  File "/home/runner/miniconda3/envs/test/lib/python3.9/site-packages/mkl_fft/__init__.py", line 45, in <module>
    import mkl_fft.interfaces  # isort: skip
  File "/home/runner/miniconda3/envs/test/lib/python3.9/site-packages/mkl_fft/interfaces/__init__.py", line 29, in <module>
    import scipy.fft
  File "/home/runner/miniconda3/envs/test/lib/python3.9/site-packages/scipy/__init__.py", line 110, in <module>
    __all__.remove('linalg')
ValueError: list.remove(x): x not in list
```
when installing the packages from
`https://software.repos.intel.com/python/conda/` channel.

The support of python 3.9 for scipy was stopped to upload there for a
long time ago and the latest available is scipy 1.8.1 which is too old
and has the import issue. 66b9b3b
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.

3 participants