Skip to content

Releases: saltstack/pytest-salt-factories

1.0.0rc3

16 Feb 14:15
Compare
Choose a tag to compare
1.0.0rc3 Pre-release
Pre-release

1.0.0rc3 (2022-02-16)

Bug Fixes

  • Fix pathlib.path typo (#99)
  • Fixed issue with sdist recompression for reproducible packages not iterating though subdirectories contents. (#100)

1.0.0rc2 (2022-02-14) - UNRELEASED

Improvements

  • Improve documentation (#92)

Bug Fixes

  • Fix issue where, on system installations, the minion ID on the configuration, if not explicitly passed on overrides or defaults, would default to the master ID used to create the salt minion factory. (#93)
  • Allow configuring root_dir in setup_salt_factories fixture (#95)

0.912.2

14 Feb 07:35
Compare
Choose a tag to compare

0.912.2 (2022-02-14)

Bug Fixes

  • Use salt's entry-points instead of relying on loader *_dirs configs (#98)

0.912.1

05 Feb 11:41
Compare
Choose a tag to compare

0.912.1 (2022-02-05)

Improvements

  • Set lower required python version to 3.5.2 (#97 <https://github.com/saltstack/pytest-salt-factories/issues/97>_)

1.0.0rc1

27 Jan 15:26
Compare
Choose a tag to compare
1.0.0rc1 Pre-release
Pre-release

1.0.0rc1 (2022-01-27)

Breaking Changes

  • Switch to the extracted pytest plugins (#90)
    • Switch to pytest-system-statistics
    • Switch to pytest-shell-utilities

0.912.0

25 Jan 12:34
Compare
Choose a tag to compare

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 to SaltMaster.salt_cli, forgotten on PR #50 (#70)

Features

  • Temporary state tree management (#38)
    • Add temp_file and temp_directory support as pytest helpers
    • Add SaltStateTree and SaltPillarTree for easier temp files support
  • Added skip markers for AArch64 platform, skip_on_aarch64 and skip_unless_on_aarch64 (#40)
  • Added a VirtualEnv helper class to create and interact with a virtual environment (#43)
  • Add skip_on_spawning_platform and skip_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 generates dsa keys if the system has FIPS enabled (#80)
  • Add to_salt_config method to SaltEnv and SaltEnvs. This will simplify augmenting the salt configuration dictionary. (#82)
  • Rename SaltEnv.to_salt_config() to SaltEnv.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 tests timeout-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.3
    • reorder_python_imports: 2.6.0
    • black: 21.b7
    • blacken-docs: 1.10.0
  • Remove transport keyword argument from the call to salt.utils.event.get_event (#87)

  • Add build and release nox targets (#89)