Skip to content

2.0.0a2

Pre-release
Pre-release
Compare
Choose a tag to compare
@felixfontein felixfontein released this 19 Apr 19:11
· 116 commits to main since this release

Release Summary

Second alpha release of 2.0.0.

Minor Changes

  • Add async_log_run() and log_run() methods to antsibull_core.venv.VenvRunner` and antsibull_core.venv.FakeVenvRunner. These should be used instead of get_command()`` (#50).
  • Add a new antsibull_core.subprocess_util module to help run subprocesses output and log their output (#40).
  • Allow Galaxy client to communicate with the Galaxy v3 API (#45).
  • Replace internal usage of sh with the antsibull.subprocess_util module (#51).
  • Use the pypa build tool instead of directly calling setup.py which is deprecated (#51).

Breaking Changes / Porting Guide

  • Remove breadcrumbs, indexes, and use_html_blobs from global antsibull config handling. These options are only used by antsibull-docs, which already validates them itself (#54).
  • The install_package() method of antsibull_core.venv.VenvRunner now returns a subprocess.CompletedProcess` object instead of an sh.RunningCommand``. The rest of the function signature remains the same. Most callers should not need to access the output to begin with (#50).

Deprecated Features

  • Deprecate the get_command() methods of antsibull_core.venv.VenvRunner` and antsibull_core.venv.FakeVenvRunner. These methods will be removed in antsibull-core 3.0.0. Use the new log_run()andasync_run()`` methods instead (#50).
  • The doc_parsing_backend option from the library context is deprecated and will be removed in antsibull-core 3.0.0. Applications that need it, such as antsibull-docs, must ensure they allow and validate this option themselves (#59).

Bugfixes

  • Remove improper usage of @functools.cache on async functions in the antsibull_core.ansible_core module (#67).
  • Restrict the pydantic dependency to major version 1 (#35).
  • Restrict the sh dependency to versions before 2.0.0 (#31).