fast-aircraft-design / FAST-OAD

FAST-OAD: An open source framework for rapid Overall Aircraft Design
GNU General Public License v3.0
47 stars 25 forks source link

Using Poetry dynamic versioning #489

Closed christophe-david closed 1 year ago

christophe-david commented 1 year ago

This PR makes usage of the poetry-dynamic-versioning plugin to ensure that a release version is aligned with latest Git version tag.

Until now, the version setting was done "manually" in the GitHub workflow but this new method allows the same behavior as with setuptools-scm, i.e. producing a version number from a non-version-tagged commit, e.g. 1.4.2-post.142+d1d389d1, which is useful to quickly release intermediate versions.

Note: Using manually the build/publish workflow won't add a new version in PyPI, since version number won't be accepted. But the generated wheel will be available for download from the workflow run.

codecov[bot] commented 1 year ago

Codecov Report

Merging #489 (ca19205) into master (16c4c95) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #489   +/-   ##
=======================================
  Coverage   84.27%   84.28%           
=======================================
  Files         128      128           
  Lines        5946     5948    +2     
  Branches      874      874           
=======================================
+ Hits         5011     5013    +2     
  Misses        781      781           
  Partials      154      154           
Impacted Files Coverage Δ
src/fastoad/openmdao/variables/variable_list.py 95.32% <100.00%> (+0.04%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.