Skip to content

Single Source Versioning

Compare
Choose a tag to compare
@capn-freako capn-freako released this 23 Apr 12:56
· 65 commits to master since this release
1559923

This release creates a single source (the pyproject.toml file) for version information, for both PyBERT/PyIBIS-AMI and their dependencies.

Before this release, version strings in 3 different places had to be manually kept in synch.:

  • the pyproject.toml file,
  • the meta.yaml file, and
  • the <pkg>/__init__.py file.

This was a big headache for developers and cost many unnecessary rebuilds.

As of this release, version strings are only maintained in the pyproject.toml file, both for PyBERT/PyIBIS-AMI and dependencies.

Note: There is one exception to this: the qt package has its version specifier: ">=5", still in the meta.yaml files of any packages dependent upon it.
This is because PyPi doesn't provide a binary release for the Qt package.
And, therefore, putting its version specifier in the pyproject.toml file will break the build.

Many thanks to David Patterson for catching this!