Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions windows-release/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,7 @@ When signing is enabled (any value besides "Unsigned"), authorised approvers wil
will need to approve each stage that requires the signing certificate (typically three).
This helps prevent "surprise" builds from using the official certificate.

Some additional points to be aware of:

* packages are not automatically published to the Microsoft Store
* successful builds should be retained by selecting "Retain" under the "..." menu in the top-right

The `msixupload` artifacts should be uploaded to the Microsoft Store at
https://partner.microsoft.com/en-us/dashboard/apps-and-games/overview.
Access to this site is very limited.
We also usually update the screenshots so that the version information they show matches the release.

Successful builds should be retained by selecting "Retain" under the "..." menu in the top-right.
Azure DevOps no longer has a per-pipeline option for retention,
and so the only way to permanently retain a build is to manually select the "Retain" option.
Without this, the build records will be lost after 30 days.
Expand Down
20 changes: 1 addition & 19 deletions windows-release/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,9 @@ parameters:
type: boolean
default: true
- name: DoJIT
displayName: "Build the JIT compiler (3.14 and later)"
displayName: "Build the JIT compiler"
type: boolean
default: true
Comment on lines 63 to 66

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.

I haven't been closely following the discussion about JIT, but should we be disabling that for new releases?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

No decision yet.

The SC's 5th June pause announcement set a six-month window for a PEP to be submitted and resolved, or the JIT code must be removed. They later clarified it's not a hard deadline needing the code immediately ripping out.

But the PEP 836 authors withdrew their PEP last week, and another hasn't shown up (yet?).

We should know more in the next month or two.

- name: DoGPG
displayName: "Include GPG signatures (only up to 3.13)"
type: boolean
default: false
- name: DoMSIX
displayName: "Produce Store packages (only up to 3.13)"
type: boolean
default: false

# Stable version options
# The default option matches what we use for all currently releasing versions.
Expand Down Expand Up @@ -269,11 +261,6 @@ stages:
BuildToPackage: ${{ parameters.BuildToPackage }}
DoFreethreaded: ${{ parameters.DoFreethreaded }}
SigningCertificate: ${{ iif(eq(parameters.SigningCertificate, 'Unsigned'), '', parameters.SigningCertificate) }}
- ${{ if eq(parameters.DoMSIX, 'true') }}:
- template: stage-layout-msix.yml
parameters:
BuildToPackage: ${{ parameters.BuildToPackage }}
SigningCertificate: ${{ iif(eq(parameters.SigningCertificate, 'Unsigned'), '', parameters.SigningCertificate) }}
- ${{ if eq(parameters.DoPyManager, 'true') }}:
- template: stage-layout-pymanager.yml
parameters:
Expand All @@ -300,10 +287,6 @@ stages:
DoFreethreaded: ${{ parameters.DoFreethreaded }}
SigningCertificate: ${{ iif(eq(parameters.SigningCertificate, 'Unsigned'), '', parameters.SigningCertificate) }}
Post315OutputDir: ${{ parameters.Post315OutputDir }}
- ${{ if eq(parameters.DoMSIX, 'true') }}:
- template: stage-pack-msix.yml
parameters:
SigningCertificate: ${{ iif(eq(parameters.SigningCertificate, 'Unsigned'), '', parameters.SigningCertificate) }}
- ${{ if eq(parameters.DoNuget, 'true') }}:
- template: stage-pack-nuget.yml
parameters:
Expand Down Expand Up @@ -359,7 +342,6 @@ stages:
parameters:
BuildToPublish: ${{ parameters.BuildToPublish }}
DoEmbed: ${{ parameters.DoEmbed }}
IncludeGPG: ${{ parameters.DoGPG }}
- ${{ if eq(parameters.DoNuget, 'true') }}:
- template: stage-publish-nugetorg.yml
parameters:
Expand Down
122 changes: 0 additions & 122 deletions windows-release/stage-layout-msix.yml

This file was deleted.

134 changes: 0 additions & 134 deletions windows-release/stage-pack-msix.yml

This file was deleted.

38 changes: 0 additions & 38 deletions windows-release/stage-publish-pythonorg.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
parameters:
BuildToPublish: current
DoEmbed: true
IncludeGPG: false
HashAlgorithms: ['SHA256', 'MD5']

jobs:
Expand Down Expand Up @@ -74,32 +73,6 @@ jobs:
workingDirectory: '$(Pipeline.Workspace)\embed'
condition: and(succeeded(), ne(variables['PublishARM64'], 'true'))


- ${{ if eq(parameters.IncludeGPG, 'true') }}:
- task: DownloadSecureFile@1
name: gpgkey
inputs:
secureFile: 'python-signing.key'
displayName: 'Download GPG key'

- powershell: |
git clone https://github.com/python/cpython-bin-deps --branch gpg --single-branch --depth 1 --progress -v "gpg"
gpg/gpg2.exe --import "$(gpgkey.secureFilePath)"
$files = gci -File "msi\*\*", "embed\*.zip" -EA SilentlyContinue
$files.FullName | %{
gpg/gpg2.exe -ba --batch --passphrase $(GPGPassphrase) $_
"Made signature for $_"
}
displayName: 'Generate GPG signatures'
workingDirectory: $(Pipeline.Workspace)

- powershell: |
$p = gps "gpg-agent" -EA 0
if ($p) { $p.Kill() }
displayName: 'Kill GPG agent'
condition: true


- task: DownloadSecureFile@1
name: sshkey
inputs:
Expand Down Expand Up @@ -170,17 +143,6 @@ jobs:
workingDirectory: $(Pipeline.Workspace)
displayName: 'Generate hashes (${{ alg }})'

- ${{ if eq(parameters.IncludeGPG, 'true') }}:
- powershell: |
"Copying:"
$files = gci -File "msi\*\python*.asc", "embed\*.asc" -EA SilentlyContinue
$files.FullName
$d = mkdir "$(Build.ArtifactStagingDirectory)\hashes" -Force
move $files $d -Force
gci msi -Directory | %{ move "msi\$_\*.asc" (mkdir "$d\$_" -Force) }
workingDirectory: $(Pipeline.Workspace)
displayName: 'Copy GPG signatures for build'

- publish: '$(Build.ArtifactStagingDirectory)\hashes'
artifact: hashes
displayName: 'Publish Artifact: hashes'
Loading