-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/026' into stable
* origin/026: docs: update Changelog for release. Bump version for release. issue #555: ansible: workaround ancient reload(sys) hack. issue #554: mitogen_action_script fix issue #554: fix Ansible 2.4 compatibility issue #554: don't rely on tmp_path autoremoval in test. issue #554: track and remove multiple make_tmp_path() calls. docs: update Changelog. docs: drastically simplify install/changelog. issue #552: include process identity in log messages. issue #550: update Changelog. issue #550: parent: add explanatory comment. issue #550: fix up TTY ioctls on WSL 2016 Anniversary Update docs: update Changelog. service: make service list optional. docs: update Changelog; closes #548. issue #548: always treat transport=smart as 'ssh' for mitogen_via=. docs: better intro paragraph. .ci: copy private key file to tempdir. os_fork: more doc tweaks os_fork: more doc tweaks os_fork: yet more doc tidyup os_fork: more doc tweaks os_fork: clean up docs .ci: import soak scripts. .ci: allow containers for different jobs to run simultaneously os_fork: python 3 fixes and tests. issue #535: activate Corker on 2.4 in master too. issue #535: update Changelog. issue #535: wire mitogen.os_fork into Broker and Pool. issue #535: parent: add create_socketpair(size=..) parameter. issue #535: introduce mitogen.os_fork module and Corker class. issue #535: docs: update Changelog issue #535: service: support Pool.defer() like Broker.defer() issue #535: core: unicode.encode() may take importer lock on 2.x issue #535: docs: fix up Select doc issue #535: docs: update Changelog. issue #535: core/select: support selecting from Latches. core: increase cookie field lengths to 64-bit; closes #545. tests: ensure serialization restrictions are in effect tests/bench: set process affinity in throughput.py. docs: update copyright year. docs: update Changelog. core: Make Latch.put(obj=) optional. docs: change 'unreleased' Changelog format and add a hint. docs: update Changelog; closes #542. issue #542: return of select poller, new selection logic issue #542: .ci: move some tests to Azure and enable Mac job. ansible: create stub __init__.py for sdist.
- Loading branch information
Showing
50 changed files
with
1,307 additions
and
398 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
parameters: | ||
name: '' | ||
pool: '' | ||
sign: false | ||
|
||
steps: | ||
- task: UsePythonVersion@0 | ||
inputs: | ||
versionSpec: '$(python.version)' | ||
architecture: 'x64' | ||
|
||
- script: .ci/prep_azure.py | ||
displayName: "Install requirements." | ||
|
||
- script: .ci/$(MODE)_install.py | ||
displayName: "Install requirements." | ||
|
||
- script: .ci/$(MODE)_tests.py | ||
displayName: Run tests. |
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
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 |
---|---|---|
@@ -1,22 +1,30 @@ | ||
#!/usr/bin/env python | ||
|
||
import os | ||
import sys | ||
|
||
import ci_lib | ||
|
||
batches = [] | ||
batches.append([ | ||
'echo force-unsafe-io | sudo tee /etc/dpkg/dpkg.cfg.d/nosync', | ||
'sudo add-apt-repository ppa:deadsnakes/ppa', | ||
'sudo apt-get update', | ||
'sudo apt-get -y install python2.6 python2.6-dev libsasl2-dev libldap2-dev', | ||
]) | ||
|
||
batches.append([ | ||
'pip install -r dev_requirements.txt', | ||
]) | ||
|
||
batches.extend( | ||
['docker pull %s' % (ci_lib.image_for_distro(distro),)] | ||
for distro in ci_lib.DISTROS | ||
) | ||
|
||
if ci_lib.have_apt(): | ||
batches.append([ | ||
'echo force-unsafe-io | sudo tee /etc/dpkg/dpkg.cfg.d/nosync', | ||
'sudo add-apt-repository ppa:deadsnakes/ppa', | ||
'sudo apt-get update', | ||
'sudo apt-get -y install python2.6 python2.6-dev libsasl2-dev libldap2-dev', | ||
]) | ||
|
||
|
||
#batches.append([ | ||
#'pip install -r dev_requirements.txt', | ||
#]) | ||
|
||
if ci_lib.have_docker(): | ||
batches.extend( | ||
['docker pull %s' % (ci_lib.image_for_distro(distro),)] | ||
for distro in ci_lib.DISTROS | ||
) | ||
|
||
|
||
ci_lib.run_batches(batches) |
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,16 @@ | ||
#!/bin/bash | ||
|
||
export NOCOVERAGE=1 | ||
|
||
# Make Docker containers once. | ||
/usr/bin/time -v ./.ci/debops_common_tests.py "$@" || break | ||
export KEEP=1 | ||
|
||
i=0 | ||
while : | ||
do | ||
i=$((i + 1)) | ||
/usr/bin/time -v ./.ci/debops_common_tests.py "$@" || break | ||
done | ||
|
||
echo $i |
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,17 @@ | ||
#!/bin/bash | ||
|
||
export NOCOVERAGE=1 | ||
export DISTROS="debian*4" | ||
|
||
# Make Docker containers once. | ||
/usr/bin/time -v ./.ci/ansible_tests.py "$@" | ||
export KEEP=1 | ||
|
||
i=0 | ||
while : | ||
do | ||
i=$((i + 1)) | ||
/usr/bin/time -v ./.ci/ansible_tests.py "$@" || break | ||
done | ||
|
||
echo $i |
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,12 @@ | ||
#!/bin/bash | ||
|
||
export NOCOVERAGE=1 | ||
|
||
i=0 | ||
while : | ||
do | ||
i=$((i + 1)) | ||
/usr/bin/time -v ./.ci/mitogen_py24_tests.py "$@" || break | ||
done | ||
|
||
echo $i |
Oops, something went wrong.