Skip to content

Commit 54a1716

Browse files
conda-forge-adminconda-forge-webservices[bot]conda-forge-webservices[bot]rwgk
authored
ENH: update package version to 13.3.0 (#191)
* dummy commit for rerendering * ENH: updated version to 13.3.0 & Re-rendered with conda-smithy 3.62.0 and conda-forge-pinning 2026.05.27.05.30.0 * BUG: require cuda-pathfinder 1.5.5 for cuda-bindings cuda-bindings 13.3.0 imports cuda.pathfinder from its PEP 517 build hooks, so cuda-pathfinder must be present in the conda host environment while the wheel is built. Without this host dependency, the feedstock jobs fail during pip install with ModuleNotFoundError before package tests can run. Users also need cuda-pathfinder 1.5.5 at runtime for CUDA 13.3.0 so the CUPTI shared libraries are found correctly. Require >=1.5.5,<2 in both host and run requirements to cover the build backend and the installed cuda-bindings package metadata. Reference: #191 (comment) --------- Co-authored-by: conda-forge-webservices[bot] <121827174+conda-forge-webservices[bot]@users.noreply.github.com> Co-authored-by: conda-forge-webservices[bot] <91080706+conda-forge-webservices[bot]@users.noreply.github.com> Co-authored-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
1 parent 7df9e3f commit 54a1716

6 files changed

Lines changed: 75 additions & 57 deletions

File tree

.azure-pipelines/azure-pipelines-win.yml

Lines changed: 14 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/conda-build.yml

Lines changed: 47 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,72 +28,108 @@ jobs:
2828
os: ubuntu
2929
runs_on: ['ubuntu-latest']
3030
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
31+
tools_install_dir: ~/miniforge3
32+
build_workspace_dir: build_artifacts
33+
docker_run_args:
3134
- CONFIG: linux_64_is_freethreadingfalsepython3.11.____cpython
3235
STORE_BUILD_ARTIFACTS: False
3336
UPLOAD_PACKAGES: True
3437
os: ubuntu
3538
runs_on: ['ubuntu-latest']
3639
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
40+
tools_install_dir: ~/miniforge3
41+
build_workspace_dir: build_artifacts
42+
docker_run_args:
3743
- CONFIG: linux_64_is_freethreadingfalsepython3.12.____cpython
3844
STORE_BUILD_ARTIFACTS: False
3945
UPLOAD_PACKAGES: True
4046
os: ubuntu
4147
runs_on: ['ubuntu-latest']
4248
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
49+
tools_install_dir: ~/miniforge3
50+
build_workspace_dir: build_artifacts
51+
docker_run_args:
4352
- CONFIG: linux_64_is_freethreadingfalsepython3.13.____cp313
4453
STORE_BUILD_ARTIFACTS: False
4554
UPLOAD_PACKAGES: True
4655
os: ubuntu
4756
runs_on: ['ubuntu-latest']
4857
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
58+
tools_install_dir: ~/miniforge3
59+
build_workspace_dir: build_artifacts
60+
docker_run_args:
4961
- CONFIG: linux_64_is_freethreadingfalsepython3.14.____cp314
5062
STORE_BUILD_ARTIFACTS: False
5163
UPLOAD_PACKAGES: True
5264
os: ubuntu
5365
runs_on: ['ubuntu-latest']
5466
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
67+
tools_install_dir: ~/miniforge3
68+
build_workspace_dir: build_artifacts
69+
docker_run_args:
5570
- CONFIG: linux_64_is_freethreadingtruepython3.14.____cp314t
5671
STORE_BUILD_ARTIFACTS: False
5772
UPLOAD_PACKAGES: True
5873
os: ubuntu
5974
runs_on: ['ubuntu-latest']
6075
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
76+
tools_install_dir: ~/miniforge3
77+
build_workspace_dir: build_artifacts
78+
docker_run_args:
6179
- CONFIG: linux_aarch64_is_freethreadingfalsepython3.10.____cpython
6280
STORE_BUILD_ARTIFACTS: False
6381
UPLOAD_PACKAGES: True
6482
os: ubuntu
6583
runs_on: ['ubuntu-latest']
6684
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
85+
tools_install_dir: ~/miniforge3
86+
build_workspace_dir: build_artifacts
87+
docker_run_args:
6788
- CONFIG: linux_aarch64_is_freethreadingfalsepython3.11.____cpython
6889
STORE_BUILD_ARTIFACTS: False
6990
UPLOAD_PACKAGES: True
7091
os: ubuntu
7192
runs_on: ['ubuntu-latest']
7293
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
94+
tools_install_dir: ~/miniforge3
95+
build_workspace_dir: build_artifacts
96+
docker_run_args:
7397
- CONFIG: linux_aarch64_is_freethreadingfalsepython3.12.____cpython
7498
STORE_BUILD_ARTIFACTS: False
7599
UPLOAD_PACKAGES: True
76100
os: ubuntu
77101
runs_on: ['ubuntu-latest']
78102
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
103+
tools_install_dir: ~/miniforge3
104+
build_workspace_dir: build_artifacts
105+
docker_run_args:
79106
- CONFIG: linux_aarch64_is_freethreadingfalsepython3.13.____cp313
80107
STORE_BUILD_ARTIFACTS: False
81108
UPLOAD_PACKAGES: True
82109
os: ubuntu
83110
runs_on: ['ubuntu-latest']
84111
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
112+
tools_install_dir: ~/miniforge3
113+
build_workspace_dir: build_artifacts
114+
docker_run_args:
85115
- CONFIG: linux_aarch64_is_freethreadingfalsepython3.14.____cp314
86116
STORE_BUILD_ARTIFACTS: False
87117
UPLOAD_PACKAGES: True
88118
os: ubuntu
89119
runs_on: ['ubuntu-latest']
90120
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
121+
tools_install_dir: ~/miniforge3
122+
build_workspace_dir: build_artifacts
123+
docker_run_args:
91124
- CONFIG: linux_aarch64_is_freethreadingtruepython3.14.____cp314t
92125
STORE_BUILD_ARTIFACTS: False
93126
UPLOAD_PACKAGES: True
94127
os: ubuntu
95128
runs_on: ['ubuntu-latest']
96129
DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
130+
tools_install_dir: ~/miniforge3
131+
build_workspace_dir: build_artifacts
132+
docker_run_args:
97133
steps:
98134

99135
- name: Checkout code
@@ -103,11 +139,13 @@ jobs:
103139
id: build-linux
104140
if: matrix.os == 'ubuntu'
105141
env:
142+
MINIFORGE_HOME: ${{ matrix.tools_install_dir }}
143+
CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }}
106144
CONFIG: ${{ matrix.CONFIG }}
107145
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
108146
DOCKER_IMAGE: ${{ matrix.DOCKER_IMAGE }}
109147
CI: github_actions
110-
CONDA_FORGE_DOCKER_RUN_ARGS: "${{ matrix.CONDA_FORGE_DOCKER_RUN_ARGS }}"
148+
CONDA_FORGE_DOCKER_RUN_ARGS: "${{ matrix.docker_run_args }}"
111149
BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
112150
FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
113151
STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
@@ -127,13 +165,17 @@ jobs:
127165
else
128166
export IS_PR_BUILD="False"
129167
fi
168+
export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}"
169+
export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}"
130170
echo "::endgroup::"
131171
./.scripts/run_docker_build.sh
132172
133173
- name: Build on macOS
134174
id: build-macos
135175
if: matrix.os == 'macos'
136176
env:
177+
MINIFORGE_HOME: ${{ matrix.tools_install_dir }}
178+
CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }}
137179
CONFIG: ${{ matrix.CONFIG }}
138180
UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
139181
CI: github_actions
@@ -152,6 +194,8 @@ jobs:
152194
else
153195
export IS_PR_BUILD="False"
154196
fi
197+
export MINIFORGE_HOME="${MINIFORGE_HOME/#~/${HOME}}"
198+
export CONDA_BLD_PATH="${CONDA_BLD_PATH/#~/${HOME}}"
155199
./.scripts/run_osx_build.sh
156200
157201
- name: Build on windows
@@ -164,10 +208,8 @@ jobs:
164208
set "sha=%GITHUB_SHA%"
165209
call ".scripts\run_win_build.bat"
166210
env:
167-
# default value; make it explicit, as it needs to match with artefact
168-
# generation below. Not configurable for now, can be revisited later
169-
CONDA_BLD_PATH: C:\bld
170-
MINIFORGE_HOME: ${{ contains(runner.arch, 'ARM') && 'C' || 'D' }}:\Miniforge
211+
MINIFORGE_HOME: ${{ matrix.tools_install_dir }}
212+
CONDA_BLD_PATH: ${{ matrix.build_workspace_dir }}
171213
PYTHONUNBUFFERED: 1
172214
CONFIG: ${{ matrix.CONFIG }}
173215
CI: github_actions

