Releases: saltstack/pytest-salt-factories
Releases · saltstack/pytest-salt-factories
1.0.0rc3
0.912.2
0.912.1
1.0.0rc1
0.912.0
0.912.0 (2022-01-25)
Breaking Changes
- Name things once. (#50)
get_unused_localhost_port
no longer cached returned port by default (#51)- Rename the
SaltMaster.get_salt_cli
toSaltMaster.salt_cli
, forgotten on PR #50 (#70)
Features
- Temporary state tree management (#38)
- Add
temp_file
andtemp_directory
support as pytest helpers - Add
SaltStateTree
andSaltPillarTree
for easier temp files support
- Add
- Added skip markers for AArch64 platform,
skip_on_aarch64
andskip_unless_on_aarch64
(#40) - Added a
VirtualEnv
helper class to create and interact with a virtual environment (#43) - Add
skip_on_spawning_platform
andskip_unless_on_spawning_platform
markers (`#81)
Improvements
- Switch project to an
src/
based layout (#41) - Start using towncrier to maintain the changelog (#42)
- Forwarding logs, file and pillar roots fixes (#49)
- Salt allows minions and proxy minions to also have file and pillar roots configured
- All factories will now send logs of level
debug
or higher to the log server
- Log the test outcome (#52)
- Take into account that
SystemExit.code
might not be an integer on the generated CLI scripts (#62) - Catch unhandled exceptions and write their traceback to
sys.stderr
in the generated CLI scripts (#63) - Several fixes/improvements to the
ZMQHandler
log forwarding handler (#64) - ZMQ needs to reconnect on forked processes or else Salt's own multiprocessing log forwarding log records won't be logged by the
ZMQHandler
(#69) - Some more additional changes to the ZMQHandler to make sure it's resources are cleaned when terminating (#74)
- The
sshd
server no longer generatesdsa
keys if the system has FIPS enabled (#80) - Add
to_salt_config
method toSaltEnv
andSaltEnvs
. This will simplify augmenting the salt configuration dictionary. (#82) - Rename
SaltEnv.to_salt_config()
toSaltEnv.as_dict()
(#83) - Switch to pytest-skip-markers. (#84)
Bug Fixes
- Adjust to the upcoming salt loader changes (#77)
Trivial/Internal Changes
-
CI pileline adjustements
- Bump salt testing requirement to 3002.6
- Drop testing of FreeBSD since it's too unreliable on Github Actions
- Full clone when testing so that codecov does not complain (#39)
-
Upgrade to black 21.4b2 (#56)
-
Drop Pytest requirement to 6.0.0 (#57)
-
Increase and match CI system tests
timeout-minutes
to Linux teststimeout-minutes
(#64) -
Switch to the new codecov uploader (#72
-
Fix codecov flags, report name, and coverage (#73)
-
Update to latest versions on some pre-commit hooks (#79)
pyupgrade
: 2.23.3reorder_python_imports
: 2.6.0black
: 21.b7blacken-docs
: 1.10.0
-
Remove
transport
keyword argument from the call tosalt.utils.event.get_event
(#87) -
Add
build
andrelease
nox targets (#89)