Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unidecode vs text_unidecode import resolution order #126

Merged
merged 1 commit into from
Jan 27, 2023

Conversation

enkidulan
Copy link
Contributor

@enkidulan enkidulan commented Jan 27, 2023

The way the code is now unidecode library is just getting ignored.
text_unidecode is install_requires and is always present in the python environment, so it makes sense to try importing the optional dependency unidecode first and only then fallback to text_unidecode.

AS is `text_unidecode` is install_requires it is always present in the python environment, 
it makes sense to try import optinal dependency `unidecode` first, and only then fallback 
to `text_unidecode`.
@un33k un33k merged commit 22d7e84 into un33k:master Jan 27, 2023
@un33k
Copy link
Owner

un33k commented Jan 27, 2023

Excellent. Thank you.

@un33k
Copy link
Owner

un33k commented Jan 28, 2023

Version 8.0.0 is pushed. Thx

@enkidulan
Copy link
Contributor Author

Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants