anexia-it / django-rest-passwordreset

An extension of django rest framework, providing a configurable password reset strategy
BSD 3-Clause "New" or "Revised" License
419 stars 148 forks source link

Poetry reads version as 0.0.0 #161

Closed wieczorek1990 closed 2 years ago

wieczorek1990 commented 2 years ago

Version should be static string or read from file VERSION.

https://github.com/anexia-it/django-rest-passwordreset/blob/ceeb951d9047b56419a2ac89dae0600f8e999bd7/setup.py#L13

nezhar commented 2 years ago

We had this in the past and we moved away from it so we can automate the releases and keep them in sync with the tags. The PACKAGE_VERSION variable is defined in the workflow.

I asume you have this issue when installing the package via GitHub. I would sugest to fork the repository and set the default version in your fork as a workaround.