Commit graph

117908 commits

Author SHA1 Message Date
Pedro Algarvio
48749b15bc Bump to pyyaml==6.0.1 due to https://github.com/yaml/pyyaml/issues/601
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-18 15:11:49 +01:00
Pedro Algarvio
b45c3191d6
Merge pull request #64609 from s0undt3ch/hotfix/merge-forward
[master] Merge 3006.x into master
2023-07-09 03:48:04 +01:00
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
Pedro Algarvio
3a91a197d4 Downgrade to cffi==1.14.6 on windows to fix the package upgrade tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-08 19:01:55 +01:00
Pedro Algarvio
892aeeda0f Downgrade to psutil==5.8.0 on windows to fix the package upgrade tests
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-08 19:01:55 +01:00
Pedro Algarvio
46103123e4 Allow forcing the package tests to run by the test:pkg label
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-08 19:01:55 +01:00
Pedro Algarvio
7a2eeada09 Allow forcing the package tests to run by the test:pkg label
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-07 16:02:07 +00:00
Pedro Algarvio
dc9c22ab9b Switch to Debian 12 to build packages.
The latest cryptography 1.41.1 requires a version of rustc which is not
available on Debian 11

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-06 18:04:43 +01:00
Pedro Algarvio
3d097b8ed5 Upgrade to cryptography==41.0.1(and therefor pyopenssl==23.2.0 due to https://github.com/advisories/GHSA-5cpq-8wj7-hf2v
This only really impacts pip installs of Salt and the windows onedir
since the linux and macos onedir build every package dependency from
source, not from pre-existing wheels.

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-06 18:04:43 +01:00
Salt Project Packaging
e235b82912 Update the bootstrap script to v2023.06.28
(cherry picked from commit 1ef02f5e1d)
2023-07-06 07:00:47 +01:00
Pedro Algarvio
51e9fb6e71 Revert to Py3.10
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-03 19:37:17 +01:00
Pedro Algarvio
d91988fa1c Bump to pytest-shell-utilities==1.8.0 which officially support Py3.11
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
2023-07-03 19:35:54 +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
a92ddf5a41 Fix salt_version execution module documentation 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
8540a3fdd4 Rename changelog file according to bug report 2023-07-01 08:46:56 +01:00
Pablo Suárez Hernández
a2abb1a450 Fix SaltStackVersion string for new versions format 2023-07-01 08:46:56 +01:00
Pablo Suárez Hernández
4cd8fe14d4 Add changelog file 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
Pablo Suárez Hernández
767303a3dc Add changes suggested by pre-commit 2023-07-01 08:46:56 +01:00
Pablo Suárez Hernández
f5861ccb10 Fix mess with version detection bad version definition 2023-07-01 08:46:56 +01:00
Pablo Suárez Hernández
e6abf4b2d5 Fix detection of Salt codename by salt_version module 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
Salt Project Packaging
1ef02f5e1d Update the bootstrap script to v2023.06.28 2023-07-01 01:04:17 +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
f97b3f4419 removing text left from previous commit. 2023-06-30 19:53:08 +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
3e18925289 update documentation to include 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
2ccda334e6 suggested fixes 2023-06-30 19:53:08 +00:00
Gareth J. Greenaway
ebe00a73d6 fix lists 2023-06-30 19:53:08 +00:00
Gareth J. Greenaway
25ad522344 Clarify what version numbers to include in the deprecation decorator. 2023-06-30 19:53:08 +00:00
Gareth J. Greenaway
055277d101 Adding documentation for salt-extension. 2023-06-30 19:53:08 +00:00
Gareth J. Greenaway
9a2102a0e8 Adding salt/utils/decorators/extension_deprecation.py 2023-06-30 19:53:08 +00:00
Gareth J. Greenaway
405fd40634 Adding changelog. 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
MKLeb
e11d6a478a More fixes for upgrades of NSIS packages from relenv-based previous versions 2023-06-29 13:01:04 -07:00
MKLeb
d007ebd8d9 Some more fixes for the NSIS package tests 2023-06-29 13:01:04 -07:00
MKLeb
0d622479b2 Additional fixes for mac and windows upgrade tests 2023-06-29 13:01:04 -07:00
MKLeb
f952418e90 Use download_file for the windows packages as well 2023-06-29 13:01:04 -07:00
MKLeb
0ec60c70d2 Fix mac upgrade test urls 2023-06-29 13:01:04 -07:00
MKLeb
9a4e026d59 The major version needs to be cast to an int for comparison 2023-06-29 13:01:04 -07:00
MKLeb
5c7269aee6 The slash needs to be separate from the command 2023-06-29 13:01:04 -07:00
MKLeb
7aadeaf792 Account for upgrades from new relenv-based repos 2023-06-29 13:01:04 -07:00