diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 812362a627..a6e06f0dfd 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -41,12 +41,6 @@ requirements: - {{ dep }} {% elif dep.startswith('build>=') %} - {{ 'python-' ~ dep }} - {% elif dep.startswith('cython') %} - {% if dep.split(';')[1] == "python_version<'3.13'" %} - - {{ dep.split(';')[0] }} # [py<313] - {% else %} - - {{ dep.split(';')[0] }} # [py>=313] - {% endif %} {% else %} - {{ dep|replace('_','-') }} {% endif %} diff --git a/conda-recipe/run_test.sh b/conda-recipe/run_test.sh index 63ae7996cc..ea36ada687 100644 --- a/conda-recipe/run_test.sh +++ b/conda-recipe/run_test.sh @@ -4,4 +4,8 @@ set -e ${PYTHON} -c "import dpctl; print(dpctl.__version__)" ${PYTHON} -m dpctl -f -${PYTHON} -m pytest -q -ra --disable-warnings --cov dpctl --cov-report term-missing --pyargs dpctl -vv +if ${PYTHON} --version 2>&1 | grep -q '^Python 3\.13'; then + ${PYTHON} -m pytest -q -ra --disable-warnings --pyargs dpctl -vv +else + ${PYTHON} -m pytest -q -ra --disable-warnings --cov dpctl --cov-report term-missing --pyargs dpctl -vv +fi diff --git a/pyproject.toml b/pyproject.toml index 098eefa0a3..e7795060a6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,8 +8,7 @@ requires = [ "scikit-build>=0.17.0", "ninja>=1.11.1; platform_system!='Windows'", "cmake>=3.29.0", - "cython>=3.0.10;python_version<'3.13'", - "cython>=3.0.10,<3.1.0;python_version>='3.13'", + "cython>=3.0.10", "numpy >=1.23", # WARNING: check with doc how to upgrade "versioneer[toml]==0.29"