twangboy
c28b7d4710
Roll back pyzmq req to 16.0.3
2017-12-20 15:41:56 -07:00
Nicole Thomas
42e894570d
Merge pull request #45087 from rallytime/merge-2017.7
...
[2017.7] Merge forward from 2016.11 to 2017.7
2017-12-20 17:24:50 -05:00
Nicole Thomas
21de54de44
Merge pull request #45105 from rallytime/utils-path-update
...
Update old utils paths to new paths
2017-12-20 17:22:29 -05:00
twangboy
cf5eae1f77
Move pam library load to try/except block
...
Because there is no pam library in Windows this was causing a stack
trace to occur
2017-12-20 15:12:32 -07:00
Nicole Thomas
9550e742ac
Merge pull request #45112 from Ch3LL/fix-arch
...
Fix spm big file build test to check /tmp
2017-12-20 17:09:20 -05:00
twangboy
7de9dd7f2f
Fix a stack trace in grains.core
...
On Windows machines that do not have fiber channel cards, core.py was
throwing a stack trace everytime it tried to populate the fiber channel
port for grains
2017-12-20 14:57:02 -07:00
Ch3LL
1bd7110a14
Fix spm big file build test to check /tmp
2017-12-20 14:40:10 -05:00
Nicole Thomas
71f9c7ee49
Merge pull request #45068 from rallytime/bp-44976
...
Back-port #44976 to 2017.7
2017-12-20 11:31:21 -05:00
Nicole Thomas
b9503a46af
Merge pull request #45085 from rallytime/43296-follow-up
...
Version added update for new boto_s3 module and state
2017-12-20 11:30:11 -05:00
rallytime
fe81e2d39a
Merge branch '2016.11' into '2017.7'
...
No conflicts.
2017-12-20 10:26:10 -05:00
Nicole Thomas
7e128e8f15
Merge pull request #45100 from rallytime/bp-45070
...
Back-port #45070 to 2016.11
2017-12-20 09:55:00 -05:00
Erik Johnson
67769b8ad6
Merge pull request #45101 from rallytime/bp-45062
...
Back-port #45062 to oxygen
2017-12-20 08:41:52 -06:00
Erik Johnson
54a33c0e1d
Merge pull request #45099 from rallytime/bp-44983
...
Back-port #44983 to 2017.7
2017-12-20 08:41:21 -06:00
Erik Johnson
bdf93f339d
Merge pull request #45098 from rallytime/bp-45092
...
Back-port #45092 to 2016.11
2017-12-20 08:40:51 -06:00
Erik Johnson
c4baa233bf
Optimization: don't allocate a new list to concatenate
2017-12-20 08:39:42 -06:00
Erik Johnson
97e6b71af2
EAFP
...
If the __pycache__ dir is not present, we will get an OSError, which we
are already catching and ignoring. No need to check for that dir.
2017-12-20 08:39:41 -06:00
Erik Johnson
4951b9a60d
PY3: Make loader ignore .pyc files not in __pycache__
...
This keeps the loader from loading a PY2 .pyc file if it is present.
2017-12-20 08:39:41 -06:00
Erik Johnson
8c360dd3fb
Revert "Clear Python 2 .pyc files when Python 3 suite runs"
...
This reverts commit 7a60cfd171
.
2017-12-20 08:39:41 -06:00
rallytime
ec2a32a106
Update old utils paths to new paths
2017-12-20 08:03:14 -05:00
Michael Calmer
744e698689
adapt tests to reflect reality
...
When CherryPy run with python3 it reads "bytes" from the wire.
In case of python2 BytesIO == StringIO, so nothing should change.
This change will do the same to make unit tests reflect reality.
2017-12-20 06:59:56 -05:00
Michael Calmer
9fa126f664
cherrypy read() reads bytes from the wire and write them into contents var
2017-12-20 06:59:49 -05:00
Vernon Cole
0bdb46dab9
add clouds modules to index
2017-12-20 06:58:09 -05:00
Victor
23361de8a2
Ref:44961 - Modified archive.tar to add dest argument at the end of the tar cmd.
2017-12-20 06:56:19 -05:00
Erik Johnson
80b6bd6813
Fix integration.states.test_pip.PipStateTest.test_pip_installed_weird_install
...
Carbon 1.1.1 for some reason added six to their setup.py, which breaks
this test since it's not installed into the virtualenv. This PR forces
this test to use a version of carbon which does not dep on six in its
setup.py.
2017-12-20 06:54:30 -05:00
Nicole Thomas
dafd2fc61f
Merge pull request #45083 from Ch3LL/gce_test_fix
...
Force gce cloud test name to be lowercase
2017-12-20 06:46:23 -05:00
Nicole Thomas
19997e4d81
Merge pull request #45092 from terminalmage/fix-pip-test
...
Fix integration.states.test_pip.PipStateTest.test_pip_installed_weird_install
2017-12-20 05:52:08 -05:00
Nicole Thomas
b1dc0de02f
Merge pull request #45038 from terminalmage/fix-missing-exc
...
docker_image: Fix missing exc in except, pass proper args to docker.build
2017-12-19 19:50:21 -05:00
Erik Johnson
109c9936d3
Fix integration.states.test_pip.PipStateTest.test_pip_installed_weird_install
...
Carbon 1.1.1 for some reason added six to their setup.py, which breaks
this test since it's not installed into the virtualenv. This PR forces
this test to use a version of carbon which does not dep on six in its
setup.py.
2017-12-19 18:37:59 -06:00
angeloudy
cf411f8984
Merge branch '2017.7' into 2017.7
2017-12-20 09:51:34 +11:00
angeloudy
177fd18671
fix TypeError in python 3
...
move 383d1e9970
to 2017.7
python3 expect str instead of bytes
2017-12-20 09:49:07 +11:00
Erik Johnson
7a60cfd171
Clear Python 2 .pyc files when Python 3 suite runs
...
This prevents import errors when Python 2 .pyc files exist and the test
suite is run under Python 3.
2017-12-19 15:35:10 -06:00
Erik Johnson
e65237c390
Update test to match how file.append works
2017-12-19 15:34:31 -06:00
Erik Johnson
4501d0d6f9
Fix nested structure test for py2 and py3
2017-12-19 15:34:11 -06:00
Erik Johnson
52903e2f09
Handle non-strings passed to exception constructors
2017-12-19 15:33:07 -06:00
Erik Johnson
76011565aa
Convert line differently depending on filehandle's mode
2017-12-19 15:32:28 -06:00
Nicole Thomas
b5e98dd2ad
Merge branch 'oxygen' into isbm-sql-pillar-bugfix
2017-12-19 15:17:52 -05:00
twangboy
42607982cb
Update docs for new support
...
Fix some types in the help for the installer
2017-12-19 11:10:05 -07:00
Erik Johnson
7d6b679ac4
Fix fake importer for Python 3
...
Python 3 does not appear to pass all values to the `__import__` builtin
when they do not differ from the defaults. Therefore, the fake import
fails because of missing positional args.
This fix simply uses the defaults from Python 2 and 3's `__import__`
builtin.
2017-12-19 12:09:36 -06:00
Erik Johnson
016ffbe7f8
Fix incorrectly-written VMware tests
2017-12-19 12:09:36 -06:00
Erik Johnson
c6f54ecff4
Make lazydict workaround PY3-compatible
2017-12-19 12:09:36 -06:00
Erik Johnson
2d0e96385f
Fix import of ipaddress on PY3
...
This should only be imported on PY2
2017-12-19 12:09:36 -06:00
Erik Johnson
0f16821826
docker-py logs() function returns bytestrings
2017-12-19 12:09:36 -06:00
Erik Johnson
d265b671b9
Fix incorrect type coercion
2017-12-19 12:09:36 -06:00
Erik Johnson
0b81631022
Add exception logging when we fail to start the container
2017-12-19 12:09:36 -06:00
Erik Johnson
3589667927
Make sorting a list of dicts PY3-compatible
2017-12-19 12:09:36 -06:00
Erik Johnson
744329ea90
Must use six.text_type to get exception message
2017-12-19 12:09:36 -06:00
Erik Johnson
a88f1cb80e
Fix state.sls_id in salt-ssh
...
Additionally, update the other funcs to pull the SLS opts from the new
salt.uilts.state.get_sls_opts().
2017-12-19 12:09:36 -06:00
Erik Johnson
15296e59a5
Add debug logging to SSHCase
2017-12-19 12:09:35 -06:00
Erik Johnson
fa66e54dd6
Pass through SLS opts to compile_state
2017-12-19 12:09:35 -06:00
Erik Johnson
aecbd151aa
Fix incorrect use of six.string_types
2017-12-19 12:09:35 -06:00