cdist/cdist
evilham bed08c2c5c Deal with deprecation of imp module.
importlib has been a thing since Python 3.1, and imp has been deprecated since
3.4.

Insert random complaint here about not being able to use f-strings because they
were introduced in Python 3.6 and apparently we support Python 3.5 >,<.

Output diff before to after for ./bin/cdist-build-helper test (on heavy load):
```
1,2d0
< /usr/home/evilham/s/cdist/cdist/cdist/test/__main__.py:23: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
<   import imp
72c70
< ERROR: cdisttesthost: __file/tmp/foobar requires object __file without object id. Defined at /tmp/tmp.cdist.test.g87lx7c8/tmp.cdist.test.6ramsakx
---
> ERROR: cdisttesthost: __file/tmp/foobar requires object __file without object id. Defined at /tmp/tmp.cdist.test.aqdf6vjz/tmp.cdist.test.jgv3udel
76c74
< test_nonexistent_type_requirement (cdist.test.emulator.EmulatorTestCase) ... ERROR: cdisttesthost: __file/tmp/foobar requires object __does-not-exist/some-id, but type __does-not-exist does not exist. Defined at /tmp/tmp.cdist.test.mma5j8ln/tmp.cdist.test.3zg4by4d
---
> test_nonexistent_type_requirement (cdist.test.emulator.EmulatorTestCase) ... ERROR: cdisttesthost: __file/tmp/foobar requires object __does-not-exist/some-id, but type __does-not-exist does not exist. Defined at /tmp/tmp.cdist.test.t8d6ockr/tmp.cdist.test.uimxurg9
86c84
< test_initial_manifest_environment (cdist.test.manifest.ManifestTestCase) ... VERBOSE: cdisttesthost: Running initial manifest /tmp/tmp.cdist.test.uvid60ij/759547ff4356de6e3d9e08522b0d0807/data/conf/manifest/dump_environment
---
> test_initial_manifest_environment (cdist.test.manifest.ManifestTestCase) ... VERBOSE: cdisttesthost: Running initial manifest /tmp/tmp.cdist.test._cttcnrj/759547ff4356de6e3d9e08522b0d0807/data/conf/manifest/dump_environment
89c87
< test_type_manifest_environment (cdist.test.manifest.ManifestTestCase) ... VERBOSE: cdisttesthost: Running type manifest /tmp/tmp.cdist.test.k1i2onpb/759547ff4356de6e3d9e08522b0d0807/data/conf/type/__dump_environment/manifest for object __dump_environment/whatever
---
> test_type_manifest_environment (cdist.test.manifest.ManifestTestCase) ... VERBOSE: cdisttesthost: Running type manifest /tmp/tmp.cdist.test.ukr7lrzd/759547ff4356de6e3d9e08522b0d0807/data/conf/type/__dump_environment/manifest for object __dump_environment/whatever
272c270
< Ran 225 tests in 44.457s
---
> Ran 225 tests in 43.750s
```
2020-12-06 20:24:00 +01:00
..
conf Merge branch 'feature/type/__localedef' into 'master' 2020-11-20 19:42:52 +01:00
core Merge branch 'lint/py3-classes' into 'master' 2020-06-21 17:54:56 +02:00
exec Do not subclass object 2020-06-21 16:53:47 +02:00
preos/debootstrap Merge branch 'lint/py3-classes' into 'master' 2020-06-21 17:54:56 +02:00
scan pycodestyle fixes 2020-11-03 06:43:57 +01:00
sphinxext Fix man build failure in newer sphinx versions 2020-06-01 20:22:40 +02:00
test Deal with deprecation of imp module. 2020-12-06 20:24:00 +01:00
util Remove annoying warnings 2020-06-27 15:55:57 +02:00
__init__.py Make pycodestyle pipeline happy 2020-11-11 14:44:44 +01:00
argparse.py pycodestyle fixes 2020-11-03 06:43:57 +01:00
autil.py Add archiving support. 2017-08-09 16:56:02 +02:00
banner.py Some pylint cleaning. 2017-08-22 10:58:30 +02:00
config.py Clarify stdin input 2020-09-21 09:04:05 +02:00
configuration.py Restrict colored_output value to always/never/auto. 2020-06-06 13:45:31 +02:00
emulator.py [cdist.emulator] Fix setting of log level (tests OK) 2020-11-11 15:16:33 +01:00
flock.py Fix emulator colored logging 2020-06-11 14:16:37 +02:00
hostsource.py Do not subclass object 2020-06-21 16:53:47 +02:00
info.py Merge branch 'lint/py3-classes' into 'master' 2020-06-21 17:54:56 +02:00
install.py Merge branch 'lint/no-python-shebangs' into 'master' 2020-06-21 17:53:44 +02:00
integration.py Fix paths to cdist executable 2020-11-11 15:05:04 +01:00
inventory.py Clarify stdin input 2020-09-21 09:04:05 +02:00
log.py Merge branch 'lint/no-python-shebangs' into 'master' 2020-06-21 17:53:44 +02:00
message.py Do not subclass object 2020-06-21 16:53:47 +02:00
mputil.py Further improve parallel execution. 2017-07-26 17:39:07 +02:00
preos.py Do not subclass object 2020-06-21 16:53:47 +02:00
shell.py Do not subclass object 2020-06-21 16:53:47 +02:00