Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 0 additions & 6 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down
9 changes: 8 additions & 1 deletion conda-recipe/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,11 @@ 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
# don't use coverage for Python 3.13 due to crashes related to
# Cython >= 3.1.0 and Python >= 3.13
# TODO: remove if crash is triaged
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
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Loading