Skip to content

Commit 860f835

Browse files
committed
Merge branch 'master' into fix-issue-1812
2 parents 4664f1e + 6ff79f6 commit 860f835

File tree

604 files changed

+45646
-37480
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

604 files changed

+45646
-37480
lines changed

.azure-pipelines/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
- job: macOS_CI_Tests
3636
displayName: macOS CI Tests
3737
dependsOn: Prebuild
38-
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
38+
#condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
39+
# bpo-39837: macOS tests on Azure Pipelines are disabled
40+
condition: false
3941

4042
variables:
4143
testRunTitle: '$(build.sourceBranchName)-macos'

.azure-pipelines/macos-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ steps:
66
- script: ./configure --with-pydebug --with-openssl=/usr/local/opt/openssl --prefix=/opt/python-azdev
77
displayName: 'Configure CPython (debug)'
88

9-
- script: make -s -j4
9+
- script: make -j4
1010
displayName: 'Build CPython'
1111

1212
- script: make pythoninfo

.azure-pipelines/posix-steps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ steps:
2020
- script: ./configure --with-pydebug
2121
displayName: 'Configure CPython (debug)'
2222

23-
- script: make -s -j4
23+
- script: make -j4
2424
displayName: 'Build CPython'
2525

2626
- ${{ if eq(parameters.coverage, 'true') }}:
@@ -49,7 +49,7 @@ steps:
4949
- script: ./venv/bin/python -m coverage xml
5050
displayName: 'Generate coverage.xml'
5151

