Releases: saltstack/pytest-salt-factories
Releases · saltstack/pytest-salt-factories
1.0.1
1.0.0
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
1.0.0rc28
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 theSaltMinion
and theSaltMaster
classes whenpull_before_start
is True (#168)
Improved Documentation
- Fix the readthedocs builds due to https://blog.readthedocs.com/migrate-configuration-v2/ (#169)
1.0.0rc27
1.0.0rc26
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 theexited
state when starting containers. (#165)
Improved Documentation
- Updated documentation for SaltEnv temp_file and added an example usage (#163)
1.0.0rc25
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
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
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
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
forStateResult.comment
- Allow
Trivial/Internal Changes
- Update the github actions versions to avoid deprecation errors (#145)