*I'm submitting a ... *
Do you want to request a feature or report a bug?
I don't know if this one is feature or bug.
_cookiecutter-django_ is using awesome-slugify as dependency for new Django project, which requires to have very old _Unidecode_ (<0.05) while current one is 1.0.22.
Please drop use of _awesome-slugify_.
Replace _awesome-slugify_ with something more up-to-date will help Django project generated by _cookiecutter-django_ up-to-date with new libraries.
Thanks for the report. Looking at the release history for Unidecode, a requirement of <0.05 is not _that old_, it will install a release from Jun 2017. Is it causing any specific problems on your end?
I can see there is an issue open in awesome-slugify for lifting this restriction... Rather than dropping this dependency in cookiecutter-django, maybe it would be better to fix it upstream, in awesome-slugify? Have you tried submitting a pull request to the project?
Even if we drop this dependency, we would need to find a candidate for replacement. Do you have any to suggest?
@hongquan any news on this one regarding @browniebroke's suggestion?
@browniebroke, @webyneter
The alternative can be python-slugify.
Have you tried submitting a pull request to the project?
I haven't. I may do I if I can arrange my time.
I think that awesome-slugify's author doesn't give much attention to it. The development has been stopped for 1.5 year.
Good find. It's true that awesome-slugify's development seems a bit stalled.
The slugify API doesn't seem used directly in the project but is a good utility to have, as pointed out in #761. The main API for both libraries is the same:
from slugify import slugify
slugify('Any text') # 'Any-text'
Therefore, I don't have any objections to this replacement. Feel free to send a pull request @hongquan.
@browniebroke me neither.
You've overlooked one crucial difference.
awesome-slugify support German umlaute like 盲, 眉, 枚 and transform them to ae, ue, oe.
python-slugify only change it to a, u, o which is not well readably for user.
Most helpful comment
Thanks for the report. Looking at the release history for Unidecode, a requirement of <0.05 is not _that old_, it will install a release from Jun 2017. Is it causing any specific problems on your end?
I can see there is an issue open in
awesome-slugifyfor lifting this restriction... Rather than dropping this dependency incookiecutter-django, maybe it would be better to fix it upstream, inawesome-slugify? Have you tried submitting a pull request to the project?Even if we drop this dependency, we would need to find a candidate for replacement. Do you have any to suggest?