diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..13e466a --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,3 @@ +* @oleksandr-pavlyk +* @ekomarova +* @xaleryb diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..5ace460 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index 2abcbb7..7576112 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -18,7 +18,7 @@ jobs: matrix: python: ["3.9", "3.10", "3.11", "3.12"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.1.7 with: fetch-depth: 0 @@ -43,7 +43,7 @@ jobs: run: conda install conda-build - name: Build conda package run: | - CHANNELS="-c conda-forge -c intel --override-channels" + CHANNELS="-c conda-forge -c https://software.repos.intel.com/python/conda --override-channels" VERSIONS="--python ${{ matrix.python }}" TEST="--no-test" @@ -53,13 +53,13 @@ jobs: $CHANNELS \ conda-recipe - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v4.4.0 with: name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }} path: /usr/share/miniconda/conda-bld/linux-64/${{ env.PACKAGE_NAME }}-*.tar.bz2 build_windows: - runs-on: windows-latest + runs-on: windows-2019 strategy: matrix: @@ -67,7 +67,7 @@ jobs: env: conda-bld: C:\Miniconda\conda-bld\win-64\ steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v4.1.7 with: fetch-depth: 0 - uses: conda-incubator/setup-miniconda@v3 @@ -89,9 +89,9 @@ jobs: - name: Install conda-build run: conda install conda-build - name: Build conda package - run: conda build --no-test --python ${{ matrix.python }} -c intel -c conda-forge --override-channels conda-recipe + run: conda build --no-test --python ${{ matrix.python }} -c https://software.repos.intel.com/python/conda -c conda-forge --override-channels conda-recipe - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v4.4.0 with: name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }} path: ${{ env.conda-bld }}${{ env.PACKAGE_NAME }}-*.tar.bz2 @@ -107,7 +107,7 @@ jobs: runner: [ubuntu-latest] continue-on-error: ${{ matrix.experimental }} env: - CHANNELS: -c conda-forge -c intel --override-channels + CHANNELS: -c conda-forge -c https://software.repos.intel.com/python/conda --override-channels steps: - name: Download artifact @@ -171,10 +171,10 @@ jobs: matrix: python: ['3.9', '3.10', '3.11', '3.12'] experimental: [false] - runner: [windows-latest] + runner: [windows-2019] continue-on-error: ${{ matrix.experimental }} env: - CHANNELS: -c conda-forge -c intel --override-channels + CHANNELS: -c conda-forge -c https://software.repos.intel.com/python/conda --override-channels steps: - name: Download artifact diff --git a/conda-recipe/bld.bat b/conda-recipe/bld.bat index 1714351..34cc92b 100644 --- a/conda-recipe/bld.bat +++ b/conda-recipe/bld.bat @@ -2,5 +2,5 @@ @rem Remember to activate compiler, if needed set MKLROOT=%CONDA_PREFIX% -%PYTHON% setup.py build --force install --old-and-unmanageable +%PYTHON% setup.py install if errorlevel 1 exit 1 diff --git a/conda-recipe/build.sh b/conda-recipe/build.sh index f532785..80a06a9 100644 --- a/conda-recipe/build.sh +++ b/conda-recipe/build.sh @@ -2,4 +2,4 @@ # make sure that compiler has been sourced, if necessary -MKLROOT=$CONDA_PREFIX $PYTHON setup.py build --force install --old-and-unmanageable +MKLROOT=$CONDA_PREFIX $PYTHON setup.py install