poetry-version-plugin icon indicating copy to clipboard operation
poetry-version-plugin copied to clipboard

Poetry plugin for dynamically extracting the package version from a __version__ variable or a Git tag.

Results 37 poetry-version-plugin issues
Sort by recently updated
recently updated
newest added

Hi ! I get this error now: ``` AttributeError 'ProjectPackage' object has no attribute 'set_version' at ~/.local/share/pypoetry/venv/lib/python3.10/site-packages/poetry_version_plugin/plugin.py:98 in activate 94│ io.write_line( 95│ "poetry-version-plugin: Git tag found, setting " 96│ f"dynamic...

Hello, In my current use cases, in don't have a `1.2.3` tag for the version 1.2.3, but a `v1.2.3` one. Maybe we could add a little configuration for this in...

Hi @tiangolo, many thanks for adding this plugin! I'm currently working on replacing pipenv with poetry and this seems to be the last missing piece. When testing your plugin I...

Hi. Thanks for poetry-version-plugin, I've found it really easy to use. Now I can do: ``` $ mycliapp --version mycliapp 1.2.3dev4 ``` Sometimes I forget to add a tag, and...

Hi, this is the first plugin I tried to install into poetry and I noticed there is a different approach when poetry is installed with `pipx`. https://python-poetry.org/docs/master/plugins/#with-pipx-inject

Refactoring `if-if` statements Assignment Expressions via `:=`

**Thx for the plugin!** Some of the `if-if` statements can be summarized via `if + and` Maybe that's something to consider https://github.com/tiangolo/poetry-version-plugin/blob/89f9aaf02cbdc6a2a5972c07b167e78314ad153b/poetry_version_plugin/plugin.py#L57-L77

I had problems using this plugin with more sophisticated project structure, where the package is defined in `src`. This change supports `from` param and in turn enables more complex project...

If the project is organized like ``` root |- src | |- my_package |- pyproject.toml ``` and `pyproject.toml` is like ``` [tool.poetry] ... packages = [ { include = "my_package"...