52-
- script: source ./venv/bin/activate && bash <(curl -s https://codecov.io/bash)
52+
- script: source ./venv/bin/activate && bash <(curl -s https://codecov.io/bash) -y .github/codecov.yml
5353
displayName: 'Publish code coverage results'
5454

5555

.azure-pipelines/pr.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ jobs:
3333
- job: macOS_PR_Tests
3434
displayName: macOS PR Tests
3535
dependsOn: Prebuild
36-
condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
36+
#condition: and(succeeded(), eq(dependencies.Prebuild.outputs['tests.run'], 'true'))
37+
# bpo-39837: macOS tests on Azure Pipelines are disabled
38+
condition: false
3739

3840
variables:
3941
testRunTitle: '$(system.pullRequest.TargetBranch)-macos'

.azure-pipelines/windows-release/stage-build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ jobs:
33
displayName: Docs build
44
pool:
55
name: 'Windows Release'
6-
#vmName: win2016-vs2017
6+
#vmImage: windows-2019
77

88
workspace:
99
clean: all
@@ -45,7 +45,7 @@ jobs:
4545
displayName: Python build
4646

4747
pool:
48-
vmName: win2016-vs2017
48+
vmImage: windows-2019
4949

5050
workspace:
5151
clean: all
@@ -91,7 +91,7 @@ jobs:
9191
condition: and(succeeded(), ne(variables['DoPGO'], 'true'))
9292

9393
pool:
94-
vmName: win2016-vs2017
94+
vmImage: windows-2019
9595

9696
workspace:
9797
clean: all
@@ -141,7 +141,7 @@ jobs:
141141
displayName: Publish Tcl/Tk Library
142142

143143
pool:
144-
vmName: windows-latest
144+
vmImage: windows-2019
145145

146146
workspace:
147147
clean: all

.azure-pipelines/windows-release/stage-layout-embed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
condition: and(succeeded(), eq(variables['DoEmbed'], 'true'))
55

66
pool:
7-
vmName: win2016-vs2017
7+
vmImage: windows-2019
88

99
workspace:
1010
clean: all

.azure-pipelines/windows-release/stage-layout-full.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
condition: and(succeeded(), eq(variables['DoLayout'], 'true'))
55

66
pool:
7-
vmName: win2016-vs2017
7+
vmImage: windows-2019
88

99
workspace:
1010
clean: all

.azure-pipelines/windows-release/stage-layout-msix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ jobs:
33
displayName: Make MSIX layout
44

55
pool:
6-
vmName: win2016-vs2017
6+
vmImage: windows-2019
77

88
workspace:
99
clean: all

.azure-pipelines/windows-release/stage-layout-nuget.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
condition: and(succeeded(), eq(variables['DoNuget'], 'true'))
55

66
pool:
7-
vmName: win2016-vs2017
7+
vmImage: windows-2019
88

99
workspace:
1010
clean: all

.azure-pipelines/windows-release/stage-msi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
condition: and(succeeded(), not(variables['SigningCertificate']))
55

66
pool:
7-
vmName: win2016-vs2017
7+
vmImage: windows-2019
88

99
variables:
1010
ReleaseUri: http://www.python.org/{arch}

.azure-pipelines/windows-release/stage-pack-msix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ jobs:
33
displayName: Pack MSIX bundles
44

55
pool:
6-
vmName: win2016-vs2017
6+
vmImage: windows-2019
77

88
workspace:
99
clean: all

.azure-pipelines/windows-release/stage-pack-nuget.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
condition: and(succeeded(), eq(variables['DoNuget'], 'true'))
55

66
pool:
7-
vmName: win2016-vs2017
7+
vmImage: windows-2019
88

99
workspace:
1010
clean: all

.azure-pipelines/windows-release/stage-publish-nugetorg.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
condition: and(succeeded(), eq(variables['DoNuget'], 'true'))
55

66
pool:
7-
vmName: win2016-vs2017
7+
vmImage: windows-2019
88

99
workspace:
1010
clean: all

.azure-pipelines/windows-release/stage-publish-pythonorg.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
condition: and(succeeded(), and(eq(variables['DoMSI'], 'true'), eq(variables['DoEmbed'], 'true')))
55

66
pool:
7-
#vmName: win2016-vs2017
7+
#vmImage: windows-2019
88
name: 'Windows Release'
99

1010
workspace:

.azure-pipelines/windows-release/stage-publish-store.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
condition: and(succeeded(), eq(variables['DoMSIX'], 'true'))
55

66
pool:
7-
vmName: win2016-vs2017
7+
vmImage: windows-2019
88

99
workspace:
1010
clean: all

.azure-pipelines/windows-release/stage-sign.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
condition: and(succeeded(), not(variables['SigningCertificate']))
115115

116116
pool:
117-
vmName: win2016-vs2017
117+
vmImage: windows-2019
118118

119119
steps:
120120
- checkout: none

.azure-pipelines/windows-release/stage-test-embed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
condition: and(succeeded(), eq(variables['DoEmbed'], 'true'))
55

66
pool:
7-
vmName: win2016-vs2017
7+
vmImage: windows-2019
88

99
workspace:
1010
clean: all

.azure-pipelines/windows-release/stage-test-msi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ jobs:
33
displayName: Test MSI
44

55
pool:
6-
vmName: win2016-vs2017
6+
vmImage: windows-2019
77

88
workspace:
99
clean: all

.azure-pipelines/windows-release/stage-test-nuget.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ jobs:
44
condition: and(succeeded(), eq(variables['DoNuget'], 'true'))
55

66
pool:
7-
vmName: win2016-vs2017
7+
vmImage: windows-2019
88

99
workspace:
1010
clean: all

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- name: Configure CPython
5656
run: ./configure --with-pydebug --with-openssl=/usr/local/opt/openssl --prefix=/opt/python-dev
5757
- name: Build CPython
58-
run: make -s -j4
58+
run: make -j4
5959
- name: Display build info
6060
run: make pythoninfo
6161
- name: Tests
@@ -82,7 +82,7 @@ jobs:
8282
- name: Configure CPython
8383
run: ./configure --with-pydebug --with-openssl=$PWD/multissl/openssl/$OPENSSL_VER
8484
- name: Build CPython
85-
run: make -s -j4
85+
run: make -j4
8686
- name: Display build info
8787
run: make pythoninfo
8888
- name: Tests

.github/workflows/build_msi.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: TestsMSI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- 3.8
8+
- 3.7
9+
paths:
10+
- 'Tools/msi/**'
11+
pull_request:
12+
branches:
13+
- master
14+
- 3.8
15+
- 3.7
16+
paths:
17+
- 'Tools/msi/**'
18+
19+
jobs:
20+
build_win32:
21+
name: 'Windows (x86) Installer'
22+
runs-on: windows-latest
23+
steps:
24+
- uses: actions/checkout@v1
25+
- name: Build CPython installer
26+
run: .\Tools\msi\build.bat -x86
27+
28+
build_win_amd64:
29+
name: 'Windows (x64) Installer'
30+
runs-on: windows-latest
31+
steps:
32+
- uses: actions/checkout@v1
33+
- name: Build CPython installer
34+
run: .\Tools\msi\build.bat -x64

.github/workflows/coverage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Configure CPython
4141
run: ./configure --with-openssl=$PWD/multissl/openssl/$OPENSSL_VER
4242
- name: Build CPython
43-
run: make -s -j4
43+
run: make -j4
4444
- name: Display build info
4545
run: make pythoninfo
4646
- name: 'Coverage Preparation'
@@ -65,7 +65,7 @@ jobs:
6565
- name: 'Publish code coverage results'
6666
run: |
6767
source ./.venv/bin/activate
68-
bash <(curl -s https://codecov.io/bash)
68+
bash <(curl -s https://codecov.io/bash) -y .github/codecov.yml
6969
env:
7070
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
7171

@@ -84,6 +84,6 @@ jobs:
8484
if: always()
8585
run: |
8686
make pythoninfo
87-
bash <(curl -s https://codecov.io/bash)
87+
bash <(curl -s https://codecov.io/bash) -y .github/codecov.yml
8888
env:
8989
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/doc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: 'Configure CPython'
2929
run: ./configure --with-pydebug
3030
- name: 'Build CPython'
31-
run: make -s -j4
31+
run: make -j4
3232
- name: 'Install build dependencies'
3333
run: make -C Doc/ PYTHON=../python venv
3434
- name: 'Build documentation'

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ matrix:
9494
after_script: # Probably should be after_success once test suite updated to run under coverage.py.
9595
# Make the `coverage` command available to Codecov w/ a version of Python that can parse all source files.
9696
- source ./venv/bin/activate
97-
- bash <(curl -s https://codecov.io/bash)
97+
- bash <(curl -s https://codecov.io/bash) -y .github/codecov.yml
9898
- name: "Test code coverage (C)"
9999
os: linux
100100
language: c
@@ -111,7 +111,7 @@ matrix:
111111
- xvfb-run make -j4 coverage-report
112112
after_script: # Probably should be after_success once test suite updated to run under coverage.py.
113113
- make pythoninfo
114-
- bash <(curl -s https://codecov.io/bash)
114+
- bash <(curl -s https://codecov.io/bash) -y .github/codecov.yml
115115

116116

117117
before_install:

0 commit comments

Comments
 (0)