Repository navigation
ci(conda): build and smoke-test win-64 in Conda Update, unpublished (#2060) - #2067
Merged
Merged
Conversation
…2060) Phase 1 of #2060: `conda-dist` gains a non-blocking `windows-latest` leg that builds and smoke-tests the package and publishes nothing. - cron-conda.yml: the leg, a `win-64` case arm, `shell: bash` on the bash steps, setup-python's `python.exe` in the smoke test, and no persisted checkout token. Every step it runs has an `id` and continues on error there alone; `Windows summary` warns per failed step, as KTLO legs do (#1672). The upload steps are gated off it, so no step on the leg receives `ANACONDA_TOKEN`. - bld.bat: build.sh's two installs, the wheels in one pip call with `%%` loop variables, each checked with `IF ERRORLEVEL 1 EXIT 1`. - conda_vendor.py: win-64 in the platform tables, `os_name` `nt`, a PE reader for `.pyd`, and `Lib/site-packages` in `--smoke`, its Python read from the build string. conda/requirements.txt is unchanged. - update_python_versions.py: reads the Windows images, so the conda leg's `windows-latest` label no longer stops the Python Versions update. - leg_summary.py: a `conda-windows` tier. test_conda_windows_leg_2060 pins all of it; the tests that read the conda jobs, platforms or images follow. create-release.yml is phase 2's.
Owner
Author
|
GOOD TO GO at
|
Contributor
|
Coverage: 91.52% (unit tier, Python 3.15,
Per-file detail: the |
Owner
Author
|
Ready to merge at |
Owner
Author
6 tasks
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.
make pylint,make mypy,make isort)make testpasses, and a test case covers the changeWhat is the purpose of your pull request?
ci— changes to CI configuration files and scriptsDescription of your pull request and other information
Phase 1 of #2060. Conda Update's
conda-distgains a non-blockingwindows-latestleg that builds and smoke-tests a win-64 package and cannot publish.ANACONDA_TOKEN. The non-Intel upload now excludeswindows-latest, the Intel one is Intel-only, and the GitHub Release steps are ubuntu-only.if:onwindows-latest, requires that none runs, and requires that every other leg still uploads.conda-dist's checkout ispersist-credentials: false.conda-tagkeeps its token for the tag push.continue-on-erroron Windows only, and a final Windows summary step warns once per failed step. ci: a failed KTLO leg turns main and pull requests red; report it as a warning and exit 0 #1672 forbids a job-levelcontinue-on-error, so a lost runner still fails the job.bld.bat: now matchesbuild.sh. The%%Wloop pip-installs the vendored wheels intopcapkit\_extern, then installs., and every install is followed byIF ERRORLEVEL 1 EXIT 1.conda_vendor.py: adds win-64 (nt, PE-headernative()).--smokereadsLib/site-packages.conda/requirements.txtregenerates unchanged.util/update_python_versions.pyreadsconda-dist'sosaxis. Onmain, its README parser raises onwindows-latest, so it now reads the Windows images too.bld.bat, Git Bash path translation,condaunderbash -el {0}, andwin_amd64wheel availability. The first Conda Update run onmainis the real test, and phase 2 (publishing) waits on it.