.scripts/build_steps.sh

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.scripts/run_win_build.bat

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 8 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

recipe/meta.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% set number = 1 %}
2-
{% set version = "13.2.0" %}
3-
{% set sha256 = "6899b7684ccaf3249d521cc092768baeae390780375bb115bcd80350b65b1dff" %}
2+
{% set version = "13.3.0" %}
3+
{% set sha256 = "a6f724e35d2c5087eace5d19ede1f9abdc3cf8b8eb84c4d394a11e08bf21bff4" %}
44

55
{% set is_freethreading = environ.get("is_freethreading", False) %}
66
{% set bindings_major_version = version.split(".")[0]|int %}
@@ -127,9 +127,10 @@ outputs:
127127
- python
128128
- setuptools
129129
- setuptools-scm >=8
130+
- cuda-pathfinder >=1.5.5,<2
130131
run:
131132
- python
132-
- cuda-pathfinder >=1.1.0,<2
133+
- cuda-pathfinder >=1.5.5,<2
133134
- {{ pin_compatible('cuda-version', min_pin='x', max_pin='x') }}
134135
# cuda-python requires cuda-nvrtc from the same major version. We ignored
135136
# run-exports of cuda-nvrtc-dev and instead allow a looser pinning here.

0 commit comments

Comments
 (0)