Commit graph

80 commits

Author SHA1 Message Date
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
Pedro Algarvio
98653c068d
Allow docs to be built on Python >= 3.5, not just Python 3.6 2019-05-29 11:42:12 +01:00
Pedro Algarvio
c54f06f085
Have sphinx turn errors into warnings 2019-05-29 11:42:04 +01:00
Pedro Algarvio
07f432796c
Switch docs building under Py3
Refs #53137
2019-05-29 11:42:01 +01:00
Pedro Algarvio
73c37262a2
Salt >= 2018.3.x supports Py3.7 2019-05-10 20:41:54 +01:00
Pedro Algarvio
c3a21f5ac9
As a script, not as a module 2019-05-08 13:16:44 +01:00
Pedro Algarvio
8948b690b1
Include COVERAGE_FILE as an env variable.
This will tell coverage where to save all coverage files.
2019-05-08 13:16:44 +01:00
Pedro Algarvio
294d6f43b9
Use the system's path separator 2019-05-08 13:16:43 +01:00
Pedro Algarvio
e52ab8762b
Always combine and generate the XML coverage report 2019-05-08 13:16:43 +01:00
Pedro Algarvio
ba8d0feb5c
Allow --install-only to gather the required information 2019-05-08 13:16:43 +01:00
Pedro Algarvio
6e5768a3b5
Add a nox session for the Jenkins tornado jobs 2019-05-08 13:16:40 +01:00
Pedro Algarvio
43321e80f3
Add a cloud nox session for both runtests and pytest 2019-05-08 13:16:40 +01:00
Pedro Algarvio
5965ab4b60
Disable progress bars on pip installs 2019-05-08 13:16:37 +01:00
Pedro Algarvio
870b8990f9
Remove unused argument 2019-05-08 13:16:36 +01:00
Pedro Algarvio
1656cb496e
Disable re-runing failed tests for now 2019-05-08 13:16:36 +01:00
Pedro Algarvio
83dc97dfee
Actually write the lint reports.
It's just too much trouble to stream both to stdout and to a file from a
subprocess.
2019-05-08 13:16:35 +01:00
Pedro Algarvio
0090c5595d
Try and address the fact that some python packages are only provided by the distro
This is the case for python-apt on debian based distributions.
2019-05-08 13:16:35 +01:00
Pedro Algarvio
d308dce3f5
Be verbose in a CI context 2019-05-08 13:16:33 +01:00