Commit graph

121363 commits

Author SHA1 Message Date
dependabot[bot]
c559804a67
Bump ansible-core in /requirements/static/ci/py3.12
Bumps [ansible-core](https://github.com/ansible/ansible) from 2.16.3 to 2.17.6.
- [Release notes](https://github.com/ansible/ansible/releases)
- [Commits](https://github.com/ansible/ansible/compare/v2.16.3...v2.17.6)

---
updated-dependencies:
- dependency-name: ansible-core
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-06 15:54:06 +00:00
Daniel A. Wozniak
66e5b97785 Add python 3.13 requirements files 2024-10-23 16:20:51 -07:00
bdrx312
221420cd57 Use importlib.metadata for python >= 3.10
Add slots to DependencyGraph

Pinned networkx to 3.1

Pinned networkx to latest version supported on python 3.8 to support running salt-ssh to systems with python 3.8

Fixed assignment of env in support helpers VirtualEnv

Restrict networkx version with contraints instead of in base

Fixed setting context retcode in some places where errors are returned.
Removed unnecessary pylint ignore comment.
Reverted importlib-metadata version bump.

Added networkx to versions report

Actually fixed VirtualEnv env assignment from kwargs
2024-10-10 01:53:52 -07:00
bdrx312
66caa58346 Fix issues with requisites and aggregate
add install of networkx
fix aggregate to properly work with requisites
fix requisite checking to not be exponential
fix pkg aggregate to work when multiple states specify the same package
add some type hints to state.py to make the code easier to follow
fix case of pkg aggregate duplicate package.
2024-10-10 01:53:52 -07:00
Daniel Wozniak
58c89a8dfd
Merge pull request #66925 from vkotarov/windows-qyzylorda-timezone
[master] Add Qyzylorda timezone to win_timezone module, fixes #66176
2024-09-30 12:56:09 -07:00
Tyler Levy Conde
216764c69e Allow fstring linting 2024-09-30 12:10:26 -07:00
Tyler Levy Conde
7e334bce6f Allow fstring linting 2024-09-30 12:10:26 -07:00
Tyler Levy Conde
593dbf7f9b add changelog entry 2024-09-30 12:10:26 -07:00
Tyler Levy Conde
e20d896a13 passing lint 2024-09-30 12:10:26 -07:00
Tyler Levy Conde
fa61bc361b passing pylint 2024-09-30 12:10:26 -07:00
Tyler Levy Conde
3bf8dda2e5 Relenv salt-ssh fully functional 2024-09-30 12:10:26 -07:00
Tyler Levy Conde
a74ce63e09 add basic ssh-relenv test 2024-09-30 12:10:26 -07:00
Tyler Levy Conde
b95855edf5 passing lint 2024-09-30 12:10:26 -07:00
Tyler Levy Conde
b5b5fb4f5c Relenv deploy is successful 2024-09-30 12:10:26 -07:00
Tyler Levy Conde
731f3edaff Also download the file checksum 2024-09-30 12:10:26 -07:00
Tyler Levy Conde
7df3bbfe66 Actually download the stream 2024-09-30 12:10:26 -07:00
Tyler Levy Conde
4bb6e93cab :Improve OS detection 2024-09-30 12:10:26 -07:00
Tyler Levy Conde
b997d8d733 better os detection for relenv tarball 2024-09-30 12:10:26 -07:00
Tyler Levy Conde
5263353262 :xSalt-ssh can deploy a relenv environment 2024-09-30 12:10:26 -07:00
Olivier Mehani
15573a8f20 Add state.sls_exists to ssh client
fixes: #66893

Signed-off-by: Olivier Mehani <shtrom@ssji.net>

Fix typo in sate.sls_exists doctstrings (module & ssh wrapper)

Signed-off-by: Olivier Mehani <shtrom@ssji.net>
2024-09-26 15:11:09 -07:00
Vesselin Kotarov
9ee0398fdf Add Qyzylorda timezone to win_timezone module, fixes #66176 2024-09-25 18:03:23 +03:00
Carlos Álvaro
40f871c2b1 doc(mab_brew_pkg): Add options parameter documentation 2024-09-19 14:49:57 -07:00
Carlos Álvaro
8416fe4311 feat(mac_brew_pkg): Add options to list_upgrades method 2024-09-19 14:49:57 -07:00
Carlos Álvaro
cf2b724cbb doc(mac_brew_pkg): Update install method documentation 2024-09-19 14:49:57 -07:00
Carlos Álvaro
ae69865ab3 feat(mac_brew_pkg): Add options to remove method 2024-09-19 14:49:57 -07:00
Carlos Álvaro
ad6ebb175f doc: Add changelog 2024-09-19 14:49:57 -07:00
Carlos Álvaro
f420d779ba feat(mac_brew_pkg): Add support for aliases when getting info 2024-09-19 14:49:57 -07:00
Carlos Álvaro
436bdd50aa chore(mac_brew_pkg): Update tests to use Homebrew's full API v2 2024-09-19 14:49:57 -07:00
Carlos Álvaro
faa7a7ba97 feat(mac_brew_pkg): Improve latest_version support
Fixes #66291
2024-09-19 14:49:57 -07:00
Carlos Álvaro
c56afbe514 feat(mac_brew_pkg): Allow additional options in info_installed 2024-09-19 14:49:57 -07:00
Daniel Wozniak
c246f20564
Merge pull request #66742 from vzhestkov/use-cachedir-cli-for-extension_modules
[master] Use --cachedir parameter for setting extension_modules with salt-call
2024-09-19 14:31:13 -07:00
Sebastian Engel
0eace0200f doc: fix jinja.import_json module docstr 2024-09-18 14:52:19 -07:00
vzhestkov
e6468e87b0
Add changelog entry 2024-09-10 13:01:19 +02:00
vzhestkov
9ae5bcaeba
Add test to check extension_modules value alignment 2024-09-09 10:18:58 +02:00
vzhestkov
7836a837cd
Use --cachedir parameter for extension_modules with salt-call 2024-09-09 10:18:52 +02:00
Daniel Wozniak
246d066457
Merge pull request #66691 from dwoz/merge/master/3007.x
[master] Merge forward 3007.x into master
2024-08-19 15:00:26 -07:00
Daniel A. Wozniak
17c58d6587 Fix grains test on FIPS platforms
Also, clean up pre-commit
2024-08-17 14:39:54 -07:00
Daniel A. Wozniak
a87f2418aa Skip pkg tests that need new golden image 2024-08-15 23:19:17 -07:00
Daniel A. Wozniak
320641ca3c Remove commented out code 2024-08-08 18:39:40 -07:00
Daniel A. Wozniak
9c353984d7 Migrate grains tests to pytest 2024-08-08 17:03:15 -07:00
Daniel A. Wozniak
c24ccef828 Increase test timeout 2024-08-08 14:47:22 -07:00
Daniel A. Wozniak
aad1050e21 Increase test timeout 2024-08-07 15:06:51 -07:00
Daniel A. Wozniak
6a9fa5e2ec increase timeout 2024-08-07 00:58:49 -07:00
Daniel A. Wozniak
6597a6b115 Increase timeout on grains test 2024-08-06 17:08:07 -07:00
Daniel A. Wozniak
9d123b949e Skip chocolatey tests
These tests are failing because CI/CD is flooding chocolatey's APIs with
requests. They need to be refactored to not hit APIs outside of our
infrustructure.
2024-08-06 17:05:58 -07:00
Daniel A. Wozniak
f2b4410681 Fix pkg tests on arch 2024-08-06 00:26:24 -07:00
Daniel A. Wozniak
cd9753ff0f Skip ssh slsutil tests when system python is below 3.8 2024-08-05 22:23:46 -07:00
Carlos Álvaro
18ca4fdfa9 doc(macdefaults): Add ..versionadded:: 2024-07-12 15:27:33 -07:00
Carlos Álvaro
83225aca7d fix(macdefaults): Use salt.utils.files.open 2024-07-12 15:27:33 -07:00
Carlos Álvaro
dd5575e90f fix(macdefaults): Use TemporaryDirectory instead of TemporaryFile
TemporaryFile has no name, so NamedTemporaryFile would be a better option.

However, until Python 3.12, this file is deleted on close, which is not valid for this purpose. TemporaryDirectory is used instead.
2024-07-12 15:27:33 -07:00