Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'trunk' into 9781-https-everywhere
- Loading branch information
Showing
139 changed files
with
2,139 additions
and
6,989 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
parameters: | ||
- name: imageName | ||
type: string | ||
default: 'macOS-latest' | ||
# Must be a mapping of id-suitable-name -> actual version number with dot | ||
- name: pythonVersions | ||
type: object | ||
|
||
|
||
jobs: | ||
- ${{ each pyver in parameters.pythonVersions }}: | ||
- job: ${{ format('macos_{0}', pyver.key) }} | ||
displayName: ${{ format('MacOS Py{0}', pyver.value) }} | ||
pool: | ||
vmImage: ${{ parameters.imageName }} | ||
steps: | ||
- template: 'run_test_steps.yml' | ||
parameters: | ||
platform: macos | ||
pythonVersion: ${{ pyver.value }} | ||
allowFailure: ${{ eq(pyver.value, '3.8') }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
parameters: | ||
|
||
- name: platform | ||
type: string | ||
values: | ||
- macos | ||
- windows | ||
|
||
- name: pythonVersion | ||
type: string | ||
values: | ||
- '3.5' | ||
- '3.6' | ||
- '3.7' | ||
- '3.8' | ||
|
||
- name: windowsReactor | ||
type: string | ||
default: select | ||
values: | ||
- select | ||
- iocp | ||
|
||
- name: allowFailure | ||
type: boolean | ||
default: false | ||
|
||
steps: | ||
- task: UsePythonVersion@0 | ||
displayName: "Use Python ${{ parameters.pythonVersion }}" | ||
inputs: | ||
versionSpec: "${{ parameters.pythonVersion }}" | ||
|
||
- script: | | ||
python --version | ||
python -c "import sys; print(sys.prefix)" | ||
python -c "import sys; print(sys.exec_prefix)" | ||
python -c "import sys; print(sys.executable)" | ||
python -c "import struct; print(struct.calcsize('P') * 8)" | ||
displayName: 'Get Python Information' | ||
|
||
- script: 'python -m pip install -U pip setuptools tox' | ||
displayName: 'Update pip & install tox' | ||
|
||
- ${{ if eq(parameters.platform, 'macos') }}: | ||
- script: 'python -m tox -e alldeps-withcov-posix' | ||
displayName: 'Run tests' | ||
continueOnError: ${{ parameters.allowFailure }} | ||
|
||
- ${{ if eq(parameters.platform, 'windows') }}: | ||
- script: 'python -m tox -e alldeps-withcov-windows' | ||
displayName: 'Run tests' | ||
continueOnError: ${{ parameters.allowFailure }} | ||
env: | ||
TWISTED_REACTOR: ${{ parameters.windowsReactor }} | ||
|
||
- script: 'python -m tox -e coverage-prepare,coveralls-push' | ||
displayName: 'Report coverage' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
trigger: | ||
batch: true | ||
branches: | ||
include: | ||
- trunk | ||
|
||
pr: | ||
branches: | ||
include: | ||
- trunk | ||
|
||
variables: | ||
INFRASTRUCTURE: "AZUREPIPELINES" | ||
TRIAL_REPORTER: "verbose" | ||
|
||
jobs: | ||
|
||
- template: 'macos_test_jobs.yml' | ||
parameters: | ||
pythonVersions: | ||
py35: "3.5" | ||
py36: "3.6" | ||
py37: "3.7" | ||
py38: "3.8" | ||
|
||
- template: 'windows_test_jobs.yml' | ||
parameters: | ||
pythonVersions: | ||
py35: "3.5" | ||
py36: "3.6" | ||
py37: "3.7" | ||
py38: "3.8" | ||
reactor: select | ||
|
||
- template: 'windows_test_jobs.yml' | ||
parameters: | ||
pythonVersions: | ||
py35: "3.5" | ||
py36: "3.6" | ||
py37: "3.7" | ||
py38: "3.8" | ||
reactor: iocp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
parameters: | ||
- name: imageName | ||
type: string | ||
default: 'windows-latest' | ||
# Must be a mapping of id-suitable-name -> actual version number with dot | ||
- name: pythonVersions | ||
type: object | ||
- name: reactor | ||
type: string | ||
values: | ||
- select | ||
- iocp | ||
|
||
|
||
jobs: | ||
- ${{ each pyver in parameters.pythonVersions }}: | ||
- job: ${{ format('windows_{0}_{1}reactor', pyver.key, parameters.reactor) }} | ||
displayName: ${{ format('Windows Py{0} {1}reactor', pyver.value, parameters.reactor) }} | ||
pool: | ||
vmImage: ${{ parameters.imageName }} | ||
steps: | ||
- template: 'run_test_steps.yml' | ||
parameters: | ||
platform: windows | ||
pythonVersion: ${{ pyver.value }} | ||
windowsReactor: ${{ parameters.reactor }} | ||
allowFailure: ${{ eq(pyver.value, '3.8') }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
twisted.conch.ssh now supports Ed25519 keys (requires OpenSSL >= 1.1.1b). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
t.c.ssh.filetransfer.FileTransferClient now errbacks any outstanding requests if the connection is lost before a reply is received. |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
t.c.ssh.filetransfer.FileTransferClient immediately errbacks any attempt to send a request on a closed channel. |
Oops, something went wrong.