Skip to content

Releases: saltstack/pytest-salt-factories

1.0.1

22 Mar 08:48
1.0.1
8f2eaed
Compare
Choose a tag to compare

1.0.1 (2024-03-22)

Bug Fixes

  • Properly configure the SSHD server when FIPS is enabled/enforced on a system (#179)

1.0.0

21 Mar 16:05
1.0.0
Compare
Choose a tag to compare

1.0.0 (2024-3-21)

Improvements

  • The SSHD daemon implementation now has a get_host_keys method which returns the host keys that can then be written to a known_hosts file. (#176)

Trivial/Internal Changes

  • CI pipeline changes:
    • Stop testing against Pytest 8.0.0rc2 and instead test against 8.0.x
    • Stop testing against Salt 3005.x
    • Add Salt 3007.x to the versions to test
    • Stop testing against Pytest 7.3.x and add 8.1.x to the list of versions to test (#177)

1.0.0rc29

23 Jan 12:08
1.0.0rc29
1ffc762
Compare
Choose a tag to compare
1.0.0rc29 Pre-release
Pre-release

1.0.0rc29 (2024-01-23)

Improvements

  • Add --sys-info-and-exit which basically prints the system information and exit. Doesn't run any tests. (#173)

Trivial/Internal Changes

  • Switch pipelines to use Python 3.11 and start testing Pytest 8.0.0rc2 (#173)

1.0.0rc28

25 Nov 22:02
1.0.0rc28
fa50481
Compare
Choose a tag to compare
1.0.0rc28 Pre-release
Pre-release

1.0.0rc28 (2023-11-25)

Features

  • Added a containarized salt master class implementation, SaltMaster (#169)

Improvements

  • Switch to testing against Salt 3006.x instead of 3005.x (#169)

Bug Fixes

  • The Container._pull_container callback now properly registers on the SaltMinion and the SaltMaster classes when pull_before_start is True (#168)

Improved Documentation

1.0.0rc27

27 Sep 18:16
1.0.0rc27
185d699
Compare
Choose a tag to compare
1.0.0rc27 Pre-release
Pre-release

1.0.0rc27 (2023-09-27)

Bug Fixes

  • Allow the Salt engine to run on Python 3.6 (#167)

1.0.0rc26

20 Sep 21:03
1.0.0rc26
0bc7820
Compare
Choose a tag to compare
1.0.0rc26 Pre-release
Pre-release

1.0.0rc26 (2023-09-20)

Bug Fixes

  • Check if path exists before running additional checks on the temp_directory context manager. (#160)
  • The container implementation is now sensible to the exited state when starting containers. (#165)

Improved Documentation

  • Updated documentation for SaltEnv temp_file and added an example usage (#163)

1.0.0rc25

31 Jul 12:16
1.0.0rc25
7440e09
Compare
Choose a tag to compare
1.0.0rc25 Pre-release
Pre-release

1.0.0rc25 (2023-07-31)

Improvements

  • Remove pytest-tempdir package dependency (#154)
  • Stop using deprecated @pytest.mark.trylast (#155)
  • Simplify and reduce the amount of patching required to unit test loader modules (#156)

Trivial/Internal Changes

  • Some internal processes improvements: (#151)
    • Publish packages to PyPi with trusted publishers
    • Enable dependabot to update the GH Actions versions on a weekly basis
  • Start using actionlint and shellcheck to validate GH Actions workflows (#153)
  • Improve code coverage by either removing code not getting used anymore or marking sections of the code which are not expected to be covered (#157)

1.0.0rc24

27 Jul 15:41
1.0.0rc24
d91af44
Compare
Choose a tag to compare
1.0.0rc24 Pre-release
Pre-release

1.0.0rc24 (2023-07-27)

Improvements

  • Several improvements to reduce failure points: #149
    • Log the exception instead of raising it.
    • Always populate the *_dirs config settings, regardless of how salt-factories is being used
    • Improved the connect/disconnect behavior of the event listener client
    • The minimum supported Salt version is now 3005.0
    • The minimum supported Pytest version is now 7.0.0

Bug Fixes

  • Do not blindly overwrite the retuner_address configuration key #146

Trivial/Internal Changes

  • Start checking the code base with ruff #149

1.0.0rc23

15 Dec 15:48
1.0.0rc23
3e9cfde
Compare
Choose a tag to compare
1.0.0rc23 Pre-release
Pre-release

1.0.0rc23 (2022-12-15)

Bug Fixes

  • Fixed Salt's deferred imports to allow onedir builds while not breaking non-onedir builds: (#146)
  • Additionally, stopped relying on salt.utils.files and salt.utils.yaml
  • Stopped using zmq to forward events(this was where the breakage was showing) for a plain TCP implementation.
  • The event_listener fixture is now started/stopped like a regular pytest fixture
  • The event_listener server now restarts in case something goes wrong to the point where it crashes.

1.0.0rc22

02 Dec 19:44
1.0.0rc22
04f7416
Compare
Choose a tag to compare
1.0.0rc22 Pre-release
Pre-release

1.0.0rc22 (2022-12-02)

Breaking Changes

  • Drop support for Python 3.5 and 3.6 (#123)

Improvements

  • Defer all salt imports so that we can use pytest-salt-factories to test onedir builds (#144)
  • A few improvements to functional testing support: (#145)
    • Allow StateReturn to be accessed by key instead of just attribute
    • Add warning for when more than a state function is used under the same state key
    • Return an instance of MatchString for StateResult.comment

Trivial/Internal Changes

  • Update the github actions versions to avoid deprecation errors (#145)