Skip to content

Commit 03a46e1

Browse files
Require Cython<3 until source code is updated
1 parent 09cd171 commit 03a46e1

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/generate-coverage.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
- name: Install dpctl dependencies
8080
shell: bash -l {0}
8181
run: |
82-
pip install numpy cython setuptools pytest pytest-cov scikit-build cmake coverage[toml]
82+
pip install numpy cython"<3" setuptools pytest pytest-cov scikit-build cmake coverage[toml]
8383
8484
- name: Build dpctl with coverage
8585
shell: bash -l {0}

.github/workflows/generate-docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
if: ${{ !github.event.pull_request || github.event.action != 'closed' }}
5050
shell: bash -l {0}
5151
run: |
52-
pip install numpy cython setuptools scikit-build cmake sphinx sphinx_rtd_theme pydot graphviz sphinxcontrib-programoutput sphinxcontrib-googleanalytics
52+
pip install numpy cython"<3" setuptools scikit-build cmake sphinx sphinx_rtd_theme pydot graphviz sphinxcontrib-programoutput sphinxcontrib-googleanalytics
5353
- name: Checkout repo
5454
uses: actions/checkout@v3
5555
with:

.github/workflows/os-llvm-sycl-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
- name: Install dpctl dependencies
109109
shell: bash -l {0}
110110
run: |
111-
pip install numpy cython setuptools pytest scikit-build cmake
111+
pip install numpy cython"<3" setuptools pytest scikit-build cmake
112112
113113
- name: Checkout repo
114114
uses: actions/checkout@v3

conda-recipe/meta.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ requirements:
2020
- cmake >=3.21
2121
- ninja
2222
- git
23-
- cython
23+
- cython <3
2424
- python
2525
- scikit-build
2626
- numpy

setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -149,20 +149,20 @@ def _get_cmdclass():
149149
package_data={"dpctl": ["tests/*.*", "tests/helper/*.py"]},
150150
include_package_data=True,
151151
zip_safe=False,
152-
setup_requires=["Cython"],
152+
setup_requires=["Cython<3"],
153153
install_requires=[
154154
"numpy",
155155
],
156156
extras_require={
157157
"docs": [
158-
"Cython",
158+
"Cython<3",
159159
"sphinx",
160160
"sphinx_rtd_theme",
161161
"pydot",
162162
"graphviz",
163163
"sphinxcontrib-programoutput",
164164
],
165-
"coverage": ["Cython", "pytest", "pytest-cov", "coverage", "tomli"],
165+
"coverage": ["Cython<3", "pytest", "pytest-cov", "coverage", "tomli"],
166166
},
167167
keywords="dpctl",
168168
classifiers=[

0 commit comments

Comments
 (0)