You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run python3 -m pip install --user -r news/requirements.txt
Release candidate (Monday, Sep 14)
Announce the code freeze on both Teams and e-mail, leave enough time for teams to surface any last minute issues that need to get in before freeze. Make sure debugger and Language Server teams are looped in as well.
Update main for the release
Create a branch against main for a pull request
Change the version in package.json from a -dev suffix to -rc (🤖)
Extension will pick up latest version of debugpy. If you need to pin to a particular version see install_debugpy.py.
Update languageServerVersion in package.json to point to the latest version of the Language Server. Check with the language server team if this needs updating.
Update ThirdPartyNotices-Repository.txt as appropriate. This file is manually edited so you can check with the teams if anything needs to be added here.
If there are release branches that are two versions old (e.g. release-2020.[current month - 2]) you can delete them at this time
Create a new release-YYYY.MM branch from main
Update main post-release (🤖)
Bump the version number to the next monthly ("YYYY.MM.0-dev") release in the main branch
package.json
package-lock.json
Create a pull request against main
Merge pull request into main
Announce the code freeze is over on the same channels
Update Component Governance (Click on "microsoft/vscode-python" on that page). Notes are in the OneNote under Python VS Code -> Dev Process -> Component Governance.
Provide details for any automatically detected npm dependencies
Manually add any repository dependencies
GDPR bookkeeping (@brettcannon) (🤖; Notes in OneNote under Python VS Code -> Dev Process -> GDPR)
Schedule a bug bash. Aim for close after freeze so there is still time to fix release bugs before release. Ask teams before bash for specific areas that need testing.
Begin drafting a blog post. Contact the PM team for this.
Create a branch against release-YYYY.MM for a pull request
Update the version in package.json to remove the -rc (🤖)
Run npm install to make sure package-lock.json is up-to-date (the only update should be the version number if package-lock.json has been kept up-to-date) (🤖)
Make sure CI is passing. Try a re-run on any failing CI test stages. If tests still won't pass contact the owning team.
On Azure DevOps on the page for the CI run after it succeeds there will now be a "Releases" tab which is populated with a release entry. Click that entry to go to the release page, which shows the "Upload" and "Publish" stages
Click the deploy button on the "Upload" stage and make sure that it succeeds
Make sure no extraneous files are being included in the .vsix file (make sure to check for hidden files)
Click the deploy button on the "Publish" stage, this will push out the release to the public
From a VSCode instance uninstall the python extension. After the publish see if the new version is available from the extensions tab. Download it and quick sanity check to make sure the extension loads.
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
python3 -m pip install --user -r news/requirements.txt
Release candidate (Monday, Sep 14)
main
for the releasemain
for a pull requestpackage.json
from a-dev
suffix to-rc
(🤖)npm install
to make surepackage-lock.json
is up-to-date (🤖)debugpy
. If you need to pin to a particular version seeinstall_debugpy.py
.languageServerVersion
inpackage.json
to point to the latest version of the Language Server. Check with the language server team if this needs updating.CHANGELOG.md
(🤖)news
(typicallypython news --final --update CHANGELOG.md | code-insiders -
)requirements.txt
)debugpy
and the language server if they were updatedThirdPartyNotices-Distribution.txt
by using https://tools.opensource.microsoft.com/notice (Notes for this process are in the Team OneNote under Python VS Code -> Dev Process -> Third-Party Notices / TPN file)ThirdPartyNotices-Repository.txt
as appropriate. This file is manually edited so you can check with the teams if anything needs to be added here.main
(🤖)main
release
branchrelease
branches that are two versions old (e.g. release-2020.[current month - 2]) you can delete them at this timerelease-YYYY.MM
branch frommain
main
post-release (🤖)main
branchpackage.json
package-lock.json
main
main
Final (Wednesday, Sep 23)
Preparation
release-YYYY.MM
branchrelease-YYYY.MM
for a pull requestpackage.json
to remove the-rc
(🤖)npm install
to make surepackage-lock.json
is up-to-date (the only update should be the version number ifpackage-lock.json
has been kept up-to-date) (🤖)CHANGELOG.md
(🤖)news
and copy-and-paste new entries (typicallypython news --final | code-insiders -
; quite possibly nothing new to add)ThirdPartyNotices-Distribution.txt
by using https://tools.opensource.microsoft.com/notice (🤖; see team notes)ThirdPartyNotices-Repository.txt
manually if necessaryrelease-YYYY.MM
(🤖)release-YYYY.MM
Release
.vsix
file (make sure to check for hidden files)release-YYYY.MM
back intomain
. Don't overwrite the-dev
version in package.json. (🤖)Clean up after this release
info needed
issues and close any that have no activity for over a month (🤖)Prep for the next release
The text was updated successfully, but these errors were encountered: