File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -247,14 +247,10 @@ jobs:
247247 LOCAL_CTK : ${{ matrix.LOCAL_CTK }}
248248 run : run-tests bindings
249249
250-
251-
252250 - name : Ensure cuda-python installable
253251 run : |
254- echo Showing wheels locally in $PWD
255- ls *.whl
256252 if [[ "${{ matrix.LOCAL_CTK }}" == 1 ]]; then
257- pip install cuda_python*.whl --find-links .
253+ pip install cuda_python*.whl
258254 else
259- pip install $(ls cuda_python*.whl)[all] --find-links .
255+ pip install $(ls cuda_python*.whl)[all]
260256 fi
Original file line number Diff line number Diff line change 1515)
1616
1717
18- version = Version (version ).base_version
18+ base_version = Version (version ).base_version
19+
20+
21+ if base_version == version :
22+ # Tagged release
23+ matcher = "~="
24+ else :
25+ # Pre-release version
26+ matcher = "=="
1927
2028
2129setup (
2230 version = version ,
2331 install_requires = [
24- f"cuda-bindings~= { version } " ,
32+ f"cuda-bindings{ matcher } { version } " ,
2533 ],
2634 extras_require = {
27- "all" : [f"cuda-bindings[all]~= { version } " ],
35+ "all" : [f"cuda-bindings[all]{ matcher } { version } " ],
2836 },
2937)
You can’t perform that action at this time.
0 commit comments