Skip to content

Releases: ansible-community/antsibull-build

0.55.0

08 Apr 09:52
0.55.0
b20659d
Compare
Choose a tag to compare

Release Summary

Release with new features, other improvements, a new build system, and a deprecation

Major Changes

  • Change pyproject build backend from poetry-core to hatchling. pip install antsibull works exactly the same as before, but some users may be affected depending on how they build/install the project (#490).

Minor Changes

  • Add a -I / --ignore and a --ignores-file flag to the antsibull-build validate-tags and antsibull-build validate-tags-file subcommands to ignore errors for certain collections (#491).
  • Make compatible with deprecations issued by newer setuptools releases (#433, #502).
  • Use the pypa build tool to build wheels and source distributions for ansible in an isolated environment. This replaces direct calls to python setup.py bdist_wheel and python setup.py sdist which are deprecated (#492).

Deprecated Features

  • The multiple and collection subcommands are deprecated and will be removed soon. They were never used to our knowledge except in the exploratory phase before the first Ansible 2.10 releases, have no test coverage, and might not even work at all. If you are actively using them and are interested in keeping them, please create an issue in the antsibull repository as soon as possible (#505).

0.54.0

24 Feb 21:00
Compare
Choose a tag to compare

Release Summary

New release with features, bugfixes, and breaking changes.

Breaking Changes / Porting Guide

  • Drop support for Python 3.8 (#465).

Removed Features (previously deprecated)

  • Removed the antsibull-lint command line utility. It had no functionality anymore for some time now (#466).

Bugfixes

  • Explicitly declare the sh dependency and limit it to before 2.0.0. Also explicitly declare the dependencies on packaging, semantic_version, aiofiles, aiohttp, and twiggy (#487).
  • Fix broken ansible-build-data repository link in ansible package README (#485).

0.53.0

30 Jan 17:54
Compare
Choose a tag to compare

Release Summary

Feature and bugfix release.

Minor Changes

  • Add --tags-file option to the single, rebuild-single, and prepare subcommands. This allows including a collection git tags data file in ansible-build-data and the ansible sdist (#476).
  • Add pyproject.toml to ansible sdist to use the setuptools.build_meta PEP 517 <https://peps.python.org/pep-0517/>__ backend. Tools that still call setup.py directly will work the same as they did before (#471).
  • Bump minimum antsibull-core requirement to 1.5.0. It contains changes that are needed for the new --tags-file option (#476).
  • There have been internal refactorings to simplify typing (#469).

Bugfixes

  • Correct Python version classifiers in the ansible setup.py template. Limit the Python 3.8 classifer to ansible 5 and 6 and add the Python 3.11 classifier to ansible >= 7 (#479).
  • Do not crash when the changelogs/changelog.yaml file of a collection cannot be loaded (#481, #482).

0.52.0

07 Dec 18:41
Compare
Choose a tag to compare

Release Summary

Major feature and bugfix release with breaking changes.

Minor Changes

  • Add a validate-tags subcommand to ensure that collection versions in an Ansible release are tagged in collections' respective git repositories (#456).
  • Make compatible with antsibull-core 2.x.y (#463).

Breaking Changes / Porting Guide

  • Drops support for Python 3.6 an 3.7 (#458, #460).
  • The antsibull-docs dependency has been removed (#451).

Removed Features (previously deprecated)

  • The deprecated antsibull-lint subcommands have been removed. Use antsibull-changelog lint-changelog-yaml or antsibull-docs lint-collection-docs depending on your use-case (#451).
  • The deprecated build-collection subcommand of antsibull-build has been removed. Use collection instead (#451).
  • The deprecated build-multiple subcommand of antsibull-build has been removed. Use multiple instead (#451).
  • The deprecated build-single subcommand of antsibull-build has been removed. Use single instead (#451).
  • The deprecated new-acd subcommand of antsibull-build has been removed. Use new-ansible instead (#451).

0.51.2

23 Nov 06:29
Compare
Choose a tag to compare

Release Summary

Bugfix release. The next minor release will no longer support Python 3.6 and 3.7.

Bugfixes

  • Add --collection-dir to the antsibull-build collection and build-collection subcommands. Previously, the --collection-dir option was added to the wrong CLI argument parser and not exposed to users. (#461).
  • Use compatibility code instead of trying to run asyncio.run directly, which will fail with Python 3.6 (#459).

0.51.1

13 Oct 19:02
Compare
Choose a tag to compare

Release Summary

Bugfix release.

Bugfixes

  • Fix handling of Python dependency data when building changelogs and collections (#452).

0.51.0

07 Oct 05:33
Compare
Choose a tag to compare

Release Summary

Feature release for Ansible 7.

Minor Changes

  • Now requires antsibull-core >= 1.3.0 (#449).
  • The python_requires information is now extracted from ansible-core and stored in the .build and .deps files instead of guessing it from the Ansible version (#449).

0.50.0

29 Sep 05:38
Compare
Choose a tag to compare

Release Summary

Feature and bugfix release.

Minor Changes

  • Added galaxy requirements.yml file as build-release role depends on community.general collection (#432)
  • Define minimal Python requirement for Ansible X depending on X, under the assumption that ansible-core's Python requirement is increased by one version every two ansible-core major releases, and that every Ansible major release corresponds to an ansible-core major release from Ansible 5 on (#448).
  • The build-release role fails to execute when ./build/antsibull-build-data doesn't exist and when the antsibull_data_reset variable is set to false (#442).
  • When building Ansible 6.3.0 or newer, fail on collection dependency validations (ansible-community/community-topics#94, #440).

Bugfixes

  • Adjust release role to work around a bug in the current beta version of ansible-core 2.14 (#447).
  • Fix typing errors in the multiple subcommand (#443).

0.49.0

31 Jul 15:37
Compare
Choose a tag to compare

Release Summary

Bugfix and feature release containing breaking changes in the release role.

Minor Changes

  • Allow to copy the files used to create the source distribution and wheels to a new directory during antsibull-build rebuild-single (#435).
  • Perform minor refactoring of the build-release role, mostly concerning tasks/tests.yml. This reduces use of shell and set_fact, makes the role more robust, and replaces short names with FQCNs (#432).
  • Show warnings emitted by building the source distribution and/or wheels (#435).
  • The files in the source repository now follow the REUSE Specification. The only exceptions are changelog fragments in changelogs/fragments/ (#437).

Breaking Changes / Porting Guide

  • The build-release role now depends on the community.general collection (#432).

Bugfixes

  • Fix typo in generated MANIFEST.in to list the existing file README.rst instead of the non-existing file README (#435).
  • When preparing a new Ansible release, only use pre-releases for ansible-core when the Ansible release itself is an alpha pre-release. This encodes that the first beta release of a new major Ansible release coincides with the ansible-core GA (#436).

0.48.0

18 Jun 18:26
Compare
Choose a tag to compare

Release Summary

Bugfix and feature release containing some breaking changes in the release role.

Minor Changes

  • In the release role, automatically set antsibull_build_file and antsibull_data_dir based on antsibull_ansible_version (#430).
  • The release role has now an argument spec (#430).

Breaking Changes / Porting Guide

  • In the release role, antsibull_ansible_version and antsibull_ansible_git_version must now always be specified (#430).

Bugfixes

  • When preparing a new Ansible release, bump the ansible-core version to the latest bugfix version (#430).