Repository navigation
Build and test conda packages and wheels - #2409
Open
jharlow-intel wants to merge 1 commit into
Open
jharlow-intel wants to merge 1 commit into
jharlow-intel wants to merge 1 commit into
Conversation
jharlow-intel
requested review from
antonwolfy and
vlad-perevezentsev
as code owners
November 3, 2026 14:11
jharlow-intel
force-pushed
the
ci/intel-python-ci
branch
from
November 3, 2026 14:11
9fc1cc4 to
e53ef4e
Compare
|
View rendered docs @ https://intelpython.github.io/dpctl/pulls/2409/index.html |
Collaborator
ndgrigorian
reviewed
Nov 5, 2026
jharlow-intel
force-pushed
the
ci/intel-python-ci
branch
2 times, most recently
from
November 9, 2026 14:43
a7d1572 to
9ea68d5
Compare
Adds a ci/ directory and .github/workflows/intel-ci.yml, which build the conda packages and the wheels for every declared platform and Python and test each with ci/test.py on the OpenCL CPU device. conda-recipe/ is now the only recipe, the conda-forge one that was conda-recipe-cf/; the Intel-channel recipe and conda-package.yml are removed. The dev uploads to anaconda.org and their cleanup move into intel-ci.yml, for pushes to master and tags only. The wheels leave the SYCL runtime out and require intel-sycl-rt and intel-cmplr-lib-rt, as the PyPI wheels do; scikit-build is pinned below 1.0 (#2341). LDFLAGS in the cibuildwheel environment links every Linux library with -z,relro,-z,now, as conda-forge's compiler activation does for the conda packages, so libDPCTLSyclInterface.so gets full RELRO like the extensions. conda-build gets --extra-meta remote_url=... sha=... when GitHub Actions sets GITHUB_SERVER_URL, GITHUB_REPOSITORY and GITHUB_SHA, so each conda package records the commit it was built from. A pull request also builds and tests the newest free-threaded version, and every push and tag run gets a concurrency group of its own. The benchmarks take PyYAML from conda-forge, as PyPI has no Python 3.15 wheel for it yet. ci/build.py refuses two built packages with the same file name, which would overwrite each other in its flat output directory. ci/test.py fails when python -m dpctl -f fails, and when the environment's conda compilers cannot build an extension, instead of deselecting the two tests that need them. The dev upload takes each wheel's version from its file name and fails when there is nothing to upload. The benchmarks set USERPROFILE as well as HOME, and the repair commands match any libsycl version, as wheel-requires allows any 2026 runtime.
jharlow-intel
force-pushed
the
ci/intel-python-ci
branch
from
November 10, 2026 22:49
9ea68d5 to
a3fdfd1
Compare
jharlow-intel
enabled auto-merge
November 18, 2026 19:28
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
ci/and.github/workflows/intel-ci.yml, which build the conda packages and wheels for Linux and Windows on every declared Python, and test each in a clean environment.conda-recipe/is now the only recipe: the conda-forge one that wasconda-recipe-cf/. The Intel-channel recipe andconda-package.ymlare removed;conda-package-cf.ymlstays.dppy/label/devuploads and the cleanup of old dev packages move intointel-ci.yml, for pushes tomasterand tags only.intel-sycl-rtandintel-cmplr-lib-rt, as the PyPI wheels do.scikit-buildis pinned below 1.0 (Scikit-build (classic) 1.0 internals #2341).ci/test.pyrunspytest --pyargs dpctlon the installed package and fails when it finds no SYCL device: the OpenCL CPU device in Actions, or a GPU withGH_CI_DEVICE=gpu.Validation, with a temporary push trigger on this branch: run 41648323136 built and tested the conda packages and wheels for 3.10 and 3.15 on Linux and Windows, and pre-commit, zizmor and
conda-package-cf.ymlpassed. Before the rename, a full-matrix run passed all 61 jobs, 3.14t and 3.15t included. Not run yet: a GPU, and the uploads, which onlymasterand tags do.