diff --git a/.github/workflows/check-mkl-interfaces.yaml b/.github/workflows/check-mkl-interfaces.yaml index 791f4c59e1b8..3ee687bf5d47 100644 --- a/.github/workflows/check-mkl-interfaces.yaml +++ b/.github/workflows/check-mkl-interfaces.yaml @@ -32,7 +32,7 @@ jobs: strategy: matrix: - python: ['3.12'] + python: ['3.13'] os: [ubuntu-22.04] # windows-2019 - no DFT support for Windows in oneMKL permissions: @@ -125,7 +125,7 @@ jobs: strategy: matrix: - python: ['3.12'] + python: ['3.13'] os: [ubuntu-22.04] # windows-2019 - no DFT support for Windows in oneMKL permissions: diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index d0086d60ec04..23ed4fe904e1 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -13,6 +13,7 @@ env: # Follow oneAPI installation instruction for conda, since intel channel is not longer available # CHANNELS: '-c dppy/label/dev -c intel -c conda-forge --override-channels' CHANNELS: '-c dppy/label/dev -c https://software.repos.intel.com/python/conda/ -c conda-forge --override-channels' + CONDA_BUILD_INDEX_ENV_PY_VER: '3.12' # conda does not support python 3.13 CONDA_BUILD_VERSION: '24.11.2' CONDA_INDEX_VERSION: '0.5.0' RERUN_TESTS_ON_FAILURE: 'true' @@ -28,7 +29,7 @@ jobs: strategy: matrix: - python: ['3.9', '3.10', '3.11', '3.12'] + python: ['3.9', '3.10', '3.11', '3.12', '3.13'] os: [ubuntu-22.04, windows-2019] permissions: @@ -61,7 +62,7 @@ jobs: use-mamba: 'true' channels: conda-forge conda-remove-defaults: 'true' - python-version: ${{ matrix.python }} + python-version: ${{ env.CONDA_BUILD_INDEX_ENV_PY_VER}} activate-environment: 'build' # Sometimes `mamba install ...` fails due to slow download speed rate, so disable the check in mamba @@ -107,7 +108,7 @@ jobs: strategy: matrix: - python: ['3.9', '3.10', '3.11', '3.12'] + python: ['3.9', '3.10', '3.11', '3.12', '3.13'] continue-on-error: true @@ -136,7 +137,7 @@ jobs: use-mamba: 'true' channels: conda-forge conda-remove-defaults: 'true' - python-version: ${{ matrix.python }} + python-version: ${{ env.CONDA_BUILD_INDEX_ENV_PY_VER}} activate-environment: ${{ env.TEST_ENV_NAME }} - name: Install conda-index @@ -158,8 +159,13 @@ jobs: echo PACKAGE_VERSION=${PACKAGE_VERSION} echo "PACKAGE_VERSION=$PACKAGE_VERSION" >> $GITHUB_ENV + # conda-index does not support python 3.13 + - name: Remove conda-index + run: mamba remove conda-index + - name: Install dpnp - run: mamba install ${{ env.PACKAGE_NAME }}=${{ env.PACKAGE_VERSION }} pytest python=${{ matrix.python }} ${{ env.TEST_CHANNELS }} + run: | + mamba install ${{ env.PACKAGE_NAME }}=${{ env.PACKAGE_VERSION }} pytest python=${{ matrix.python }} ${{ env.TEST_CHANNELS }} env: TEST_CHANNELS: '-c ${{ env.channel-path }} ${{ env.CHANNELS }}' MAMBA_NO_LOW_SPEED_LIMIT: 1 @@ -205,7 +211,7 @@ jobs: strategy: matrix: - python: ['3.9', '3.10', '3.11', '3.12'] + python: ['3.9', '3.10', '3.11', '3.12', '3.13'] continue-on-error: true @@ -244,7 +250,7 @@ jobs: use-mamba: 'true' channels: conda-forge conda-remove-defaults: 'true' - python-version: ${{ matrix.python }} + python-version: ${{ env.CONDA_BUILD_INDEX_ENV_PY_VER}} activate-environment: ${{ env.TEST_ENV_NAME }} - name: Store conda paths as envs @@ -279,6 +285,10 @@ jobs: echo PACKAGE_VERSION: %PACKAGE_VERSION% (echo PACKAGE_VERSION=%PACKAGE_VERSION%) >> %GITHUB_ENV% + # conda-index does not support python 3.13 + - name: Remove conda-index + run: mamba remove conda-index + - name: Install dpnp run: | @echo on @@ -331,7 +341,7 @@ jobs: strategy: matrix: - python: ['3.9', '3.10', '3.11', '3.12'] + python: ['3.9', '3.10', '3.11', '3.12', '3.13'] os: [ubuntu-22.04, windows-2019] runs-on: ${{ matrix.os }} @@ -406,7 +416,7 @@ jobs: channels: conda-forge conda-remove-defaults: 'true' run-post: 'false' - python-version: '3.12' + python-version: '3.13' activate-environment: 'cleanup' - name: Install anaconda-client diff --git a/.github/workflows/cron-run-tests.yaml b/.github/workflows/cron-run-tests.yaml index 80dd2bf24ab4..8d4d3745ee02 100644 --- a/.github/workflows/cron-run-tests.yaml +++ b/.github/workflows/cron-run-tests.yaml @@ -34,7 +34,7 @@ jobs: strategy: matrix: - python: ['3.9', '3.10', '3.11', '3.12'] + python: ['3.9', '3.10', '3.11', '3.12', '3.13'] runner: [ubuntu-22.04, ubuntu-24.04, windows-2019] continue-on-error: false diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index ee63d0a170ef..59b10427b09c 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -31,7 +31,7 @@ jobs: - name: Set up python uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 with: - python-version: '3.12' + python-version: '3.13' - name: Run pre-commit checks uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 3285fa4604ec..f37930d0c945 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -12,7 +12,7 @@ requirements: host: - python - setuptools - - numpy + - numpy >=1.23 - cython - cmake >=3.21 - ninja diff --git a/setup.py b/setup.py index 7a2c10a16ba7..37c85fd2647d 100644 --- a/setup.py +++ b/setup.py @@ -38,6 +38,7 @@ def _get_cmdclass(): Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 +Programming Language :: Python :: 3.13 Programming Language :: Python :: Implementation :: CPython Topic :: Software Development Topic :: Scientific/Engineering