Commit graph

23468 commits

Author SHA1 Message Date
Pedro Algarvio
261e3e825d
Run pyupgrade against the files changed on the merge forward
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-08 21:32:10 +01:00
Pedro Algarvio
7d6f51f871
Merge 3006.x into master 2023-07-08 21:30:11 +01:00
Pablo Suárez Hernández
db5a9a1b4a Fix test to get proper formatted version 2023-07-01 08:46:56 +01:00
Pablo Suárez Hernández
3693a0db42 Do not crash when passing numbers to 'salt_version.get_release_number' 2023-07-01 08:46:56 +01:00
Pablo Suárez Hernández
69696e6fd7 Add some new and fix unit tests 2023-07-01 08:46:56 +01:00
twangboy
2fa9684169 Fix an issue caching the installer when version=latest 2023-07-01 08:45:29 +01:00
Megan Wilhite
99ce534e0c
Merge pull request #64587 from s0undt3ch/hotfix/merge-forward
[master] Merge 3006.x into master
2023-06-30 19:58:05 +00:00
Gareth J. Greenaway
f83d414280 remove ignore_list 2023-06-30 19:53:08 +00:00
Gareth J. Greenaway
8744762580 remove ignore_list 2023-06-30 19:53:08 +00:00
Gareth J. Greenaway
f0933cf408 Adding ignore_list argument to the decorator to filter out functions in a module that should not have the deprecation warning applied. 2023-06-30 19:53:08 +00:00
Gareth J. Greenaway
60a97b6236 Using DeprecationWarning instead of FutureWarning. 2023-06-30 19:53:08 +00:00
Gareth J. Greenaway
2efc71ad12 Adding a new decorator to indicate when a module is deprecated in favor of a Salt extension 2023-06-30 19:53:08 +00:00
Pedro Algarvio
d5f14ef632
Merge 3006.x into master 2023-06-30 16:43:42 +01:00
cmcmarrow
9eac9cdef5 flip default on --no-fast 2023-06-30 08:21:30 +01:00
cmcmarrow
89e41f3155 unflip no-fast 2023-06-30 08:21:30 +01:00
Pedro Algarvio
2e962677b7
Run pyupgrade against the changes from the merge-forward
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-29 09:41:56 +01:00
Pedro Algarvio
819c2dc9e7
Merge 3006.x into master 2023-06-29 09:40:29 +01:00
Charles McMarrow
8869972f07 fix pre 2023-06-29 09:09:17 +01:00
Charles McMarrow
a7b178beca Fix Fast Tests 2023-06-29 09:09:17 +01:00
cmcmarrow
1f8dc3c510 allow flaky to double group 2023-06-29 09:09:17 +01:00
Charles McMarrow
ffa67b257c Update conftest.py 2023-06-29 09:09:17 +01:00
Charles McMarrow
115f3f6d6c Update conftest.py error msg 2023-06-29 09:09:17 +01:00
cmcmarrow
a1a414813b stop double test_labels 2023-06-29 09:09:17 +01:00
Pedro Algarvio
34f13a7632 pathlib.Path.__enter__() usage is deprecated and not required, a no-op
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-28 18:06:15 +00:00
Pedro Algarvio
f4eea34984 Stop accessing deprecated attributes
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-28 18:06:15 +00:00
Pedro Algarvio
31475e74e8
Run pypugrade against the files changed in the merge-forward
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-28 11:56:47 +01:00
Pedro Algarvio
c4987f83ed
Merge 3006.x into master 2023-06-28 11:51:20 +01:00
Pedro Algarvio
b6a9599a70 Just confirm that the expected error messages is in stderr
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-28 07:26:05 +01:00
Pedro Algarvio
7b99572095 Stop using the deprecated imp module
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-06-28 07:26:05 +01:00
Thomas Phipps
021c6792bf fix the runner.run to have its own full_return that defautls to False so anything currently using runner.run will work the same as before. this is what i should have done from the start. 2023-06-27 12:14:57 +01:00
jeanluc
560bacdaeb Add test for custom wrapper usage 2023-06-26 19:53:07 +00:00
jeanluc
830232f9e9 run pre-commit upgrade code for Py3.8+ again 2023-06-26 19:53:07 +00:00
jeanluc
31cf73704f Add sync_wrapper to saltutil state module 2023-06-26 19:53:07 +00:00
jeanluc
c81e8f045b run pre-commit upgrade code for Py3.8+ 2023-06-26 19:53:07 +00:00
jeanluc
7b0d09bd29 Add syncing of custom ssh wrappers 2023-06-26 19:53:07 +00:00
Thomas Phipps
90b3c25364 remove destructive and skip_if_not_root from fixture 2023-06-26 19:39:38 +00:00
Thomas Phipps
52f965eb42 remove destructive and skip_if_not_root from pytest.fixture 2023-06-26 19:39:38 +00:00
Thomas Phipps
b265eaecb7 add skip_if_not_root to destructive tests in aptpkg as they all manipulate the filesystem. 2023-06-26 19:39:38 +00:00
Thomas Phipps
31428b617d not sure why i included that r only needed w+ anyway 2023-06-26 19:39:38 +00:00
Thomas Phipps
1d85229886 fix #58667 by checking for blank comps in both source and request 2023-06-26 19:39:38 +00:00
Thomas Phipps
6f5b4e4e54 fix 3006.x nightly, this test should have already been testing for exitcode 1 not 0. as the is_leader throws an exception internal to it. 2023-06-26 19:33:21 +00:00
Megan Wilhite
617f9e92de Fix user unit test 2023-06-26 17:01:31 +00:00
Megan Wilhite
848b9dcfdd Fix user.present state when group is unset 2023-06-26 17:01:31 +00:00
twangboy
6ae0c5ad6c Add test 2023-06-26 13:40:39 +00:00
Thomas Phipps
dedade07d7 fix nightlys by mimicing what cli.run does to runner.run output in run_run_plus 2023-06-23 12:39:29 -07:00
MKLeb
2f5c44a45e Fixes for the handle_ssh return values now being lists of tuples 2023-06-22 11:48:39 -07:00
Thomas Phipps
e9b1b14b97 try fixing broken eauth test 2023-06-22 12:42:42 +00:00
Thomas Phipps
0078f83664 add secondary tests for salt-run. they were not requested by ticket but should be tested to make sure they do not break 2023-06-22 12:42:42 +00:00
Thomas Phipps
c1292aecbf add code to pass full_return through stack so exceptions can return retcode properly to salt-run cli 2023-06-22 12:42:42 +00:00
jeanluc
9f70585e34 run pre-commit upgrade code for Py3.8+ 2023-06-21 19:57:10 +00:00