diff --git a/.github/workflows/cron-run-tests.yaml b/.github/workflows/cron-run-tests.yaml index bd42b278a1bc..367267079c27 100644 --- a/.github/workflows/cron-run-tests.yaml +++ b/.github/workflows/cron-run-tests.yaml @@ -39,6 +39,16 @@ jobs: matrix: python: ['3.9', '3.10', '3.11', '3.12', '3.13'] runner: [ubuntu-22.04, ubuntu-24.04, windows-2022] + include: + - python: 3.9 + # do not install scipy due to import issue + test-packages: "pytest" + - python: 3.10 + test-packages: "pytest scipy" + - python: 3.11 + test-packages: "pytest scipy" + - python: 3.12 + test-packages: "pytest scipy" steps: - name: Cancel Previous Runs @@ -84,12 +94,12 @@ jobs: id: install_dpnp continue-on-error: true run: | - mamba install ${{ env.package-name }}=${{ steps.find_latest_tag.outputs.tag }} pytest scipy ${{ env.channels-list }} + mamba install ${{ env.package-name }}=${{ steps.find_latest_tag.outputs.tag }} ${{ matrix.test-packages }} ${{ env.channels-list }} - name: ReInstall dpnp if: steps.install_dpnp.outcome == 'failure' run: | - mamba install ${{ env.package-name }}=${{ steps.find_latest_tag.outputs.tag }} pytest scipy ${{ env.channels-list }} + mamba install ${{ env.package-name }}=${{ steps.find_latest_tag.outputs.tag }} ${{ matrix.test-packages }} ${{ env.channels-list }} - name: List installed packages run: mamba list diff --git a/CHANGELOG.md b/CHANGELOG.md index e2bf08ff9af8..c26940d11067 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -61,6 +61,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Resolved issue when `dpnp.ndarray` constructor is called with `dpnp.ndarray.data` as `buffer` keyword [#2533](https://github.com/IntelPython/dpnp/pull/2533) * Fixed `dpnp.linalg.cond` to always return a real dtype [#2547](https://github.com/IntelPython/dpnp/pull/2547) * Resolved the issue in `dpnp.random` functions to allow any value of `size` where each element is castable to `Py_ssize_t` type [#2578](https://github.com/IntelPython/dpnp/pull/2578) +* Resolved `conda build --test` issue in python 3.9 environment [#2583](https://github.com/IntelPython/dpnp/pull/2583) ### Security diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 8be4b53e60e5..d3aef836fe1d 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -63,7 +63,7 @@ test: requires: - pytest - setuptools - - scipy + - scipy # [py>39] about: home: https://github.com/IntelPython/dpnp