Commit Graph

2181 Commits (2b234936b8e38dc7b660ec8a2a7e42da7eb455ef)
 

Author SHA1 Message Date
David Wilson 3b4f184298 issue #477: replace type(e) -> __class__ for an exception
Due to old style exception classes.
6 years ago
David Wilson b985224ff6 issue #477: old Mock does not throw side_effect exceptions from a list 6 years ago
David Wilson a8716972fb issue #477: 2.4 stat() returned int timestamps not float. 6 years ago
David Wilson 19eafc5755 issue #477: set().union(a, b, ..) unsupported on Py2.4. 6 years ago
David Wilson e460d648d5 issue #477: Logger.log(extra=) unsupported on Py2.4. 6 years ago
David Wilson 1f59bcc313 issue #477: fix another Threading.getName() call. 6 years ago
David Wilson bd81b6fd6e issue #477: %f date format requires Py2.6 or newer. 6 years ago
David Wilson 6a2f88d6a3 issue #477: make mitogen.fork unsupported on Py<2.6. 6 years ago
David Wilson 112caa94f9 issue #477: Py2.4 dep scanner bytecode difference 6 years ago
David Wilson 155f26723d Drop 'alpha' trove classifier 6 years ago
David Wilson bba5d82fc4 issue #477: fix another str/bytes mixup. 6 years ago
David Wilson d6dcb8d010 issue #477: blacklist 'thread' module to avoid roundtrip on 2.x->3.x 6 years ago
David Wilson c9ff4c6506 issue #477: fix 3.x failure in new target.set_file_mode() function. 6 years ago
David Wilson aa5d37af89 issue #477: fix 3.x failure in new target.set_file_mode() function. 6 years ago
David Wilson 51294db52d issue #477: fix 2 runner tests on Ansible 2.7. 6 years ago
David Wilson 84a0424749 issue #477: fix 3.x test regressions. 6 years ago
David Wilson 01db198122 issue #477: fix new KwargsTest on Python 3.x. 6 years ago
David Wilson d4897d37bb issue #477: ModuleFinder now returns Unicode module names. 6 years ago
David Wilson 4c1ddf6fc1 issue #477: Python3 does not have Pickler.dispatch. 6 years ago
David Wilson 7ecd5d8ba3 issue #477: ModuleFinder test fixes. 6 years ago
David Wilson c443244986 issue #477: Ansible 2.3 compatible regression/all.yml. 6 years ago
David Wilson 532ae92029 issue #477: Ansible 2.3 requires placeholder module for assert_equals 6 years ago
David Wilson 572db1a385 issue #477: build a CentOS 5/Py2.4 container + playbook compat fixes. 6 years ago
David Wilson a31718a6bc issue #477: use PY24 constant rather than explicit test. 6 years ago
David Wilson bc434a4f99 issue #477: backport mitogen.master to Python 2.4. 6 years ago
David Wilson ffd46e9f1c issue #477: parent: make iter_read() log disconnect reason. 6 years ago
David Wilson 81f15028a7 issue #477: backport ansible_mitogen.runner to 2.4. 6 years ago
David Wilson 0b0ae5c971 issue #477: backport various test modules to Python 2.4. 6 years ago
David Wilson 256628c149 issue #477: backport ansible_mitogen/target.py to Python2.4 6 years ago
David Wilson 462a8567e5 issue #477: add all() polyfill to custom_python_detect_environmnet 6 years ago
David Wilson 87d2af4c6e issue #477: polyfill partition() use in mitogen.parent. 6 years ago
David Wilson dd86a157ff issue #477: polyfill partition() use in mitogen.service. 6 years ago
David Wilson d6da84c38f issue #477: polyfill partition() use in mitogen.ssh. 6 years ago
David Wilson a48ee3a536 issue #477: vendorize the last 2.4-compatible simplejson
This is in part so image_prep can run against an ancient CentOS 5 image
without any upfront help, and in part simply because it's very easy to
support.
6 years ago
David Wilson e9706a4a09 issue #477: _update_linecache() must append newlines. 6 years ago
David Wilson 19b708e141 issue #415, #477: Poller must handle POLLHUP too.
Linux will fire poll() with simply the POLLHUP bit set even though it
was not requested, resulting in an infinite loop.
6 years ago
David Wilson 07f1b9bdd0 issue #477: Python 2.5 needs next() polyfill too. 6 years ago
David Wilson 3afd667136 issue #477: explicitly populate Py2.4 linecache from Importer. 6 years ago
David Wilson 97a96f5dd8 issue #477: rename and add tests for polyfill functions. 6 years ago
David Wilson da13415b00 issue #477: various core.py docstring cleanups. 6 years ago
David Wilson dc01f9e47e issue #477: Ansible 2.3 module output format difference.
Don't test for keys it doesn't set.
6 years ago
David Wilson b6062afe24 issue #477: Ansible 2.3 cannot use when: on an include.
So just use our magic action module to reset the connection instead.
6 years ago
David Wilson c1a4597e32 issue #477: tests: use Ansible 2.3-compatible include rather than import
This will break with Ansible 2.8. Probably going to end up with a regex
hack for CI.
6 years ago
David Wilson 59dd0dc814 issue #477: serve up junk ansible/__init__.py just like Ansible. 6 years ago
David Wilson 83aff538b3 issue #477: testlib: Py2.4 did not have BaseException. 6 years ago
David Wilson 5135ff9068 issue #477: master: ability to override ModuleResponder output.
This is needed to cope Ansible 2.3 doing weird stuff as usual. It serves
up __init__.py for ansible and ansible.module_utils as hard-coded
namespace packages, the real ansible/__init__.py on disk is not 2.4
compatible.
6 years ago
David Wilson dd36450daf issue #477: yet another bug in core._partition(). 6 years ago
David Wilson d8490bc90a issue #477: 2.4.x compat fixes for mitogen.service. 6 years ago
David Wilson 58d8813c03 issue #477: Py2.4 lacks all(). 6 years ago
David Wilson be8562ce09 issue #477: Ansible 2.3 had stricter arg spec format. 6 years ago