- Fixed:
- An incompatibility with
tox-poetry-installer
where the working directory was received as astr
instead of aPath
. (Contributed by cburgess)
- An incompatibility with
- Fixed:
-
Previously, when building a source distribution with
poetry build
, the plugin's config section would retain theenable = true
setting, which would then cause an error when installing the artifact since the VCS info would not be available. (This was not an issue for wheels generated bypoetry build
.)The dynamic version from build time is still present in the source distribution, so there is no need for the plugin at install time. Therefore, the plugin now temporarily sets
enable = false
so that that value will be placed in the source distribution, then restores the original setting for development purposes.
-
- Fixed:
- Another possible exception when applying patches if only
poetry-core
was installed and not the Poetry tool, particularly combined with Tox.
- Another possible exception when applying patches if only
- Fixed:
- Possible exception when applying patches if only
poetry-core
was installed and not the Poetry tool.
- Possible exception when applying patches if only
- Added:
tagged-metadata
option, for the corresponding Dunamai feature. (Contributed by mariusvniekerk)
- Added:
bump
option.
- Fixed:
poetry shell
did not clean up after itself.
- Added:
- Support for patching
poetry-core
when used as a standalone build system.
- Support for patching
- Changed:
- Dropped support for
pip wheel .
and bumped the minimum Poetry version to 1.0.2 in order to enable fixing the following issue.
- Dropped support for
- Fixed:
- The main project's dynamic version would be applied to path/Git dependencies. Now, the plugin tracks state and configuration for each dependency separately in order to correctly report their versions.
poetry run
did not always clean up after itself.poetry.semver.version
could not be imported because it was moved topoetry.core.semver.version
starting in Poetry 1.1.0a1. The plugin can now handle either location.
- Fixed a possible issue with string interning in glob handling. (Contributed by mariusvniekerk)
- Fixed an issue with Python 3.5 compatibility. (Contributed by gsemet)
- Increased minimum Dunamai version to propagate the latest updates.
- Fixed an issue where CLI mode did not persist the change to pyproject.toml. This problem was missed because of an issue in the integration tests, which are fixed now as well.
- Added the option
format-jinja-imports
. - Added support for Pip's PEP 517 isolated builds.
- In CLI mode:
- Improved handling of error conditions.
- Added output of the generated version and any modified files.
- Removed handling for Poetry versions prior to 1.0.0.
- Avoid writing files if the content does not need to be changed.
- Added a CLI mode.
- Expose new Dunamai functions via
format-jinja
:bump_version
serialize_pep440
serialize_pvp
serialize_semver
- Added the
format-jinja
option.
- Added the ability to update the version in other files than pyproject.toml.
- Fixed an issue with Poetry 1.0.0b2 and newer where the original version
would not be restored after
poetry run
. (Contributed by lmoretto)
- Fixed #3 where the plugin would revert not only the dynamic version change in pyproject.toml, but also any other changes, such as the addition of new dependencies. (Contributed by lmoretto)
- Updated for Dunamai v1.0.0:
- Added support for Fossil.
- Better error reporting, such as when no tags match the expected pattern.
- Custom formatting:
- Renamed
{post}
to{distance}
- Renamed
{pre_type}
to{stage}
- Renamed
{pre_number}
to{revision}
- Removed
{epoch}
- Removed
{dev}
- Renamed
- Added support for Poetry 1.0.0b2.
- Initial release.