Skip to content

Latest commit

 

History

History
100 lines (73 loc) · 3.43 KB

CHANGELOG.md

File metadata and controls

100 lines (73 loc) · 3.43 KB

Changelog

0.16.0 (YYYY-MM-DD)

  • Add support for Python 3.13.
  • Drop support for Python 3.8 version.

0.15.0 (2024-02-17)

  • Add a GitHub workflow that parses all of Fedora's spec files. The workflow runs on each PR.
  • The replace_macro function gained a new max_attempts parameter that prevents endless recursion in certain scenarios. Thanks @kraptor.
  • Add support for Python 3.12.
  • Drop support for Python 3.7. It is EOL and no longer supported by the Python core team.

0.14.1 (2023-03-11)

  • Fix replace_macro's behavior with user-defined conditional macros (PR #56). Thanks @imphil.
  • The parsing of package names was wrong when tab characters where used in %package (#57). This has been fixed by @tagoh.
  • Implement parsing of spec files where sub-packages (%package) have their own sources and patches defined. Previously, the parser would just fail with an error message like AttributeError: 'Package' object has no attribute 'sources'. This is now fixed.
  • Use SemVer for versioning. git tags are now prefixed with v, e.g. v0.15.0 instead of 0.15.0.

0.14 (2023-01-22)

  • Teach replace_macro how to deal with macros that are not wrapped in curly braces (PR #54).
  • Add type annotations for tools like mypy, your IDE, and your brain (PR #55).

0.13 (2022-11-01)

  • Fix parsing of BuildRequires:, Requires:, Conflicts:, Obsoletes:, Provides: with comments at end of line. Thanks @SuoXC.
  • Add CI for Python 3.11.

0.12 (2022-07-13)

  • Fix %description and %changelog with multi-line strings #46. Thanks @tagoh.

0.11 (2021-08-05)

Changes:

  • Add type annotations for tools like mypy, your IDE, and your brain. Thanks @KOLANICH.
  • replace_macros() function now always expects a Spec instance as second argument. Does not make much sense without.
  • Add support for parsing %description and %changelog (see PR #42). Thanks @BrunoVernay.
  • Add support for ExcludeArch and ExclusiveArch (#45). Thanks @tonsh.
  • Add warnings_enabled knob to issue warnings of type UserWarning during spec file parsing.

0.10 (2020-09-19)

Changes:

  • Ignore spaces before ':' separator (see PR #32)
  • Fix behavior of replace_macro function when macro is a tag, too (see issue #33).

0.9 (2020-05-02)

Changes:

  • Ignore case when parsing directives

0.8 (2018-09-18)

New Features:

  • Enable parsing versions in BuildRequires: and Requires:
  • Add support for conditional macros, e.g. %{?test_macro:expression}
  • Use flit for packaging

0.7 (2017-08-10)

New Features:

  • Add Spec.sources_dict and Spec.patches_dict