-
-
Notifications
You must be signed in to change notification settings - Fork 36
Misc\NEWS
in the Windows installer
#213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Misc/NEWS
in the Windows installerMisc\NEWS
in the Windows installer
Seems that way (but I'm not too familiar with the Windows build process!). Looking at a recent-ish build: https://dev.azure.com/Python/cpython/_build/results?buildId=157746&view=results ![]() Docs are built and uploaded as an artifact in the first "Build bianries" stage: "Merge NEWS file" happens later, in "Build MSI installer", after the readymade docs artifact has been downloaded and moved: |
Aha, Line 127 of "Build HTML docs" has "Merging Misc/NEWS with py -3.12 -m blurb", which is echoed by This copies the file to if not defined PY_MISC_NEWS_DIR set PY_MISC_NEWS_DIR=%BUILDDIR%\%1
I think therefore that this first point was accidentally solved in python/cpython#129577, as A |
To second point, the released tarballs include the merged NEWS file as |
Does this change need to be backported then? I'll get a run going so we can see the result. |
It's been backported to 3.12 & 3.13 but not security branches. |
The changelog.html from the build is about 6MB - does that seem right? You should be able to download the doc artifact from https://dev.azure.com/Python/cpython/_build/results?buildId=158873&view=artifacts&pathAsName=false&type=publishedArtifacts to check it yourself. |
Yep, that's about right -- it's a decade of blurbs since 3.5! (see python/docs-community#98) I downloaded the artifact and changelog.html matches my local. |
Guess there's nothing more to fix then! |
Do we need to keep release-tools/windows-release/msi-steps.yml Lines 41 to 45 in 6922a3c
|
May as well. No change is easier than making a change, and I'm hoping to deprecate these steps soon (see PEP 773). |
Ok, it seems indeed there is nothing to do! |
As discovered in python/blurb#44 (python/blurb#44 (comment)), the Windows installer ships the merged
NEWS
file inDoc\html\
, but has a 'broken'Doc\html\whatsnew\changelog.html
file, reading "The NEWS file is not available".Can we fix the
changelog.html
creation? My first guess would be that the NEWS file has not been created or moved toDoc\build\NEWS
at the time that Sphinx is invoked.Do we need to provide the NEWS file to users? It is a ~2MB ~50,000 line text file with fairly poor usability and little discoverability (it is in the html directory but not linked from anywhere).
A
The text was updated successfully, but these errors were encountered: