Repository navigation
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/151035
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ❌ 1 New Failure, 7 Cancelled JobsAs of commit 4bdaf18 with merge base f65fb0a ( NEW FAILURE - The following job has failed:
CANCELLED JOBS - The following jobs were cancelled. Please retry:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
ZainRizvi
left a comment
There was a problem hiding this comment.
And as a naming nit, this PR seems to be reducing conda usage, not removing it.
Would be create to improve the PR title and description to say exactly what the PR is intended to do (in this case, the specific conda dependencies being removed, since we're not removing conda completely)
|
@ZainRizvi Plan for this PR is to iterate replacing instllation of packages from pypi. When ready remove the conda env. I believe after few iterations conda usage is completely removed |
6a16a0f to
590577a
Compare
|
@pytorchmergebot merge -f "lint and windows workflows are green" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
set_desired_python.sh pinned the patch level to ".0", which freezes each minor on its oldest release and ships known CVEs for the life of the minor. That pin was introduced by pytorchgh-151035 when it swapped conda (whose `python=3.X` floated to the newest channel patch) for the python.org installer. Replace it with an explicit per-minor patch table. This keeps installs reproducible (a given commit always resolves the same interpreter) while letting us move off the oldest patch deliberately in review. Floating to the newest installer was considered and rejected: python.org serves source-only releases for security-only minors (e.g. 3.10.20 has no amd64.exe), so floating requires scraping the release index and HEAD-probing candidates newest-first, which makes every build depend on that listing and fires request bursts that python.org rate-limits. The security-only minors (3.10-3.12) are pinned to their last release that shipped a Windows installer; the bugfix minors (3.13, 3.14) point at the current newest installer and carry a comment to bump them here. The table must stay in sync with the matrix in generated-windows-binary-wheel-nightly.yml. Test Plan: ``` bash -n .ci/pytorch/windows/set_desired_python.sh lintrunner -a .ci/pytorch/windows/set_desired_python.sh ``` Verified each pinned installer exists (HTTP 200) and that the source-only successors 404, confirming the security-only pins are the last available: ``` 3.10.11 200 / 3.10.12+ source-only 3.11.9 200 / 3.11.10 404 3.12.10 200 / 3.12.11 404 3.13.14 200 (current bugfix latest) 3.14.6 200 (current bugfix latest) ``` Authored with assistance from Claude.
This is related to : #146048
Removing conda from windows binary builds. At this point we are only removing conda and replacing it with python builds. Not rewriting all batch files as python or bash.
Additionally cleanup unused files: