Skip to content

Commit 58e9eaa

Browse files
authored
Merge branch 'master' into b1-source_uri
2 parents 5ce62d5 + a50b621 commit 58e9eaa

File tree

7 files changed

+29
-9
lines changed

7 files changed

+29
-9
lines changed

add_to_pydotorg.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,15 @@ def get_file_descriptions(
104104
return [
105105
(rx(r"\.tgz$"), ("Gzipped source tarball", 3, False, "")),
106106
(rx(r"\.tar\.xz$"), ("XZ compressed source tarball", 3, True, "")),
107-
(rx(r"-webinstall\.exe$"), ("", 0, False, "")),
107+
(
108+
rx(r"windows-.+\.json"),
109+
(
110+
"Windows release manifest",
111+
1,
112+
False,
113+
f"Install with 'py install {v[0]}.{v[1]}'",
114+
),
115+
),
108116
(
109117
rx(r"-embed-amd64\.zip$"),
110118
("Windows embeddable package (64-bit)", 1, False, ""),

dev-requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -473,9 +473,9 @@ pytest-cov==6.1.1 \
473473
--hash=sha256:46935f7aaefba760e716c2ebfbe1c216240b9592966e7da99ea8292d4d3e2a0a \
474474
--hash=sha256:bddf29ed2d0ab6f4df17b4c55b0a657287db8684af9c42ea546b21b1041b3dde
475475
# via -r dev-requirements.in
476-
pytest-mock==3.14.0 \
477-
--hash=sha256:0b72c38033392a5f4621342fe11e9219ac11ec9d375f8e2a0c164539e0d70f6f \
478-
--hash=sha256:2719255a1efeceadbc056d6bf3df3d1c5015530fb40cf347c0f9afac88410bd0
476+
pytest-mock==3.14.1 \
477+
--hash=sha256:159e9edac4c451ce77a5cdb9fc5d1100708d2dd4ba3c3df572f14097351af80e \
478+
--hash=sha256:178aefcd11307d874b4cd3100344e7e2d888d9791a6a1d9bfe90fbc1b74fd1d0
479479
# via -r dev-requirements.in
480480
yarl==1.18.3 \
481481
--hash=sha256:00e5a1fea0fd4f5bfa7440a47eff01d9822a65b4488f7cff83155a0f31a2ecba \

mypy-requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
aiohttp==3.11.18
1+
aiohttp==3.12.6
22
alive_progress # untyped :(
3-
mypy==1.15.0
3+
mypy==1.16.0
44
pytest
55
pytest-mock
66
python-gnupg # untyped :(

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -792,8 +792,8 @@ python-dateutil==2.9.0.post0 \
792792
python-gnupg==0.5.4 \
793793
--hash=sha256:40ce25cde9df29af91fe931ce9df3ce544e14a37f62b13ca878c897217b2de6c
794794
# via -r requirements.in
795-
requests==2.32.3 \
796-
--hash=sha256:70761cfe03c773ceb22aa2f671b4757976145175cdfca038c02654d061d6dcc6
795+
requests==2.32.4 \
796+
--hash=sha256:27babd3cda2a6d50b30443204ee89830707d396671944c998b5975b031ac2b2c
797797
# via
798798
# id
799799
# sigstore

windows-release/azure-pipelines.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,8 @@ stages:
228228
BuildToPackage: ${{ parameters.BuildToPackage }}
229229
DoARM64: ${{ parameters.DoARM64}}
230230
DoFreethreaded: ${{ parameters.DoFreethreaded }}
231-
SigningCertificate: ${{ parameters.SigningCertificate }}
231+
${{ if and(parameters.SigningCertificate, ne(parameters.SigningCertificate, 'Unsigned')) }}:
232+
SigningCertificate: ${{ parameters.SigningCertificate }}
232233
- ${{ if eq(parameters.DoMSIX, 'true') }}:
233234
- template: stage-pack-msix.yml
234235
parameters:

windows-release/checkout.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,13 @@ steps:
3535
${{ if and(parameters.Path, ne(parameters.Path, '.')) }}:
3636
workingDirectory: ${{ parameters.Path }}
3737
condition: and(succeeded(), variables['SourceCommit'])
38+
39+
- powershell: |
40+
if (-not (Test-Path "Misc\externals.spdx.json")) {
41+
"externals.spdx.json is missing - skipping SBOM"
42+
Write-Host "##vso[task.setvariable variable=SkipSBOM]1"
43+
}
44+
displayName: 'Checking for SBOM inputs'
45+
${{ if and(parameters.Path, ne(parameters.Path, '.')) }}:
46+
workingDirectory: ${{ parameters.Path }}
47+
condition: and(succeeded(), not(variables['SkipSBOM']))

windows-release/stage-layout-embed.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ jobs:
9595

9696
- task: PublishBuildArtifacts@1
9797
displayName: 'Publish Artifact: sbom'
98+
condition: and(succeeded(), not(variables['SkipSBOM']))
9899
inputs:
99100
PathtoPublish: $(Build.ArtifactStagingDirectory)\sbom
100101
ArtifactName: sbom

0 commit comments

Comments
 (0)