Skip to content

CI: publish nightly wheels to scientific-python-nightly-wheels - #10261

Merged
leofang merged 3 commits into
cupy:mainfrom
leofang:ci/upload-nightly-wheels
Sep 3, 2026
Merged

leofang merged 3 commits into
cupy:mainfrom
leofang:ci/upload-nightly-wheels

Conversation

@leofang

@leofang leofang commented Sep 2, 2026 •

Copy link
Copy Markdown
Member

Extends .github/workflows/ci-nightly.yml with an upload-nightly-wheels job that publishes the wheels the @nightly FlexCI matrix is already pinned to, to https://anaconda.org/scientific-python-nightly-wheels/cupy-cuda12x and https://anaconda.org/scientific-python-nightly-wheels/cupy-cuda13x.

The resolve job also emits the ci.yml push RUN_ID alongside its head SHA. The new job runs in parallel with dispatch (a FlexCI @nightly matrix runs for hours; the daily upload cadence shouldn't wait), downloads cupy-cuda1{2,3}x-* artifacts from that run, flattens the wheels into dist/, and hands them to scientific-python/upload-nightly-action pinned at e76cfec8a4611fd02808a801b0ff5a7d7c1b2d99 (0.6.4). Anaconda routes each wheel to its cupy-cuda12x / cupy-cuda13x package group by wheel metadata, so a single upload call covers both.

Upload result is recorded as a separate ci-nightly-upload commit status on the wheel SHA so a failed upload is retryable via workflow_dispatch independently of the FlexCI dispatch.

Gated on branch == 'main': v* / hotfix-* push wheels still build, but the nightly channel tracks main-tip only.

Also bumps cupy/_version.py to 14.3.0.dev0 (from 15.0.0a1) per RFC #10221 — under the new branching model, main targets the current major (v14), so the nightly wheels this workflow publishes should be stamped for the v14.3.0 series they actually belong to. .dev0 is the lowest PEP 440 pre-release (.dev < a < b < rc < release), which fits the "top-of-main, no formal release cut yet" semantics.

Prereqs (already provisioned):

  • ANACONDA_ORG_UPLOAD_TOKEN secret on this repo.
  • scientific-python-nightly-wheels/cupy-cuda12x and cupy-cuda13x packages registered on Anaconda.

Closes #9974 and unblocks scientific-python/upload-nightly-action#169.

@leofang
leofang requested a review from a team as a code owner September 2, 2026 22:27
@leofang leofang added cat:install Build and installation cat:test Test code / CI prio:medium labels Sep 2, 2026
@leofang leofang added this to the v14.3.0 milestone Sep 2, 2026
@leofang

leofang commented Sep 2, 2026

Copy link
Copy Markdown
Member Author

/test skip

@leofang

leofang commented Sep 2, 2026

Copy link
Copy Markdown
Member Author

/test skip

1 similar comment
@leofang

leofang commented Sep 2, 2026

Copy link
Copy Markdown
Member Author

/test skip

@leofang leofang closed this Sep 2, 2026
@leofang leofang reopened this Sep 2, 2026
@leofang

leofang commented Sep 2, 2026

Copy link
Copy Markdown
Member Author

/test skip

@leofang leofang added blocking Issue/pull-request is mandatory for the upcoming release and removed blocking Issue/pull-request is mandatory for the upcoming release labels Sep 2, 2026
seberg
seberg previously approved these changes Sep 3, 2026

@seberg seberg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks looks good, one thing that I think may be a bit better but I don't want to worry about it: We could move this upload to a second cron job that probably runs after flexCI is done (we don't have to worry about actual).
Although, then skipping the upload needs to be decided by checking what was last uploaded.

I believe we may need to trigger the job manually once to make sure we don't upload an earlier compiled 15.0 version.

Comment thread .github/workflows/ci-nightly.yml Resolved
Comment thread cupy/_version.py Resolved
@leofang

leofang commented Sep 3, 2026

Copy link
Copy Markdown
Member Author

/test skip

@leofang
leofang requested a review from seberg September 3, 2026 12:45
@leofang leofang added backport Pull-requests backported from development branch skip-ci Skip extensive CI after merging and removed backport Pull-requests backported from development branch skip-ci Skip extensive CI after merging labels Sep 3, 2026
@leofang
leofang merged commit 5909c24 into cupy:main Sep 3, 2026
105 checks passed
@leofang
leofang deleted the ci/upload-nightly-wheels branch September 3, 2026 13:11
@leofang

leofang commented Sep 3, 2026

Copy link
Copy Markdown
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cat:install Build and installation cat:test Test code / CI prio:medium skip-ci Skip extensive CI after merging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: Build nightly wheels

3 participants