Skip to content

Pin conda-build to latest version (24.1.2) #1721

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 19, 2024
Merged
Changes from all commits
Commits
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
21 changes: 12 additions & 9 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ env:
PACKAGE_NAME: dpnp
MODULE_NAME: dpnp
CHANNELS: '-c dppy/label/dev -c intel -c conda-forge --override-channels'
CONDA_BUILD_VERSION: '24.1.2'
CONDA_INDEX_VERSION: '0.4.0'
# TODO: to add test_arraymanipulation.py back to the scope once crash on Windows is gone
TEST_SCOPE: >-
test_arraycreation.py
Expand Down Expand Up @@ -102,7 +104,7 @@ jobs:
(echo CONDA_BLD=%CONDA_PREFIX%\conda-bld\win-64\) >> %GITHUB_ENV%

- name: Install conda-build
run: conda install conda-build=3.28.4
run: conda install conda-build=${{ env.CONDA_BUILD_VERSION}}

- name: Cache conda packages
uses: actions/cache@13aacd865c20de90d75de3b17ebe84f7a17d57d2 # v4.0.0
Expand Down Expand Up @@ -171,12 +173,12 @@ jobs:
miniconda-version: 'latest'
activate-environment: 'test'

# Needed to be able to run conda index
- name: Install conda-build
run: conda install conda-build=3.28.4
- name: Install conda-index
run: conda install conda-index=${{ env.CONDA_INDEX_VERSION}}

- name: Create conda channel
run: conda index ${{ env.channel-path }}
run: |
python -m conda_index ${{ env.channel-path }}

- name: Test conda channel
run: |
Expand Down Expand Up @@ -287,12 +289,13 @@ jobs:
(echo CONDA_LIB_PATH=%CONDA_PREFIX%\Library\lib\) >> %GITHUB_ENV%
(echo CONDA_LIB_BIN_PATH=%CONDA_PREFIX%\Library\bin\) >> %GITHUB_ENV%

# Needed to be able to run conda index
- name: Install conda-build
run: conda install conda-build=3.28.4
- name: Install conda-index
run: conda install conda-index=${{ env.CONDA_INDEX_VERSION}}

- name: Create conda channel
run: conda index ${{ env.channel-path }}
run: |
@echo on
python -m conda_index ${{ env.channel-path }}

- name: Test conda channel
run: |
Expand Down