Commit graph

97 commits

Author SHA1 Message Date
ch3ll
df480e37c0 update pydir call and fix format 2020-05-07 16:22:31 -07:00
ch3ll
c87642181e add towncrier to manage changelog 2020-05-07 16:22:31 -07:00
Pedro Algarvio
a0e96810fd Show test execution order in CI runs to help debug test suite hangs 2020-05-07 16:00:11 -07:00
Pedro Algarvio
e157459016 Switch to pytest-salt-factories 2020-05-07 16:00:11 -07:00
Pedro Algarvio
146e1d6547 Fix cloud tests selection 2020-04-29 11:25:12 -07:00
Daniel Wozniak
096dc75a70
Merge pull request #56727 from s0undt3ch/features/doc-pre-commit
Replace `tests/unit/test_doc.py` with a pre-commit hook.
2020-04-23 23:30:54 -07:00
Pedro Algarvio
a5b9961f78
Lay the ground for invoke usage 2020-04-23 18:42:47 +01:00
Pedro Algarvio
a24f6fe7e7
Default crypto library to pycryptodomex 2020-04-23 09:32:34 +01:00
Daniel Wozniak
9141e4d34f
Merge pull request #56821 from s0undt3ch/hotfix/requirements
[PyTest #33 - Extract] Preliminary Py3.8 & Py3.9 Static Requirements Files
2020-04-22 21:51:31 -07:00
Pedro Algarvio
625460bc4a
Allow running the test suite against Py3.8 and Py3.9 2020-04-22 12:26:30 +01:00
Pedro Algarvio
d3dbe0b39d
Call coverage or pytest using python -m
This has the desired side effect to add the current directory to
`sys.path`
2020-04-22 08:00:51 +01:00
Pedro Algarvio
a5b2b6c350
Drop the old py.test call in favour of the new pytest call 2020-04-22 08:00:50 +01:00
ch3ll
5994376c11
Revert "update pydir call and fix format"
This reverts commit 7468883dc0.
2020-04-20 09:39:00 -04:00
ch3ll
2586f716b2
Revert "add towncrier to manage changelog"
This reverts commit 57d160cc60.
2020-04-20 09:34:36 -04:00
ch3ll
7468883dc0
update pydir call and fix format 2020-04-16 17:04:53 -04:00
ch3ll
57d160cc60
add towncrier to manage changelog 2020-04-16 17:04:49 -04:00
Blacken Salt
0b2a5613b3
Blacken salt 2020-04-03 13:05:41 -05:00
Pedro Algarvio
e6cc2a6192
Separate pyobjc requirements 2020-03-23 22:52:24 +00:00
twangboy
224f72d0f2
Update noxfile and .precommit 2020-03-23 13:58:38 -06:00
twangboy
3bda8ddb82
Update noxfile and pre-commit 2020-03-20 17:52:59 -06:00
Pedro Algarvio
04e5cde9dd
pkg/osx/req_ext.txt no longer exists 2020-03-19 21:16:48 +00:00
Pedro Algarvio
6878111344
Update to latest unittest-xml-reporting. Fix missing .fileno method. 2020-01-15 16:04:20 -08:00
Pedro Algarvio
02d1a7d984
Have nox reuse pre-commit's virtualenv 2020-01-03 13:38:20 +00:00
Pedro Algarvio
f0bc3d7594
PyLint disable try-except-raise 2020-01-03 10:54:43 +00:00
Pedro Algarvio
c5043618ac
"Tee" the pylint output instead of echoing it at the end 2020-01-03 08:34:58 +00:00
Pedro Algarvio
b3b3f43157
Remove custom lint flags from pylint sessions. Lint fix. 2020-01-03 08:34:58 +00:00
Pedro Algarvio
0bec0597ab
Start linting under Py3 2020-01-03 08:34:57 +00:00
Pedro Algarvio
6e5b627627
Use coverage==5.0.1 2019-12-27 12:35:34 +00:00
Pedro Algarvio
3adb8a2bb4
Don't rerun failed tests for now 2019-12-17 18:20:41 +00:00
Pedro Algarvio
70b3ccb7ac
Don't write over JUnit tests results on re-runs 2019-12-17 18:20:41 +00:00
Pedro Algarvio
3f9a26e857
Future proof the debian based distro's python-apt copy "hack" 2019-12-10 15:06:00 +00:00
Pedro Algarvio
36b405acaf
Ignore the resource-leakage lint rule 2019-12-02 17:17:43 +00:00
Bryce Larson
82a7e4ea4d
compress docs with xz to save more space 2019-12-01 15:19:51 -07:00
Pedro Algarvio
d8275f2c1d
Prevent bytecode from being written do disk 2019-11-27 20:10:49 +00:00
Pedro Algarvio
635e7f2b33
Don't nuke our multiprocessing efforts objc! 2019-11-27 20:09:33 +00:00
Pedro Algarvio
4d8503e304
Fix path to Mac OS requirements file 2019-11-10 15:46:10 +00:00
Pedro Algarvio
eea27dc56b
Timestamp log files 2019-10-31 15:22:39 +00:00
Pedro Algarvio
738d5765f9
Use relative paths 2019-10-31 15:22:39 +00:00
Pedro Algarvio
549274584b
Generate and upload salt and tests coverage separately 2019-10-30 21:31:01 +00:00
Pedro Algarvio
ed0dccaeff
Nox docs build now builds HTML docs and Man pages 2019-10-28 15:28:19 +00:00
Pedro Algarvio
c086a7546a
Add crypto requirements constrains.
Additionally, add support for OSX constrains file into noxfile.
2019-10-28 13:55:06 +00:00
Pedro Algarvio
63bd6a92d8
Fix Docs and Lint nox pip constrains usage 2019-10-28 13:22:08 +00:00
Pedro Algarvio
5df806955b
Switch to pip constraints files 2019-10-17 20:22:46 +01:00
Pedro Algarvio
503f1e2a82
Consolidate linux static requirements 2019-10-17 20:22:46 +01:00
Pedro Algarvio
546a9511be
RAET is now deprecated 2019-10-10 09:47:05 +01:00
Pedro Algarvio
b459a482a0
Don't fail when combining coverage files 2019-07-18 18:20:19 +01:00
Pedro Algarvio
69e1d84525
Workaround nox's install only flag
To get some information from the system, which we then use to choose the
appropriate static requirements file, we need to run some commands,
something that nox will refuse to do if `--install-only` is passed.

We work around it by manually patching the value of
`session._runner.global_config.install_only` for the commands that we
MUST run, and only those and then we set it back to the value it had
before.

For additional information about why we have to do this, please see:
   https://github.com/theacodes/nox/pull/181
2019-06-17 12:22:27 +01:00
Akmod
1c3667a3ac
Updated paramiko to version 2.2.3 for python3.7 support (#53356)
* Updated paramiko to version 2.2.3 for python3.7 support

* Handle nox running under Py2 and Py3

* Stop compiling static TCP requirements.

* Fix Amazon 2018.03 in excludes

* Compile requirements files
2019-06-05 12:07:28 -06:00
Pedro Algarvio
1cf57e9418
Merge pull request #53273 from s0undt3ch/hotfix/py3-nox-docs-2019.2.1
[2019.2.1] Switch docs building under Py3
2019-06-05 11:01:02 +01:00
Pedro Algarvio
bec7fa5521
The TCP transport needs the exact same requirements as the ZeroMQ one
```
10:38:21          test_down (integration.runners.test_manage.ManageTest) ... 09:37:29,619 [salt.minion                                               :3064][CRITICAL] Unexpected error while connecting to localhost
10:38:21        Traceback (most recent call last):
10:38:21          File "/tmp/kitchen/testing/salt/minion.py", line 3036, in _connect_syndic
10:38:21            yield syndic.connect_master(failed=failed)
10:38:21          File "/tmp/kitchen/testing/.nox/runtests-parametrized-2-7-coverage-true-crypto-none-transport-tcp/lib/python2.7/site-packages/tornado/gen.py", line 1055, in run
10:38:21            value = future.result()
10:38:21          File "/tmp/kitchen/testing/.nox/runtests-parametrized-2-7-coverage-true-crypto-none-transport-tcp/lib/python2.7/site-packages/tornado/concurrent.py", line 238, in result
10:38:21            raise_exc_info(self._exc_info)
10:38:21          File "/tmp/kitchen/testing/.nox/runtests-parametrized-2-7-coverage-true-crypto-none-transport-tcp/lib/python2.7/site-packages/tornado/gen.py", line 1063, in run
10:38:21            yielded = self.gen.throw(*exc_info)
10:38:21          File "/tmp/kitchen/testing/salt/minion.py", line 1218, in connect_master
10:38:21            master, self.pub_channel = yield self.eval_master(self.opts, self.timeout, self.safe, failed)
10:38:21          File "/tmp/kitchen/testing/.nox/runtests-parametrized-2-7-coverage-true-crypto-none-transport-tcp/lib/python2.7/site-packages/tornado/gen.py", line 1055, in run
10:38:21            value = future.result()
10:38:21          File "/tmp/kitchen/testing/.nox/runtests-parametrized-2-7-coverage-true-crypto-none-transport-tcp/lib/python2.7/site-packages/tornado/concurrent.py", line 238, in result
10:38:21            raise_exc_info(self._exc_info)
10:38:21          File "/tmp/kitchen/testing/.nox/runtests-parametrized-2-7-coverage-true-crypto-none-transport-tcp/lib/python2.7/site-packages/tornado/gen.py", line 307, in wrapper
10:38:21            yielded = next(result)
10:38:21          File "/tmp/kitchen/testing/salt/minion.py", line 713, in eval_master
10:38:21            pub_channel = salt.transport.client.AsyncPubChannel.factory(self.opts, **factory_kwargs)
10:38:21          File "/tmp/kitchen/testing/salt/transport/client.py", line 161, in factory
10:38:21            import salt.transport.zeromq
10:38:21          File "/tmp/kitchen/testing/salt/transport/zeromq.py", line 41, in <module>
10:38:21            import zmq.error
10:38:21        ImportError: No module named zmq.error
```
2019-05-29 13:10:46 +01:00